Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-7445 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-london-project-csit-api [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-vpvxGVl8XOo1/agent.2088 SSH_AGENT_PID=2090 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_2490870762332344709.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_2490870762332344709.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-london-project-csit-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/london^{commit} # timeout=10 Checking out Revision e830ea142a4b760cf152d9db92c451d74b2da1f2 (refs/remotes/origin/london) > git config core.sparsecheckout # timeout=10 > git checkout -f e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=30 Commit message: "Make update to allow local image to be used in Nordix" > git rev-list --no-walk e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4416350714675075878.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-djY7 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-djY7/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-djY7/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.7 botocore==1.34.7 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.4 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.15.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins8356178812920715556.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins13723710403009209451.sh + /w/workspace/policy-api-london-project-csit-api/csit/run-project-csit.sh api + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/policy-api-london-project-csit-api ']' + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-london-project-csit-api + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.kEWBOJd8LY ++ echo ROBOT_VENV=/tmp/tmp.kEWBOJd8LY +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.kEWBOJd8LY ++ source /tmp/tmp.kEWBOJd8LY/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.kEWBOJd8LY +++ export VIRTUAL_ENV +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.kEWBOJd8LY/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.kEWBOJd8LY) ' '!=' x ']' +++ PS1='(tmp.kEWBOJd8LY) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.1 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.4 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.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.kEWBOJd8LY/src/onap ++ rm -rf /tmp/tmp.kEWBOJd8LY/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.1 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.4 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.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.kEWBOJd8LY/bin/activate + '[' -z /tmp/tmp.kEWBOJd8LY/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.kEWBOJd8LY/bin/activate ++ deactivate nondestructive ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ']' ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ export PATH ++ unset _OLD_VIRTUAL_PATH ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/tmp.kEWBOJd8LY ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.kEWBOJd8LY/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.kEWBOJd8LY) ' ++ '[' 'x(tmp.kEWBOJd8LY) ' '!=' x ']' ++ PS1='(tmp.kEWBOJd8LY) (tmp.kEWBOJd8LY) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.NdVq5hShPA + cd /tmp/tmp.NdVq5hShPA + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-london-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds prometheus Up 14 seconds mariadb Up 11 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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:35:49 up 3 min, 0 users, load average: 3.18, 1.11, 0.42 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.3 us, 2.1 sy, 0.0 ni, 83.1 id, 3.3 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 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 6a7586bbc41c policy-api 0.10% 1011MiB / 31.41GiB 3.14% 1.04MB / 739kB 0B / 0B 50 95fe7875820a grafana 0.03% 51.63MiB / 31.41GiB 0.16% 18.9kB / 3.23kB 0B / 23.7MB 17 24ef9b8e3af1 prometheus 0.05% 18.43MiB / 31.41GiB 0.06% 1.52kB / 158B 4.1kB / 0B 13 db73eb1b2c9e mariadb 0.02% 100.4MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.1MB / 67.5MB 27 + echo + cd /tmp/tmp.NdVq5hShPA + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.NdVq5hShPA/output.xml Log: /tmp/tmp.NdVq5hShPA/log.html Report: /tmp/tmp.NdVq5hShPA/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:00 up 4 min, 0 users, load average: 1.13, 0.94, 0.41 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.4 us, 1.7 sy, 0.0 ni, 86.3 id, 2.5 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute 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 6a7586bbc41c policy-api 0.11% 1.033GiB / 31.41GiB 3.29% 7.32MB / 2.87MB 0B / 0B 52 95fe7875820a grafana 0.04% 51.9MiB / 31.41GiB 0.16% 20kB / 4.47kB 0B / 23.7MB 17 24ef9b8e3af1 prometheus 0.00% 24.39MiB / 31.41GiB 0.08% 38kB / 7.02kB 4.1kB / 0B 13 db73eb1b2c9e mariadb 0.02% 101.2MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11.1MB / 67.7MB 18 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb grafana | logger=settings t=2023-12-24T11:35:21.372677576Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2023-12-24T11:35:21.372962259Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-24T11:35:21.372977059Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-24T11:35:21.37298293Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-24T11:35:21.37298678Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-24T11:35:21.37301298Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-24T11:35:21.37302097Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-24T11:35:21.37302429Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-24T11:35:21.3730275Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-24T11:35:21.3730306Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-24T11:35:21.3730334Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-24T11:35:21.37303642Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-24T11:35:21.37303949Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-24T11:35:21.37304535Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-24T11:35:21.3730491Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-24T11:35:21.37305256Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-24T11:35:21.37305658Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-24T11:35:21.373064271Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-24T11:35:21.373067871Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-24T11:35:21.373441275Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-24T11:35:21.373461636Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-24T11:35:21.374024723Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-24T11:35:21.375109417Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-24T11:35:21.375947048Z level=info msg="Migration successfully executed" id="create migration_log table" duration=835.901µs grafana | logger=migrator t=2023-12-24T11:35:21.380440786Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-24T11:35:21.381008233Z level=info msg="Migration successfully executed" id="create user table" duration=566.978µs grafana | logger=migrator t=2023-12-24T11:35:21.384549468Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-24T11:35:21.385365849Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=816.381µs grafana | logger=migrator t=2023-12-24T11:35:21.390999361Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-24T11:35:21.392090275Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.090794ms grafana | logger=migrator t=2023-12-24T11:35:21.395280787Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-24T11:35:21.396247889Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=967.112µs grafana | logger=migrator t=2023-12-24T11:35:21.399821735Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-24T11:35:21.400409813Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=587.698µs grafana | logger=migrator t=2023-12-24T11:35:21.405604199Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-24T11:35:21.409402408Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.795939ms grafana | logger=migrator t=2023-12-24T11:35:21.412828242Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-24T11:35:21.413847736Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.019104ms grafana | logger=migrator t=2023-12-24T11:35:21.41731302Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-24T11:35:21.417980389Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=667.049µs grafana | logger=migrator t=2023-12-24T11:35:21.423136285Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-24T11:35:21.424136548Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=998.433µs grafana | logger=migrator t=2023-12-24T11:35:21.427774615Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-24T11:35:21.428338122Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=563.077µs grafana | logger=migrator t=2023-12-24T11:35:21.431808587Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-24T11:35:21.432423635Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=615.908µs grafana | logger=migrator t=2023-12-24T11:35:21.435887289Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-24T11:35:21.436902062Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.014603ms grafana | logger=migrator t=2023-12-24T11:35:21.442235501Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-24T11:35:21.442272882Z level=info msg="Migration successfully executed" id="Update user table charset" duration=41.901µs grafana | logger=migrator t=2023-12-24T11:35:21.445487243Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-24T11:35:21.447138734Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.650611ms grafana | logger=migrator t=2023-12-24T11:35:21.450311605Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-24T11:35:21.450505338Z level=info msg="Migration successfully executed" id="Add missing user data" duration=193.943µs grafana | logger=migrator t=2023-12-24T11:35:21.453900081Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-24T11:35:21.454927254Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.025793ms grafana | logger=migrator t=2023-12-24T11:35:21.460276013Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-24T11:35:21.461346237Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.069574ms grafana | logger=migrator t=2023-12-24T11:35:21.464567059Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-24T11:35:21.466277551Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.709862ms grafana | logger=migrator t=2023-12-24T11:35:21.469777106Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-24T11:35:21.479315858Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.537292ms grafana | logger=migrator t=2023-12-24T11:35:21.485008402Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-24T11:35:21.485695781Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=687.159µs grafana | logger=migrator t=2023-12-24T11:35:21.488680829Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-24T11:35:21.48954986Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=868.461µs grafana | logger=migrator t=2023-12-24T11:35:21.492420537Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-24T11:35:21.493146957Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=725.92µs grafana | logger=migrator t=2023-12-24T11:35:21.498550096Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-24T11:35:21.499275875Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=723.759µs grafana | logger=migrator t=2023-12-24T11:35:21.502206043Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-24T11:35:21.503332668Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.126155ms grafana | logger=migrator t=2023-12-24T11:35:21.506552579Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-24T11:35:21.50659027Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=38.371µs grafana | logger=migrator t=2023-12-24T11:35:21.50976345Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-24T11:35:21.510383838Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=620.268µs grafana | logger=migrator t=2023-12-24T11:35:21.514739294Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-24T11:35:21.515383172Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=643.218µs grafana | logger=migrator t=2023-12-24T11:35:21.518236839Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-24T11:35:21.519245612Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.007873ms grafana | logger=migrator t=2023-12-24T11:35:21.524473619Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-24T11:35:21.525504342Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.032223ms grafana | logger=migrator t=2023-12-24T11:35:21.528845675Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-24T11:35:21.534101293Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.256108ms grafana | logger=migrator t=2023-12-24T11:35:21.536937099Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-24T11:35:21.537647298Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=710.029µs grafana | logger=migrator t=2023-12-24T11:35:21.540470274Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-24T11:35:21.541206744Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=736.29µs grafana | logger=migrator t=2023-12-24T11:35:21.549918896Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-24T11:35:21.551131561Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.212775ms grafana | logger=migrator t=2023-12-24T11:35:21.554377463Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-24T11:35:21.555569448Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.183585ms grafana | logger=migrator t=2023-12-24T11:35:21.558549807Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-24T11:35:21.559251346Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=701.559µs grafana | logger=migrator t=2023-12-24T11:35:21.564020667Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-24T11:35:21.564398112Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=376.945µs grafana | logger=migrator t=2023-12-24T11:35:21.566654011Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-24T11:35:21.567473101Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=818.85µs grafana | logger=migrator t=2023-12-24T11:35:21.570779134Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-24T11:35:21.571377161Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=598.087µs grafana | logger=migrator t=2023-12-24T11:35:21.576472377Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-24T11:35:21.577075454Z level=info msg="Migration successfully executed" id="create star table" duration=602.877µs grafana | logger=migrator t=2023-12-24T11:35:21.579165981Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-24T11:35:21.5798723Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=705.689µs grafana | logger=migrator t=2023-12-24T11:35:21.582740087Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-24T11:35:21.583377945Z level=info msg="Migration successfully executed" id="create org table v1" duration=637.638µs grafana | logger=migrator t=2023-12-24T11:35:21.58760665Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-12-24T11:35:21.588279148Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=672.148µs grafana | logger=migrator t=2023-12-24T11:35:21.593216092Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-24T11:35:21.594199314Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=983.072µs grafana | logger=migrator t=2023-12-24T11:35:21.597489677Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-24T11:35:21.598651062Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.160854ms grafana | logger=migrator t=2023-12-24T11:35:21.602158747Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-24T11:35:21.602899196Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=740.339µs grafana | logger=migrator t=2023-12-24T11:35:21.605779993Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-24T11:35:21.606472022Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=691.889µs grafana | logger=migrator t=2023-12-24T11:35:21.611352285Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-24T11:35:21.611402285Z level=info msg="Migration successfully executed" id="Update org table charset" duration=51.35µs grafana | logger=migrator t=2023-12-24T11:35:21.614701308Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-24T11:35:21.614750478Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=50.44µs grafana | logger=migrator t=2023-12-24T11:35:21.61877604Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-24T11:35:21.619198735Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=426.865µs grafana | logger=migrator t=2023-12-24T11:35:21.622577899Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-24T11:35:21.623652532Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.074213ms grafana | logger=migrator t=2023-12-24T11:35:21.628507175Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-24T11:35:21.629293455Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=785.88µs grafana | logger=migrator t=2023-12-24T11:35:21.632078921Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-24T11:35:21.632897411Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=817.95µs grafana | logger=migrator t=2023-12-24T11:35:21.635724207Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-24T11:35:21.636346495Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=622.038µs grafana | logger=migrator t=2023-12-24T11:35:21.639343944Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-24T11:35:21.640095814Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=745.99µs grafana | logger=migrator t=2023-12-24T11:35:21.644321868Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-24T11:35:21.645049647Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=727.439µs grafana | logger=migrator t=2023-12-24T11:35:21.64760592Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-24T11:35:21.654010282Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.403682ms grafana | logger=migrator t=2023-12-24T11:35:21.657316255Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-24T11:35:21.657916543Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=600.168µs grafana | logger=migrator t=2023-12-24T11:35:21.661919724Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-24T11:35:21.662616313Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=696.529µs grafana | logger=migrator t=2023-12-24T11:35:21.665710502Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-24T11:35:21.666419692Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=708.82µs grafana | logger=migrator t=2023-12-24T11:35:21.669465391Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-24T11:35:21.669778915Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=311.424µs policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-12-24T11:35:35.849+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 30 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-12-24T11:35:35.852+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-12-24T11:35:37.157+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-12-24T11:35:37.249+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 6 JPA repository interfaces. policy-api | [2023-12-24T11:35:38.294+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-12-24T11:35:38.308+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-24T11:35:38.309+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-12-24T11:35:38.309+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-12-24T11:35:38.399+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-12-24T11:35:38.400+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2492 ms policy-api | [2023-12-24T11:35:38.916+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-12-24T11:35:38.988+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-12-24T11:35:39.214+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-12-24T11:35:39.336+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-12-24T11:35:39.441+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-12-24T11:35:39.477+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-12-24T11:35:40.890+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-12-24T11:35:40.906+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-12-24T11:35:41.970+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-12-24T11:35:42.659+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-12-24T11:35:43.652+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@416dd4d8, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2dca3c72, org.springframework.security.web.context.SecurityContextPersistenceFilter@42d039ef, org.springframework.security.web.header.HeaderWriterFilter@4de5d46c, org.springframework.security.web.authentication.logout.LogoutFilter@780ccdc9, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@586f1bef, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@190a5f74, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@b09df69, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5fc4af25, org.springframework.security.web.session.SessionManagementFilter@7b900883, org.springframework.security.web.access.ExceptionTranslationFilter@5e147821, org.springframework.security.web.access.intercept.AuthorizationFilter@10ac5a14] policy-api | [2023-12-24T11:35:43.783+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-12-24T11:35:46.732+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-12-24T11:35:46.758+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-24T11:35:46.785+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-12-24T11:35:46.803+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.805 seconds (JVM running for 12.423) policy-api | [2023-12-24T11:35:52.798+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-12-24T11:35:52.799+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-12-24T11:35:52.800+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2023-12-24T11:35:55.169+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-12-24T11:35:55.289+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-12-24T11:35:55.570+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-12-24T11:35:56.613+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-12-24T11:35:58.466+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-12-24T11:35:58.850+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-12-24T11:35:59.076+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-12-24T11:35:59.308+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-12-24T11:35:59.503+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-12-24T11:35:59.706+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-12-24T11:35:21.673591774Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-24T11:35:21.674335463Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=739.449µs grafana | logger=migrator t=2023-12-24T11:35:21.677531374Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-24T11:35:21.677594745Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=63.721µs grafana | logger=migrator t=2023-12-24T11:35:21.680858167Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-24T11:35:21.683585062Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.726465ms grafana | logger=migrator t=2023-12-24T11:35:21.688918141Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-24T11:35:21.690716103Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.797252ms grafana | logger=migrator t=2023-12-24T11:35:21.694023316Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-24T11:35:21.695829289Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.805493ms grafana | logger=migrator t=2023-12-24T11:35:21.699274604Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-24T11:35:21.700102824Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=822.09µs grafana | logger=migrator t=2023-12-24T11:35:21.704174046Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-24T11:35:21.706501786Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.32552ms grafana | logger=migrator t=2023-12-24T11:35:21.710511788Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-12-24T11:35:21.711870555Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.358477ms grafana | logger=migrator t=2023-12-24T11:35:21.71537728Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-12-24T11:35:21.716205701Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=828.091µs grafana | logger=migrator t=2023-12-24T11:35:21.720624718Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-24T11:35:21.720705169Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=81.241µs grafana | logger=migrator t=2023-12-24T11:35:21.723608496Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-24T11:35:21.723753858Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=144.492µs grafana | logger=migrator t=2023-12-24T11:35:21.727558447Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-24T11:35:21.730555455Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.996248ms grafana | logger=migrator t=2023-12-24T11:35:21.736435181Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-24T11:35:21.738336245Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.900144ms grafana | logger=migrator t=2023-12-24T11:35:21.7418352Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-24T11:35:21.74491856Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.08259ms grafana | logger=migrator t=2023-12-24T11:35:21.748785389Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-24T11:35:21.750906046Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.121287ms grafana | logger=migrator t=2023-12-24T11:35:21.755498086Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-24T11:35:21.755753649Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=332.794µs grafana | logger=migrator t=2023-12-24T11:35:21.759152992Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-24T11:35:21.759960713Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=807.361µs grafana | logger=migrator t=2023-12-24T11:35:21.763292045Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-24T11:35:21.764058725Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=766.64µs grafana | logger=migrator t=2023-12-24T11:35:21.768650854Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-24T11:35:21.768720955Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=70.531µs grafana | logger=migrator t=2023-12-24T11:35:21.771329558Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-24T11:35:21.772144569Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=815.131µs grafana | logger=migrator t=2023-12-24T11:35:21.77532536Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-24T11:35:21.776391834Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.065524ms grafana | logger=migrator t=2023-12-24T11:35:21.779941849Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-24T11:35:21.788855534Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.912675ms grafana | logger=migrator t=2023-12-24T11:35:21.792984867Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-24T11:35:21.793682916Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=697.829µs grafana | logger=migrator t=2023-12-24T11:35:21.796948878Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-24T11:35:21.797746368Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=797.93µs grafana | logger=migrator t=2023-12-24T11:35:21.801322654Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-24T11:35:21.802174625Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=851.451µs grafana | logger=migrator t=2023-12-24T11:35:21.806337538Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-24T11:35:21.806694653Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=356.475µs grafana | logger=migrator t=2023-12-24T11:35:21.809855574Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-24T11:35:21.810444241Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=587.908µs grafana | logger=migrator t=2023-12-24T11:35:21.813823404Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-24T11:35:21.817116407Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.292362ms grafana | logger=migrator t=2023-12-24T11:35:21.82201334Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-24T11:35:21.822866431Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=852.861µs grafana | logger=migrator t=2023-12-24T11:35:21.826017171Z level=info msg="Executing migration" id="delete tags for deleted dashboards" mariadb | 2023-12-24 11:35:22+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-24 11:35:22+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-24 11:35:22+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-24 11:35:22+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-24 11:35:22 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-24 11:35:22 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-24 11:35:22 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-12-24 11:35:24+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-24 11:35:24+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-24 11:35:24+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-12-24 11:35:24 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... mariadb | 2023-12-24 11:35:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-24 11:35:24 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-24 11:35:24 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-24 11:35:24 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-24 11:35:24 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-24 11:35:24 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-24 11:35:24 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-24 11:35:24 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-24 11:35:24 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-24 11:35:24 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-24 11:35:24 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-24 11:35:24 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-24 11:35:24 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-12-24 11:35:24 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-24 11:35:24 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-24 11:35:24 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-24 11:35:24 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-24 11:35:24 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-12-24 11:35:25+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-24 11:35:26+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-24 11:35:26+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-12-24 11:35:26+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-12-24 11:35:26+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" grafana | logger=migrator t=2023-12-24T11:35:21.826267994Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=245.313µs grafana | logger=migrator t=2023-12-24T11:35:21.829656477Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-24T11:35:21.830028142Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=379.215µs grafana | logger=migrator t=2023-12-24T11:35:21.834561421Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-24T11:35:21.836146441Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.58403ms grafana | logger=migrator t=2023-12-24T11:35:21.839570295Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-24T11:35:21.841720352Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.149977ms grafana | logger=migrator t=2023-12-24T11:35:21.844773952Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-12-24T11:35:21.845590572Z level=info msg="Migration successfully executed" id="create data_source table" duration=816.32µs 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-12-24T11:35:21.849381791Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-24T11:35:21.8500995Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=717.369µs grafana | logger=migrator t=2023-12-24T11:35:21.85323284Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-24T11:35:21.85400603Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=772.84µs grafana | logger=migrator t=2023-12-24T11:35:21.856998089Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-24T11:35:21.857699848Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=704.8µs grafana | logger=migrator t=2023-12-24T11:35:21.861649508Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-24T11:35:21.862342027Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=693.289µs grafana | logger=migrator t=2023-12-24T11:35:21.865242885Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-24T11:35:21.872968644Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.720389ms grafana | logger=migrator t=2023-12-24T11:35:21.875948732Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-24T11:35:21.876737712Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=788.8µs grafana | logger=migrator t=2023-12-24T11:35:21.880531131Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-24T11:35:21.881343731Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=812.39µs grafana | logger=migrator t=2023-12-24T11:35:21.88436047Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-24T11:35:21.88513939Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=778.53µs grafana | logger=migrator t=2023-12-24T11:35:21.889124211Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-24T11:35:21.889627378Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=504.127µs grafana | logger=migrator t=2023-12-24T11:35:21.892553945Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-24T11:35:21.894769344Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.215129ms grafana | logger=migrator t=2023-12-24T11:35:21.897769352Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-24T11:35:21.89997601Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.206068ms grafana | logger=migrator t=2023-12-24T11:35:21.904117724Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-24T11:35:21.904142604Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=25.83µs grafana | logger=migrator t=2023-12-24T11:35:21.907229314Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-24T11:35:21.907405936Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=175.192µs grafana | logger=migrator t=2023-12-24T11:35:21.910525176Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-24T11:35:21.912740684Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.215248ms grafana | logger=migrator t=2023-12-24T11:35:21.915698122Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-24T11:35:21.915868115Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=166.492µs grafana | logger=migrator t=2023-12-24T11:35:21.919537702Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-24T11:35:21.919689734Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=152.012µs grafana | logger=migrator t=2023-12-24T11:35:21.922695262Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-24T11:35:21.924955961Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.255929ms grafana | logger=migrator t=2023-12-24T11:35:21.928381075Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-24T11:35:21.928548757Z level=info msg="Migration successfully executed" id="Update uid value" duration=167.772µs grafana | logger=migrator t=2023-12-24T11:35:21.930899428Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-24T11:35:21.931680448Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=780.75µs grafana | logger=migrator t=2023-12-24T11:35:21.935576668Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-24T11:35:21.936816434Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.239275ms grafana | logger=migrator t=2023-12-24T11:35:21.940039055Z level=info msg="Executing migration" id="create api_key table" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-12-24 11:35:27+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-12-24 11:35:27 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-12-24 11:35:27 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-12-24 11:35:27 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-12-24 11:35:27 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-24 11:35:27 0 [Note] InnoDB: Buffer pool(s) dump completed at 231224 11:35:27 mariadb | 2023-12-24 11:35:27 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-12-24 11:35:27 0 [Note] InnoDB: Shutdown completed; log sequence number 330657; transaction id 298 mariadb | 2023-12-24 11:35:27 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-12-24 11:35:27+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-12-24 11:35:27+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-12-24 11:35:27 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-12-24 11:35:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-24 11:35:28 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-24 11:35:28 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-24 11:35:28 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-24 11:35:28 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-24 11:35:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-24 11:35:28 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-24 11:35:28 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-24 11:35:28 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-24 11:35:28 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-24 11:35:28 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-24 11:35:28 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-24 11:35:28 0 [Note] InnoDB: log sequence number 330657; transaction id 299 mariadb | 2023-12-24 11:35:28 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-24 11:35:28 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-24 11:35:28 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-24 11:35:28 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-12-24 11:35:28 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-12-24 11:35:28 0 [Note] Server socket created on IP: '::'. mariadb | 2023-12-24 11:35:28 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2023-12-24 11:35:28 0 [Note] InnoDB: Buffer pool(s) load completed at 231224 11:35:28 mariadb | 2023-12-24 11:35:28 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2023-12-24 11:35:28 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2023-12-24T11:35:21.941124899Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.085294ms grafana | logger=migrator t=2023-12-24T11:35:21.944236289Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-24T11:35:21.944982638Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=751.229µs grafana | logger=migrator t=2023-12-24T11:35:21.948799917Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-24T11:35:21.949555377Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=755.18µs grafana | logger=migrator t=2023-12-24T11:35:21.952502655Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-24T11:35:21.953327015Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=823.76µs grafana | logger=migrator t=2023-12-24T11:35:21.957796613Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-24T11:35:21.958498582Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=701.999µs grafana | logger=migrator t=2023-12-24T11:35:21.962498083Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-24T11:35:21.963239023Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=740.73µs grafana | logger=migrator t=2023-12-24T11:35:21.966226221Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-12-24T11:35:21.966997391Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=770.99µs grafana | logger=migrator t=2023-12-24T11:35:21.971739662Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-24T11:35:21.980054439Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.314256ms grafana | logger=migrator t=2023-12-24T11:35:21.983059007Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-24T11:35:21.983684175Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=625.308µs grafana | logger=migrator t=2023-12-24T11:35:21.986541702Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-24T11:35:21.987285062Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=744.31µs grafana | logger=migrator t=2023-12-24T11:35:21.990783477Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-24T11:35:21.991537646Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=753.749µs grafana | logger=migrator t=2023-12-24T11:35:21.994305422Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-24T11:35:21.995098462Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=792.74µs grafana | logger=migrator t=2023-12-24T11:35:21.997988529Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-12-24T11:35:21.998324743Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=336.244µs grafana | logger=migrator t=2023-12-24T11:35:22.002077642Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-24T11:35:22.002898802Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=795.86µs grafana | logger=migrator t=2023-12-24T11:35:22.006198736Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-24T11:35:22.006243776Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=46.95µs grafana | logger=migrator t=2023-12-24T11:35:22.009885074Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-24T11:35:22.013861646Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.975672ms grafana | logger=migrator t=2023-12-24T11:35:22.018337224Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-24T11:35:22.020812336Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.474882ms grafana | logger=migrator t=2023-12-24T11:35:22.023940917Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-24T11:35:22.024100719Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=156.703µs grafana | logger=migrator t=2023-12-24T11:35:22.027422602Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-24T11:35:22.029873814Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.448152ms grafana | logger=migrator t=2023-12-24T11:35:22.03416915Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-24T11:35:22.038739339Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=4.570219ms grafana | logger=migrator t=2023-12-24T11:35:22.04183773Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-24T11:35:22.042488758Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=652.568µs grafana | logger=migrator t=2023-12-24T11:35:22.045484147Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-24T11:35:22.046024214Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=540.027µs grafana | logger=migrator t=2023-12-24T11:35:22.050951549Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-24T11:35:22.052207365Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.255686ms grafana | logger=migrator t=2023-12-24T11:35:22.055703181Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-24T11:35:22.056994727Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.291016ms grafana | logger=migrator t=2023-12-24T11:35:22.06026803Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-24T11:35:22.06103847Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=776.32µs grafana | logger=migrator t=2023-12-24T11:35:22.066555062Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-24T11:35:22.067520605Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=964.193µs grafana | logger=migrator t=2023-12-24T11:35:22.070688996Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-24T11:35:22.070783288Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=94.952µs grafana | logger=migrator t=2023-12-24T11:35:22.074961912Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-24T11:35:22.075004592Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=44.11µs grafana | logger=migrator t=2023-12-24T11:35:22.079966777Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-24T11:35:22.082771274Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.803887ms grafana | logger=migrator t=2023-12-24T11:35:22.086510822Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-24T11:35:22.089281619Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.770347ms grafana | logger=migrator t=2023-12-24T11:35:22.092119996Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-24T11:35:22.092190567Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=67.621µs grafana | logger=migrator t=2023-12-24T11:35:22.095265997Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-24T11:35:22.095942956Z level=info msg="Migration successfully executed" id="create quota table v1" duration=676.479µs grafana | logger=migrator t=2023-12-24T11:35:22.101264315Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" prometheus | ts=2023-12-24T11:35:20.422Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-12-24T11:35:20.422Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" prometheus | ts=2023-12-24T11:35:20.422Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-12-24T11:35:20.422Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-12-24T11:35:20.422Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-12-24T11:35:20.423Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-12-24T11:35:20.428Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-12-24T11:35:20.428Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-12-24T11:35:20.430Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-12-24T11:35:20.430Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-12-24T11:35:20.435Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-12-24T11:35:20.435Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.96µs prometheus | ts=2023-12-24T11:35:20.435Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-12-24T11:35:20.435Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-12-24T11:35:20.435Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=45.291µs wal_replay_duration=484.1µs wbl_replay_duration=380ns total_replay_duration=573.642µs prometheus | ts=2023-12-24T11:35:20.441Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-12-24T11:35:20.441Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-12-24T11:35:20.442Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-12-24T11:35:20.443Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.45172ms db_storage=2.8µs remote_storage=2.95µs web_handler=880ns query_engine=1.7µs scrape=420.598µs scrape_sd=184.704µs notify=47.341µs notify_sd=19.96µs rules=3.26µs tracing=6.501µs prometheus | ts=2023-12-24T11:35:20.443Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-12-24T11:35:20.443Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-12-24T11:35:22.102483281Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.219056ms grafana | logger=migrator t=2023-12-24T11:35:22.105615412Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-24T11:35:22.105660152Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=43.74µs grafana | logger=migrator t=2023-12-24T11:35:22.109062067Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-24T11:35:22.109829437Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=768.3µs grafana | logger=migrator t=2023-12-24T11:35:22.114914443Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-24T11:35:22.115808535Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=893.922µs grafana | logger=migrator t=2023-12-24T11:35:22.119319311Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-24T11:35:22.1239041Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.585119ms grafana | logger=migrator t=2023-12-24T11:35:22.127019091Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-24T11:35:22.127047622Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=37.41µs grafana | logger=migrator t=2023-12-24T11:35:22.129759727Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-24T11:35:22.130543707Z level=info msg="Migration successfully executed" id="create session table" duration=783.54µs grafana | logger=migrator t=2023-12-24T11:35:22.134917404Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-24T11:35:22.135000105Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=83.361µs grafana | logger=migrator t=2023-12-24T11:35:22.138518771Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-24T11:35:22.138635593Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=124.741µs grafana | logger=migrator t=2023-12-24T11:35:22.1423208Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-24T11:35:22.143310583Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=980.043µs grafana | logger=migrator t=2023-12-24T11:35:22.147433967Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-24T11:35:22.148089546Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=655.259µs grafana | logger=migrator t=2023-12-24T11:35:22.151192116Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-24T11:35:22.151221837Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=30.711µs grafana | logger=migrator t=2023-12-24T11:35:22.154755223Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-24T11:35:22.154789013Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=42.48µs grafana | logger=migrator t=2023-12-24T11:35:22.159283372Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-24T11:35:22.164058684Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.750892ms grafana | logger=migrator t=2023-12-24T11:35:22.167508079Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-24T11:35:22.172111119Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.60225ms grafana | logger=migrator t=2023-12-24T11:35:22.175605915Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-24T11:35:22.175687916Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=82.591µs grafana | logger=migrator t=2023-12-24T11:35:22.178691595Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-24T11:35:22.178767336Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=76.211µs grafana | logger=migrator t=2023-12-24T11:35:22.183056232Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-24T11:35:22.184129016Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.072294ms grafana | logger=migrator t=2023-12-24T11:35:22.189158341Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-24T11:35:22.189197242Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=40.561µs grafana | logger=migrator t=2023-12-24T11:35:22.192559646Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-24T11:35:22.197391569Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.831813ms grafana | logger=migrator t=2023-12-24T11:35:22.201676605Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-24T11:35:22.201830607Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=154.192µs grafana | logger=migrator t=2023-12-24T11:35:22.20515135Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-24T11:35:22.208342032Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.190432ms grafana | logger=migrator t=2023-12-24T11:35:22.211626245Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-12-24T11:35:22.214787766Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.161111ms grafana | logger=migrator t=2023-12-24T11:35:22.217966277Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-24T11:35:22.218030898Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=65.271µs grafana | logger=migrator t=2023-12-24T11:35:22.222475836Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-24T11:35:22.223388728Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=914.022µs grafana | logger=migrator t=2023-12-24T11:35:22.27872353Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-24T11:35:22.280198519Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.468889ms grafana | logger=migrator t=2023-12-24T11:35:22.285396237Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-12-24T11:35:22.28793968Z level=info msg="Migration successfully executed" id="create alert table v1" duration=2.546293ms grafana | logger=migrator t=2023-12-24T11:35:22.293025596Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-12-24T11:35:22.294403924Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.378328ms grafana | logger=migrator t=2023-12-24T11:35:22.297704697Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-24T11:35:22.298505458Z level=info msg="Migration successfully executed" id="add index alert state" duration=795.481µs grafana | logger=migrator t=2023-12-24T11:35:22.303845787Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-24T11:35:22.305004863Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.159356ms grafana | logger=migrator t=2023-12-24T11:35:22.308228895Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-24T11:35:22.308835573Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=601.478µs grafana | logger=migrator t=2023-12-24T11:35:22.311988394Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-24T11:35:22.312842155Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=853.641µs grafana | logger=migrator t=2023-12-24T11:35:22.316952219Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-24T11:35:22.31779679Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=843.321µs grafana | logger=migrator t=2023-12-24T11:35:22.3209344Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-24T11:35:22.340949132Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=20.007701ms grafana | logger=migrator t=2023-12-24T11:35:22.34545778Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-24T11:35:22.345940677Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=483.397µs grafana | logger=migrator t=2023-12-24T11:35:22.348817794Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-12-24T11:35:22.349466492Z 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=648.888µs grafana | logger=migrator t=2023-12-24T11:35:22.352836327Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-24T11:35:22.353250232Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=416.916µs grafana | logger=migrator t=2023-12-24T11:35:22.357774371Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-24T11:35:22.358551001Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=784µs grafana | logger=migrator t=2023-12-24T11:35:22.362064227Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-24T11:35:22.362766476Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=702.129µs grafana | logger=migrator t=2023-12-24T11:35:22.366196951Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-24T11:35:22.36992465Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.727129ms grafana | logger=migrator t=2023-12-24T11:35:22.374100544Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-24T11:35:22.377809152Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.708488ms grafana | logger=migrator t=2023-12-24T11:35:22.381107475Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-24T11:35:22.384710372Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.602597ms grafana | logger=migrator t=2023-12-24T11:35:22.388226238Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-24T11:35:22.391884416Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.657848ms grafana | logger=migrator t=2023-12-24T11:35:22.396133001Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-24T11:35:22.397055013Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=922.212µs grafana | logger=migrator t=2023-12-24T11:35:22.400249265Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-24T11:35:22.400277295Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=29.24µs grafana | logger=migrator t=2023-12-24T11:35:22.40294599Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-24T11:35:22.402971411Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=26.421µs grafana | logger=migrator t=2023-12-24T11:35:22.406447206Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-24T11:35:22.407490179Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.042693ms grafana | logger=migrator t=2023-12-24T11:35:22.412001848Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-24T11:35:22.413341116Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.331728ms grafana | logger=migrator t=2023-12-24T11:35:22.41675217Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-24T11:35:22.417840185Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.085315ms grafana | logger=migrator t=2023-12-24T11:35:22.42136127Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-12-24T11:35:22.42205825Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=696.75µs grafana | logger=migrator t=2023-12-24T11:35:22.426388956Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-24T11:35:22.427347798Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=958.702µs grafana | logger=migrator t=2023-12-24T11:35:22.430931635Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-24T11:35:22.437163357Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.232172ms grafana | logger=migrator t=2023-12-24T11:35:22.440529171Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-12-24T11:35:22.444240649Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.714299ms grafana | logger=migrator t=2023-12-24T11:35:22.449944953Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-24T11:35:22.450216087Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=271.744µs grafana | logger=migrator t=2023-12-24T11:35:22.453798123Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-24T11:35:22.454818907Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.020274ms grafana | logger=migrator t=2023-12-24T11:35:22.460862176Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-24T11:35:22.462825691Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.963055ms grafana | logger=migrator t=2023-12-24T11:35:22.470036615Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-24T11:35:22.474079708Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.048863ms grafana | logger=migrator t=2023-12-24T11:35:22.477490633Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-12-24T11:35:22.477654895Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=94.551µs grafana | logger=migrator t=2023-12-24T11:35:22.48109745Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-12-24T11:35:22.483308828Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=2.211168ms grafana | logger=migrator t=2023-12-24T11:35:22.487604525Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-12-24T11:35:22.488711579Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.106644ms grafana | logger=migrator t=2023-12-24T11:35:22.495773821Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-12-24T11:35:22.495904153Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=131.772µs grafana | logger=migrator t=2023-12-24T11:35:22.501218442Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-12-24T11:35:22.502079804Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=861.121µs grafana | logger=migrator t=2023-12-24T11:35:22.506616693Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-12-24T11:35:22.508101552Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.476729ms grafana | logger=migrator t=2023-12-24T11:35:22.511704019Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-12-24T11:35:22.513196188Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.491809ms grafana | logger=migrator t=2023-12-24T11:35:22.516324299Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-12-24T11:35:22.517306272Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=981.733µs grafana | logger=migrator t=2023-12-24T11:35:22.530784178Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-12-24T11:35:22.532634002Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.850874ms grafana | logger=migrator t=2023-12-24T11:35:22.536068047Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-12-24T11:35:22.53711309Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.050493ms grafana | logger=migrator t=2023-12-24T11:35:22.541449617Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-12-24T11:35:22.541480837Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=30.6µs grafana | logger=migrator t=2023-12-24T11:35:22.544455286Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-12-24T11:35:22.548635291Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.179755ms grafana | logger=migrator t=2023-12-24T11:35:22.552019625Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-12-24T11:35:22.552920837Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=901.522µs grafana | logger=migrator t=2023-12-24T11:35:22.558081254Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-12-24T11:35:22.565748854Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=7.66919ms grafana | logger=migrator t=2023-12-24T11:35:22.570181372Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-12-24T11:35:22.570633158Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=451.856µs grafana | logger=migrator t=2023-12-24T11:35:22.573682717Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-12-24T11:35:22.574333236Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=647.659µs grafana | logger=migrator t=2023-12-24T11:35:22.578575181Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-12-24T11:35:22.58003556Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.459759ms grafana | logger=migrator t=2023-12-24T11:35:22.584924674Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-12-24T11:35:22.605171078Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=20.242844ms grafana | logger=migrator t=2023-12-24T11:35:22.611026704Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-12-24T11:35:22.611780784Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=755.03µs grafana | logger=migrator t=2023-12-24T11:35:22.615500383Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-12-24T11:35:22.617117874Z 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.620421ms grafana | logger=migrator t=2023-12-24T11:35:22.622816748Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-12-24T11:35:22.623490677Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=677.529µs grafana | logger=migrator t=2023-12-24T11:35:22.626705969Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-12-24T11:35:22.627656052Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=950.212µs grafana | logger=migrator t=2023-12-24T11:35:22.630792652Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-12-24T11:35:22.630979215Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=192.633µs grafana | logger=migrator t=2023-12-24T11:35:22.635550005Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-12-24T11:35:22.639636188Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.087083ms grafana | logger=migrator t=2023-12-24T11:35:22.642436624Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-12-24T11:35:22.647094135Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.658091ms grafana | logger=migrator t=2023-12-24T11:35:22.65056686Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-12-24T11:35:22.652305253Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.728723ms grafana | logger=migrator t=2023-12-24T11:35:22.655654957Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-12-24T11:35:22.656613299Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=958.302µs grafana | logger=migrator t=2023-12-24T11:35:22.660606961Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-12-24T11:35:22.660910845Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=304.154µs grafana | logger=migrator t=2023-12-24T11:35:22.663615151Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-12-24T11:35:22.670174316Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.559145ms grafana | logger=migrator t=2023-12-24T11:35:22.678218971Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-12-24T11:35:22.679878023Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.663422ms grafana | logger=migrator t=2023-12-24T11:35:22.68507521Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-12-24T11:35:22.685262083Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=188.073µs grafana | logger=migrator t=2023-12-24T11:35:22.689081923Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-12-24T11:35:22.689376637Z level=info msg="Migration successfully executed" id="Move region to single row" duration=292.064µs grafana | logger=migrator t=2023-12-24T11:35:22.69425862Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-12-24T11:35:22.695232473Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=977.813µs grafana | logger=migrator t=2023-12-24T11:35:22.69810242Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-12-24T11:35:22.698950421Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=848.061µs grafana | logger=migrator t=2023-12-24T11:35:22.703865146Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-24T11:35:22.704844778Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=979.162µs grafana | logger=migrator t=2023-12-24T11:35:22.707754446Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-24T11:35:22.708688608Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=934.332µs grafana | logger=migrator t=2023-12-24T11:35:22.713893876Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-12-24T11:35:22.714789648Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=897.282µs grafana | logger=migrator t=2023-12-24T11:35:22.717600134Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-12-24T11:35:22.718482646Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=882.462µs grafana | logger=migrator t=2023-12-24T11:35:22.721268032Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-12-24T11:35:22.721338913Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=71.351µs grafana | logger=migrator t=2023-12-24T11:35:22.729607251Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-12-24T11:35:22.730781637Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.181596ms grafana | logger=migrator t=2023-12-24T11:35:22.733992948Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-12-24T11:35:22.734698308Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=705.04µs grafana | logger=migrator t=2023-12-24T11:35:22.7395004Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-12-24T11:35:22.740412392Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=912.062µs grafana | logger=migrator t=2023-12-24T11:35:22.746023825Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-12-24T11:35:22.747229161Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.209076ms grafana | logger=migrator t=2023-12-24T11:35:22.753202209Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-12-24T11:35:22.753362981Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=160.622µs grafana | logger=migrator t=2023-12-24T11:35:22.760359002Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-12-24T11:35:22.761144763Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=785.001µs grafana | logger=migrator t=2023-12-24T11:35:22.765705852Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-12-24T11:35:22.765779163Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=75.401µs grafana | logger=migrator t=2023-12-24T11:35:22.769939907Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-12-24T11:35:22.770709527Z level=info msg="Migration successfully executed" id="create team table" duration=769.86µs grafana | logger=migrator t=2023-12-24T11:35:22.773884499Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-12-24T11:35:22.774852161Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=967.662µs grafana | logger=migrator t=2023-12-24T11:35:22.777976432Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-12-24T11:35:22.778858524Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=881.602µs grafana | logger=migrator t=2023-12-24T11:35:22.782594062Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-12-24T11:35:22.787142162Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.5479ms grafana | logger=migrator t=2023-12-24T11:35:22.793295842Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-12-24T11:35:22.793684537Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=392.535µs grafana | logger=migrator t=2023-12-24T11:35:22.797174993Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-12-24T11:35:22.798275107Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.100334ms grafana | logger=migrator t=2023-12-24T11:35:22.801716992Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-12-24T11:35:22.802964888Z level=info msg="Migration successfully executed" id="create team member table" duration=1.247916ms grafana | logger=migrator t=2023-12-24T11:35:22.806404393Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-12-24T11:35:22.808282588Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.873694ms grafana | logger=migrator t=2023-12-24T11:35:22.814250416Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-12-24T11:35:22.81538958Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.141105ms grafana | logger=migrator t=2023-12-24T11:35:22.819489174Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-12-24T11:35:22.820805231Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.322027ms grafana | logger=migrator t=2023-12-24T11:35:22.82453002Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-12-24T11:35:22.829011908Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.484708ms grafana | logger=migrator t=2023-12-24T11:35:22.833529327Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-12-24T11:35:22.837041383Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.511946ms grafana | logger=migrator t=2023-12-24T11:35:22.841733954Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-12-24T11:35:22.846195972Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.460358ms grafana | logger=migrator t=2023-12-24T11:35:22.851246048Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-12-24T11:35:22.852279801Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.033403ms grafana | logger=migrator t=2023-12-24T11:35:22.860149484Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-12-24T11:35:22.861961248Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.811574ms grafana | logger=migrator t=2023-12-24T11:35:22.866058751Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-12-24T11:35:22.867632612Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.574341ms grafana | logger=migrator t=2023-12-24T11:35:22.874360229Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-12-24T11:35:22.875327212Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=967.163µs grafana | logger=migrator t=2023-12-24T11:35:22.880466129Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-12-24T11:35:22.881871487Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.405018ms grafana | logger=migrator t=2023-12-24T11:35:22.887376499Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-12-24T11:35:22.888803108Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.424089ms grafana | logger=migrator t=2023-12-24T11:35:22.892612668Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-12-24T11:35:22.893759743Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.147034ms grafana | logger=migrator t=2023-12-24T11:35:22.897623003Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-12-24T11:35:22.898499705Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=876.041µs grafana | logger=migrator t=2023-12-24T11:35:22.902990553Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-12-24T11:35:22.903468089Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=475.216µs grafana | logger=migrator t=2023-12-24T11:35:22.908418404Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-12-24T11:35:22.908644907Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=225.333µs grafana | logger=migrator t=2023-12-24T11:35:22.914015507Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-12-24T11:35:22.91507807Z level=info msg="Migration successfully executed" id="create tag table" duration=1.062333ms grafana | logger=migrator t=2023-12-24T11:35:22.919824743Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-12-24T11:35:22.921437814Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.612271ms grafana | logger=migrator t=2023-12-24T11:35:22.926051244Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-12-24T11:35:22.926823944Z level=info msg="Migration successfully executed" id="create login attempt table" duration=773.21µs grafana | logger=migrator t=2023-12-24T11:35:22.931465494Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-12-24T11:35:22.932344526Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=881.092µs policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-24T11:35:22.935980883Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-12-24T11:35:22.936842684Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=859.551µs grafana | logger=migrator t=2023-12-24T11:35:22.941978081Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-24T11:35:22.960610004Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.632473ms grafana | logger=migrator t=2023-12-24T11:35:22.964167971Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-12-24T11:35:22.964688228Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=519.657µs grafana | logger=migrator t=2023-12-24T11:35:22.968594219Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-12-24T11:35:22.969511991Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=917.392µs grafana | logger=migrator t=2023-12-24T11:35:22.976071296Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-12-24T11:35:22.976528082Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=456.906µs grafana | logger=migrator t=2023-12-24T11:35:22.980366762Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-12-24T11:35:22.981362665Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=995.663µs grafana | logger=migrator t=2023-12-24T11:35:22.985683072Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-12-24T11:35:22.98634789Z level=info msg="Migration successfully executed" id="create user auth table" duration=664.628µs grafana | logger=migrator t=2023-12-24T11:35:22.990529405Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-12-24T11:35:22.991420816Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=890.821µs grafana | logger=migrator t=2023-12-24T11:35:22.995713953Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-12-24T11:35:22.995775613Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=62.051µs grafana | logger=migrator t=2023-12-24T11:35:22.999503922Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-12-24T11:35:23.006692799Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.172067ms grafana | logger=migrator t=2023-12-24T11:35:23.009637262Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-12-24T11:35:23.014571729Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.934186ms grafana | logger=migrator t=2023-12-24T11:35:23.019019909Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-12-24T11:35:23.023963325Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.942726ms grafana | logger=migrator t=2023-12-24T11:35:23.028501806Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-12-24T11:35:23.033461312Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.958426ms grafana | logger=migrator t=2023-12-24T11:35:23.037230035Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-12-24T11:35:23.038099245Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=870.06µs grafana | logger=migrator t=2023-12-24T11:35:23.043171962Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-12-24T11:35:23.051089782Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.91608ms grafana | logger=migrator t=2023-12-24T11:35:23.054805224Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-12-24T11:35:23.055477242Z level=info msg="Migration successfully executed" id="create server_lock table" duration=670.538µs grafana | logger=migrator t=2023-12-24T11:35:23.059237554Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-12-24T11:35:23.060139095Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=900.261µs grafana | logger=migrator t=2023-12-24T11:35:23.066475326Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-12-24T11:35:23.06765621Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.180144ms grafana | logger=migrator t=2023-12-24T11:35:23.071392182Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-12-24T11:35:23.072571705Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.180293ms grafana | logger=migrator t=2023-12-24T11:35:23.078948028Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-12-24T11:35:23.080354663Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.407385ms grafana | logger=migrator t=2023-12-24T11:35:23.084973136Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-12-24T11:35:23.086478443Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.504487ms grafana | logger=migrator t=2023-12-24T11:35:23.089547528Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-12-24T11:35:23.096125212Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.579984ms grafana | logger=migrator t=2023-12-24T11:35:23.098936674Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-12-24T11:35:23.099849154Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=912.04µs grafana | logger=migrator t=2023-12-24T11:35:23.104970982Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-12-24T11:35:23.10568391Z level=info msg="Migration successfully executed" id="create cache_data table" duration=712.458µs grafana | logger=migrator t=2023-12-24T11:35:23.110584836Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-12-24T11:35:23.112454347Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.867471ms grafana | logger=migrator t=2023-12-24T11:35:23.117186861Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-12-24T11:35:23.11804093Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=854.029µs grafana | logger=migrator t=2023-12-24T11:35:23.123359641Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-12-24T11:35:23.124344622Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=982.832µs grafana | logger=migrator t=2023-12-24T11:35:23.128529389Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-12-24T11:35:23.12861097Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=82.151µs grafana | logger=migrator t=2023-12-24T11:35:23.134270994Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-12-24T11:35:23.134437026Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=164.402µs grafana | logger=migrator t=2023-12-24T11:35:23.138810145Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-12-24T11:35:23.14012232Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.311615ms grafana | logger=migrator t=2023-12-24T11:35:23.143458478Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-24T11:35:23.144451799Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=993.031µs grafana | logger=migrator t=2023-12-24T11:35:23.147667126Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-24T11:35:23.148701108Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.033771ms grafana | logger=migrator t=2023-12-24T11:35:23.15508232Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-24T11:35:23.155172221Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=88.641µs grafana | logger=migrator t=2023-12-24T11:35:23.159693842Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-24T11:35:23.161195479Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.501337ms grafana | logger=migrator t=2023-12-24T11:35:23.16571867Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-24T11:35:23.167243317Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.522787ms grafana | logger=migrator t=2023-12-24T11:35:23.172813591Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-24T11:35:23.173804002Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=990.141µs grafana | logger=migrator t=2023-12-24T11:35:23.178638677Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-24T11:35:23.180347836Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.7118ms grafana | logger=migrator t=2023-12-24T11:35:23.186269543Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-12-24T11:35:23.192343722Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.075599ms grafana | logger=migrator t=2023-12-24T11:35:23.197368609Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-12-24T11:35:23.198293409Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=924.32µs grafana | logger=migrator t=2023-12-24T11:35:23.202253104Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-12-24T11:35:23.202362105Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=109.361µs grafana | logger=migrator t=2023-12-24T11:35:23.205683013Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-12-24T11:35:23.207110909Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.427236ms grafana | logger=migrator t=2023-12-24T11:35:23.212341778Z 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-12-24T11:35:23.213413Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.068342ms grafana | logger=migrator t=2023-12-24T11:35:23.217235374Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2023-12-24T11:35:23.218508918Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.272494ms grafana | logger=migrator t=2023-12-24T11:35:23.221199619Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-24T11:35:23.221250479Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=51.57µs grafana | logger=migrator t=2023-12-24T11:35:23.223398663Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-12-24T11:35:23.224977781Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.578708ms grafana | logger=migrator t=2023-12-24T11:35:23.230694096Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-12-24T11:35:23.231776598Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.083022ms grafana | logger=migrator t=2023-12-24T11:35:23.234715772Z 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-12-24T11:35:23.235680693Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=961.68µs grafana | logger=migrator t=2023-12-24T11:35:23.239137352Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-12-24T11:35:23.240060382Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=918.49µs grafana | logger=migrator t=2023-12-24T11:35:23.2442463Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-12-24T11:35:23.2504395Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.19251ms grafana | logger=migrator t=2023-12-24T11:35:23.254948961Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-24T11:35:23.255838291Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=887.47µs grafana | logger=migrator t=2023-12-24T11:35:23.260285201Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-24T11:35:23.261197962Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=912.78µs grafana | logger=migrator t=2023-12-24T11:35:23.265892415Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-12-24T11:35:23.304408941Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=38.516216ms grafana | logger=migrator t=2023-12-24T11:35:23.308888182Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-12-24T11:35:23.345022051Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=36.133349ms grafana | logger=migrator t=2023-12-24T11:35:23.349949877Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-24T11:35:23.350648645Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=698.447µs grafana | logger=migrator t=2023-12-24T11:35:23.354611259Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-24T11:35:23.357598993Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=2.986614ms grafana | logger=migrator t=2023-12-24T11:35:23.361445297Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-12-24T11:35:23.36793751Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.492973ms grafana | logger=migrator t=2023-12-24T11:35:23.374212791Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-12-24T11:35:23.375746189Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.530718ms grafana | logger=migrator t=2023-12-24T11:35:23.380063047Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-12-24T11:35:23.3820785Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.014943ms grafana | logger=migrator t=2023-12-24T11:35:23.386344348Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-12-24T11:35:23.387953246Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.608208ms grafana | logger=migrator t=2023-12-24T11:35:23.392395227Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-12-24T11:35:23.393970855Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.574868ms grafana | logger=migrator t=2023-12-24T11:35:23.400534899Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-24T11:35:23.401012174Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=417.865µs grafana | logger=migrator t=2023-12-24T11:35:23.407771801Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-12-24T11:35:23.415379397Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.611976ms grafana | logger=migrator t=2023-12-24T11:35:23.419776887Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-12-24T11:35:23.427060479Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=7.282982ms grafana | logger=migrator t=2023-12-24T11:35:23.499269736Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-12-24T11:35:23.5075797Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=8.315344ms grafana | logger=migrator t=2023-12-24T11:35:23.513134283Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-12-24T11:35:23.513933082Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=798.549µs grafana | logger=migrator t=2023-12-24T11:35:23.51813722Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-12-24T11:35:23.519272713Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.136453ms grafana | logger=migrator t=2023-12-24T11:35:23.522823493Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-12-24T11:35:23.532810836Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=9.985683ms grafana | logger=migrator t=2023-12-24T11:35:23.536360546Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-12-24T11:35:23.54112207Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=4.761134ms grafana | logger=migrator t=2023-12-24T11:35:23.548579804Z 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-12-24T11:35:23.549847758Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.268014ms grafana | logger=migrator t=2023-12-24T11:35:23.555815346Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-12-24T11:35:23.566425146Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.60992ms grafana | logger=migrator t=2023-12-24T11:35:23.571581544Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-12-24T11:35:23.57739836Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.816376ms grafana | logger=migrator t=2023-12-24T11:35:23.581593658Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-12-24T11:35:23.581658119Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=65.371µs grafana | logger=migrator t=2023-12-24T11:35:23.587418604Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-12-24T11:35:23.588356774Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=938.31µs grafana | logger=migrator t=2023-12-24T11:35:23.592483641Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2023-12-24T11:35:23.594187561Z 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.700709ms grafana | logger=migrator t=2023-12-24T11:35:23.600444481Z 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-12-24T11:35:23.603494345Z 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=3.048894ms grafana | logger=migrator t=2023-12-24T11:35:23.609323971Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-24T11:35:23.609386412Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=65.131µs grafana | logger=migrator t=2023-12-24T11:35:23.614040295Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-12-24T11:35:23.623165388Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.123943ms grafana | logger=migrator t=2023-12-24T11:35:23.627356696Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-12-24T11:35:23.633759208Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.400742ms grafana | logger=migrator t=2023-12-24T11:35:23.640288652Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-12-24T11:35:23.646581053Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.292191ms grafana | logger=migrator t=2023-12-24T11:35:23.650669319Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-12-24T11:35:23.65691785Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.248171ms grafana | logger=migrator t=2023-12-24T11:35:23.662072638Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-12-24T11:35:23.670314322Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=8.231123ms grafana | logger=migrator t=2023-12-24T11:35:23.67543655Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-12-24T11:35:23.67550702Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=70.8µs grafana | logger=migrator t=2023-12-24T11:35:23.679772539Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-12-24T11:35:23.680540297Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=767.598µs grafana | logger=migrator t=2023-12-24T11:35:23.685332822Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-12-24T11:35:23.69404563Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.713338ms grafana | logger=migrator t=2023-12-24T11:35:23.698829725Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-12-24T11:35:23.698990536Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=166.091µs grafana | logger=migrator t=2023-12-24T11:35:23.702769009Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-12-24T11:35:23.709188331Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.419382ms grafana | logger=migrator t=2023-12-24T11:35:23.715344171Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-12-24T11:35:23.716845118Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.500507ms grafana | logger=migrator t=2023-12-24T11:35:23.720981255Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-12-24T11:35:23.730598174Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.617839ms grafana | logger=migrator t=2023-12-24T11:35:23.734661159Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-12-24T11:35:23.735367697Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=706.308µs grafana | logger=migrator t=2023-12-24T11:35:23.74002243Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-12-24T11:35:23.740999731Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=977.371µs grafana | logger=migrator t=2023-12-24T11:35:23.7471465Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-12-24T11:35:23.753493092Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.346932ms grafana | logger=migrator t=2023-12-24T11:35:23.757583438Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-12-24T11:35:23.758306096Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=722.048µs grafana | logger=migrator t=2023-12-24T11:35:23.76216286Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-12-24T11:35:23.764194643Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=2.029863ms grafana | logger=migrator t=2023-12-24T11:35:23.772007591Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-12-24T11:35:23.773166474Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.158803ms grafana | logger=migrator t=2023-12-24T11:35:23.7762745Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-12-24T11:35:23.777765997Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.491377ms grafana | logger=migrator t=2023-12-24T11:35:23.782184517Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-12-24T11:35:23.782272238Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=92.131µs grafana | logger=migrator t=2023-12-24T11:35:23.788217635Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-12-24T11:35:23.789189316Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=971.751µs grafana | logger=migrator t=2023-12-24T11:35:23.791913287Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-12-24T11:35:23.792882708Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=969.741µs grafana | logger=migrator t=2023-12-24T11:35:23.79661065Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-24T11:35:23.797011345Z 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-12-24T11:35:23.803439667Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-12-24T11:35:23.804185386Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=742.189µs grafana | logger=migrator t=2023-12-24T11:35:23.808327352Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-12-24T11:35:23.809600287Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.272555ms grafana | logger=migrator t=2023-12-24T11:35:23.813815914Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-12-24T11:35:23.822462242Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.645918ms grafana | logger=migrator t=2023-12-24T11:35:23.828002325Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-12-24T11:35:23.828718473Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=715.308µs grafana | logger=migrator t=2023-12-24T11:35:23.83289182Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-12-24T11:35:23.834438418Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.545398ms grafana | logger=migrator t=2023-12-24T11:35:23.838271981Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-12-24T11:35:23.839173912Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=901.72µs grafana | logger=migrator t=2023-12-24T11:35:23.844537922Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-12-24T11:35:23.846224521Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.685999ms grafana | logger=migrator t=2023-12-24T11:35:23.850839744Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-12-24T11:35:23.852067587Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.227473ms grafana | logger=migrator t=2023-12-24T11:35:23.85494618Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-12-24T11:35:23.85496895Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=25.6µs grafana | logger=migrator t=2023-12-24T11:35:23.863574187Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-12-24T11:35:23.863640048Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=68.771µs grafana | logger=migrator t=2023-12-24T11:35:23.866602812Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-12-24T11:35:23.866999976Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=396.954µs grafana | logger=migrator t=2023-12-24T11:35:23.872490358Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-12-24T11:35:23.873590871Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.100793ms grafana | logger=migrator t=2023-12-24T11:35:23.879150634Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-12-24T11:35:23.880359407Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.209803ms grafana | logger=migrator t=2023-12-24T11:35:23.886843051Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-12-24T11:35:23.934039455Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.195444ms grafana | logger=migrator t=2023-12-24T11:35:23.937687596Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-12-24T11:35:23.942689883Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=4.998407ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-24T11:35:23.946483576Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-12-24T11:35:23.946587697Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=107.421µs grafana | logger=migrator t=2023-12-24T11:35:23.953701138Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-12-24T11:35:23.994415668Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=40.71414ms grafana | logger=migrator t=2023-12-24T11:35:23.997375622Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-12-24T11:35:24.038287513Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=40.911401ms grafana | logger=migrator t=2023-12-24T11:35:24.041359097Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-12-24T11:35:24.041896933Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=537.726µs grafana | logger=migrator t=2023-12-24T11:35:24.04688678Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-12-24T11:35:24.047611298Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=724.248µs grafana | logger=migrator t=2023-12-24T11:35:24.050653532Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-12-24T11:35:24.050828594Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=174.762µs grafana | logger=migrator t=2023-12-24T11:35:24.053878498Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-12-24T11:35:24.054409394Z level=info msg="Migration successfully executed" id="create permission table" duration=530.936µs grafana | logger=migrator t=2023-12-24T11:35:24.059056746Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-12-24T11:35:24.059757924Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=701.218µs grafana | logger=migrator t=2023-12-24T11:35:24.064441637Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-12-24T11:35:24.065188825Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=746.968µs grafana | logger=migrator t=2023-12-24T11:35:24.068056587Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-12-24T11:35:24.068895427Z level=info msg="Migration successfully executed" id="create role table" duration=836.23µs grafana | logger=migrator t=2023-12-24T11:35:24.072001762Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-12-24T11:35:24.079638098Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.636216ms grafana | logger=migrator t=2023-12-24T11:35:24.085852878Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-12-24T11:35:24.093485673Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.634545ms grafana | logger=migrator t=2023-12-24T11:35:24.096498127Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-12-24T11:35:24.097529069Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.030762ms grafana | logger=migrator t=2023-12-24T11:35:24.100529443Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-12-24T11:35:24.101669575Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.136462ms grafana | logger=migrator t=2023-12-24T11:35:24.106469Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-12-24T11:35:24.107565002Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.091663ms grafana | logger=migrator t=2023-12-24T11:35:24.110681017Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-12-24T11:35:24.111433945Z level=info msg="Migration successfully executed" id="create team role table" duration=752.768µs grafana | logger=migrator t=2023-12-24T11:35:24.11452542Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-12-24T11:35:24.115593732Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.068222ms grafana | logger=migrator t=2023-12-24T11:35:24.120617149Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-12-24T11:35:24.121808252Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.190343ms grafana | logger=migrator t=2023-12-24T11:35:24.125017738Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-12-24T11:35:24.126191051Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.170973ms grafana | logger=migrator t=2023-12-24T11:35:24.129144444Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-12-24T11:35:24.129922673Z level=info msg="Migration successfully executed" id="create user role table" duration=774.949µs grafana | logger=migrator t=2023-12-24T11:35:24.134869289Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-12-24T11:35:24.13584646Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=976.911µs grafana | logger=migrator t=2023-12-24T11:35:24.138935984Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-12-24T11:35:24.139938196Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.001482ms grafana | logger=migrator t=2023-12-24T11:35:24.143282164Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-12-24T11:35:24.144515957Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.232984ms grafana | logger=migrator t=2023-12-24T11:35:24.151260673Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-12-24T11:35:24.151990672Z level=info msg="Migration successfully executed" id="create builtin role table" duration=728.219µs grafana | logger=migrator t=2023-12-24T11:35:24.154894254Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-12-24T11:35:24.156559333Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.684659ms grafana | logger=migrator t=2023-12-24T11:35:24.15988142Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-12-24T11:35:24.16159488Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.712379ms grafana | logger=migrator t=2023-12-24T11:35:24.169392607Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-12-24T11:35:24.177825412Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.429675ms grafana | logger=migrator t=2023-12-24T11:35:24.186957325Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-12-24T11:35:24.187995386Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.037271ms grafana | logger=migrator t=2023-12-24T11:35:24.197117569Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-12-24T11:35:24.199093211Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.974642ms grafana | logger=migrator t=2023-12-24T11:35:24.209438268Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-12-24T11:35:24.210460089Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.021892ms grafana | logger=migrator t=2023-12-24T11:35:24.219008585Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-12-24T11:35:24.221100799Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=2.091664ms grafana | logger=migrator t=2023-12-24T11:35:24.22833332Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-12-24T11:35:24.229378732Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.050132ms grafana | logger=migrator t=2023-12-24T11:35:24.238039329Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-12-24T11:35:24.239735728Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.695889ms grafana | logger=migrator t=2023-12-24T11:35:24.24791558Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-12-24T11:35:24.259292158Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.377888ms grafana | logger=migrator t=2023-12-24T11:35:24.262500994Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-12-24T11:35:24.270754797Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.252683ms grafana | logger=migrator t=2023-12-24T11:35:24.275232307Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-12-24T11:35:24.28344485Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.211693ms grafana | logger=migrator t=2023-12-24T11:35:24.288101072Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-12-24T11:35:24.293686325Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.584403ms grafana | logger=migrator t=2023-12-24T11:35:24.297068083Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-12-24T11:35:24.298082844Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.014941ms grafana | logger=migrator t=2023-12-24T11:35:24.302708787Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-12-24T11:35:24.303586506Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=879.349µs grafana | logger=migrator t=2023-12-24T11:35:24.307760673Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-12-24T11:35:24.308833705Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.072612ms grafana | logger=migrator t=2023-12-24T11:35:24.31188564Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-12-24T11:35:24.311992751Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=107.841µs grafana | logger=migrator t=2023-12-24T11:35:24.31637424Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-12-24T11:35:24.316543822Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=170.822µs grafana | logger=migrator t=2023-12-24T11:35:24.322231856Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-12-24T11:35:24.322658161Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=426.045µs grafana | logger=migrator t=2023-12-24T11:35:24.326753707Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-12-24T11:35:24.32787642Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.123893ms grafana | logger=migrator t=2023-12-24T11:35:24.331014445Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-12-24T11:35:24.331621552Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=607.407µs grafana | logger=migrator t=2023-12-24T11:35:24.335182092Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-12-24T11:35:24.335379984Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=196.183µs grafana | logger=migrator t=2023-12-24T11:35:24.339934635Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-12-24T11:35:24.340240289Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=305.694µs grafana | logger=migrator t=2023-12-24T11:35:24.344572277Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-12-24T11:35:24.345554238Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=980.131µs grafana | logger=migrator t=2023-12-24T11:35:24.351363604Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-12-24T11:35:24.353186474Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.82225ms grafana | logger=migrator t=2023-12-24T11:35:24.357531883Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-12-24T11:35:24.365357051Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.824658ms grafana | logger=migrator t=2023-12-24T11:35:24.369634309Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-12-24T11:35:24.36969346Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=59.631µs grafana | logger=migrator t=2023-12-24T11:35:24.37411736Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-12-24T11:35:24.374966819Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=848.999µs grafana | logger=migrator t=2023-12-24T11:35:24.379727773Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-12-24T11:35:24.381655264Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.929671ms grafana | logger=migrator t=2023-12-24T11:35:24.389089418Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-12-24T11:35:24.390254441Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.164803ms grafana | logger=migrator t=2023-12-24T11:35:24.39373356Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-12-24T11:35:24.402464528Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.727708ms grafana | logger=migrator t=2023-12-24T11:35:24.409463007Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-12-24T11:35:24.411570811Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=2.112824ms grafana | logger=migrator t=2023-12-24T11:35:24.416401755Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-12-24T11:35:24.417554878Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.153283ms grafana | logger=migrator t=2023-12-24T11:35:24.420511201Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-24T11:35:24.450300157Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=29.789076ms grafana | logger=migrator t=2023-12-24T11:35:24.455293353Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-12-24T11:35:24.456380225Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.085872ms grafana | logger=migrator t=2023-12-24T11:35:24.459432959Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-12-24T11:35:24.460755624Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.322105ms grafana | logger=migrator t=2023-12-24T11:35:24.464089852Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-12-24T11:35:24.465342146Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.254214ms grafana | logger=migrator t=2023-12-24T11:35:24.470086019Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-12-24T11:35:24.471256662Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.168233ms grafana | logger=migrator t=2023-12-24T11:35:24.474492769Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-12-24T11:35:24.474864243Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=371.074µs grafana | logger=migrator t=2023-12-24T11:35:24.477754895Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-12-24T11:35:24.478590535Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=835.29µs grafana | logger=migrator t=2023-12-24T11:35:24.483255887Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-12-24T11:35:24.491650481Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.394004ms grafana | logger=migrator t=2023-12-24T11:35:24.494785417Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-12-24T11:35:24.495625426Z level=info msg="Migration successfully executed" id="create entity_events table" duration=837.949µs grafana | logger=migrator t=2023-12-24T11:35:24.498802482Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-12-24T11:35:24.499877634Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.074632ms grafana | logger=migrator t=2023-12-24T11:35:24.504531626Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-24T11:35:24.505141583Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-24T11:35:24.508594232Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-24T11:35:24.509491512Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-24T11:35:24.51282528Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-12-24T11:35:24.514029023Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.203993ms grafana | logger=migrator t=2023-12-24T11:35:24.519219281Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-12-24T11:35:24.520251413Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.031612ms grafana | logger=migrator t=2023-12-24T11:35:24.523372788Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-24T11:35:24.524608102Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.235104ms grafana | logger=migrator t=2023-12-24T11:35:24.527533395Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-24T11:35:24.528681118Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.147373ms grafana | logger=migrator t=2023-12-24T11:35:24.533574773Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-24T11:35:24.534953029Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.379886ms grafana | logger=migrator t=2023-12-24T11:35:24.538076234Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-24T11:35:24.539427439Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.350775ms grafana | logger=migrator t=2023-12-24T11:35:24.545551438Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-12-24T11:35:24.546313206Z level=info msg="Migration successfully executed" id="Drop public config table" duration=761.198µs grafana | logger=migrator t=2023-12-24T11:35:24.54934135Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-12-24T11:35:24.550286701Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=944.741µs grafana | logger=migrator t=2023-12-24T11:35:24.553205474Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-24T11:35:24.554223165Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.017431ms grafana | logger=migrator t=2023-12-24T11:35:24.558989539Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-24T11:35:24.559836918Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=847.379µs grafana | logger=migrator t=2023-12-24T11:35:24.563031614Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-12-24T11:35:24.563849913Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=818.269µs grafana | logger=migrator t=2023-12-24T11:35:24.568708078Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-12-24T11:35:24.601036652Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.328834ms grafana | logger=migrator t=2023-12-24T11:35:24.604162147Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-12-24T11:35:24.61061632Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.453263ms grafana | logger=migrator t=2023-12-24T11:35:24.613823356Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-12-24T11:35:24.622501593Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.679847ms grafana | logger=migrator t=2023-12-24T11:35:24.626961313Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-12-24T11:35:24.627271317Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=311.754µs grafana | logger=migrator t=2023-12-24T11:35:24.632137232Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-12-24T11:35:24.640993681Z level=info msg="Migration successfully executed" id="add share column" duration=8.855919ms grafana | logger=migrator t=2023-12-24T11:35:24.644370929Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-12-24T11:35:24.644707913Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=336.174µs grafana | logger=migrator t=2023-12-24T11:35:24.648037591Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-12-24T11:35:24.649009171Z level=info msg="Migration successfully executed" id="create file table" duration=973.001µs grafana | logger=migrator t=2023-12-24T11:35:24.654181029Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-12-24T11:35:24.656065301Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.880112ms grafana | logger=migrator t=2023-12-24T11:35:24.659813723Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-12-24T11:35:24.661662654Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.848911ms grafana | logger=migrator t=2023-12-24T11:35:24.665121592Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-12-24T11:35:24.665902231Z level=info msg="Migration successfully executed" id="create file_meta table" duration=780.259µs grafana | logger=migrator t=2023-12-24T11:35:24.670753236Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-12-24T11:35:24.672456345Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.701589ms grafana | logger=migrator t=2023-12-24T11:35:24.677870686Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-12-24T11:35:24.678087168Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=216.042µs grafana | logger=migrator t=2023-12-24T11:35:24.682257485Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-12-24T11:35:24.682418577Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=166.022µs grafana | logger=migrator t=2023-12-24T11:35:24.686136149Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-12-24T11:35:24.686773916Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=637.557µs grafana | logger=migrator t=2023-12-24T11:35:24.6916227Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-12-24T11:35:24.692085316Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=462.746µs grafana | logger=migrator t=2023-12-24T11:35:24.695657386Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-12-24T11:35:24.697243874Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.585428ms grafana | logger=migrator t=2023-12-24T11:35:24.700260448Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-12-24T11:35:24.709624273Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.363055ms grafana | logger=migrator t=2023-12-24T11:35:24.714493498Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-12-24T11:35:24.714789991Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=297.453µs grafana | logger=migrator t=2023-12-24T11:35:24.717787705Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-12-24T11:35:24.718967508Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.179733ms grafana | logger=migrator t=2023-12-24T11:35:24.72176537Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-12-24T11:35:24.722236265Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=471.655µs grafana | logger=migrator t=2023-12-24T11:35:24.72537989Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-12-24T11:35:24.725678704Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=297.124µs grafana | logger=migrator t=2023-12-24T11:35:24.730176374Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-12-24T11:35:24.730732451Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=555.666µs grafana | logger=migrator t=2023-12-24T11:35:24.733523412Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-12-24T11:35:24.744161911Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.639719ms grafana | logger=migrator t=2023-12-24T11:35:24.747005713Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-12-24T11:35:24.755488819Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.481306ms grafana | logger=migrator t=2023-12-24T11:35:24.758549843Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-12-24T11:35:24.759654036Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.104373ms grafana | logger=migrator t=2023-12-24T11:35:24.764393029Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-12-24T11:35:24.873403175Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=109.002986ms grafana | logger=migrator t=2023-12-24T11:35:24.876945335Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-12-24T11:35:24.878121888Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.175903ms grafana | logger=migrator t=2023-12-24T11:35:24.884039315Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-12-24T11:35:24.886215939Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=2.175844ms grafana | logger=migrator t=2023-12-24T11:35:24.889525257Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-12-24T11:35:24.926481452Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.955925ms grafana | logger=migrator t=2023-12-24T11:35:24.930124333Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-12-24T11:35:24.930486237Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=360.264µs grafana | logger=migrator t=2023-12-24T11:35:24.935542564Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-12-24T11:35:24.935749506Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=206.302µs grafana | logger=migrator t=2023-12-24T11:35:24.93870318Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-12-24T11:35:24.938933922Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=230.642µs grafana | logger=migrator t=2023-12-24T11:35:24.941776294Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-12-24T11:35:24.943021048Z level=info msg="Migration successfully executed" id="create folder table" duration=1.244184ms grafana | logger=migrator t=2023-12-24T11:35:24.947862973Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-12-24T11:35:24.949500511Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.637058ms grafana | logger=migrator t=2023-12-24T11:35:24.952631106Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-12-24T11:35:24.953951741Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.321045ms grafana | logger=migrator t=2023-12-24T11:35:24.956985665Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-12-24T11:35:24.957052126Z level=info msg="Migration successfully executed" id="Update folder title length" duration=67.431µs grafana | logger=migrator t=2023-12-24T11:35:24.961653898Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-24T11:35:24.962677159Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.022781ms grafana | logger=migrator t=2023-12-24T11:35:24.965901606Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-24T11:35:24.966767185Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=865.649µs grafana | logger=migrator t=2023-12-24T11:35:24.969772819Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-12-24T11:35:24.970865401Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.090002ms grafana | logger=migrator t=2023-12-24T11:35:24.975341182Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-12-24T11:35:24.976476414Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.134602ms grafana | logger=migrator t=2023-12-24T11:35:24.982518272Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-12-24T11:35:24.983803067Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.284845ms grafana | logger=migrator t=2023-12-24T11:35:24.987245655Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-12-24T11:35:24.988683242Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.437437ms grafana | logger=migrator t=2023-12-24T11:35:24.993021931Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-12-24T11:35:24.99388737Z level=info msg="Migration successfully executed" id="create signing_key table" duration=864.839µs grafana | logger=migrator t=2023-12-24T11:35:24.997199307Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-12-24T11:35:24.99836402Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.164753ms grafana | logger=migrator t=2023-12-24T11:35:25.001552406Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-12-24T11:35:25.003021343Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.469317ms grafana | logger=migrator t=2023-12-24T11:35:25.007424332Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-12-24T11:35:25.007818886Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=395.544µs grafana | logger=migrator t=2023-12-24T11:35:25.011279935Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2023-12-24T11:35:25.022559972Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.260106ms grafana | logger=migrator t=2023-12-24T11:35:25.026038951Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2023-12-24T11:35:25.026990471Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=952.72µs grafana | logger=migrator t=2023-12-24T11:35:25.030961265Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2023-12-24T11:35:25.032424582Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.460497ms grafana | logger=migrator t=2023-12-24T11:35:25.035790819Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2023-12-24T11:35:25.036864551Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.073602ms grafana | logger=migrator t=2023-12-24T11:35:25.041478623Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2023-12-24T11:35:25.042334333Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=856.36µs grafana | logger=migrator t=2023-12-24T11:35:25.046428259Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2023-12-24T11:35:25.046793653Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=366.094µs grafana | logger=migrator t=2023-12-24T11:35:25.049798336Z level=info msg="migrations completed" performed=523 skipped=0 duration=3.67472241s grafana | logger=sqlstore t=2023-12-24T11:35:25.061772681Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-12-24T11:35:25.062099024Z level=info msg="Created default organization" grafana | logger=secrets t=2023-12-24T11:35:25.066539004Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2023-12-24T11:35:25.087768751Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2023-12-24T11:35:25.130866984Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2023-12-24T11:35:25.131034526Z level=info msg="Plugins loaded" count=55 duration=43.265455ms grafana | logger=query_data t=2023-12-24T11:35:25.136591218Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-12-24T11:35:25.14480135Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2023-12-24T11:35:25.149587594Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2023-12-24T11:35:25.150317562Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-24T11:35:25.150709836Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-24T11:35:25.151129801Z level=warn msg="No available receivers" grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2023-12-24T11:35:25.153342266Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2023-12-24T11:35:25.184483444Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-12-24T11:35:25.187873772Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-12-24T11:35:25.203165623Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-12-24T11:35:25.203259104Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-12-24T11:35:25.203901251Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-12-24T11:35:25.204331636Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2023-12-24T11:35:25.205628751Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2023-12-24T11:35:25.208419692Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2023-12-24T11:35:25.239684282Z level=info msg="Update check succeeded" duration=35.059883ms grafana | logger=plugins.update.checker t=2023-12-24T11:35:25.273776534Z level=info msg="Update check succeeded" duration=70.256657ms grafana | logger=ngalert.state.manager t=2023-12-24T11:35:25.30648598Z level=info msg="State cache has been initialized" states=0 duration=102.149084ms grafana | logger=ngalert.scheduler t=2023-12-24T11:35:25.306574961Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-12-24T11:35:25.306756153Z level=info msg=starting first_tick=2023-12-24T11:35:30Z grafana | logger=sqlstore.transactions t=2023-12-24T11:35:25.365572371Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | 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 | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:28 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:28 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:28 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:28 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:28 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:28 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:28 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:28 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:29 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:30 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:31 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:32 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:32 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:32 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:32 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:32 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:32 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2412231135280800u 1 2023-12-24 11:35:32 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2412231135280900u 1 2023-12-24 11:35:32 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2412231135281000u 1 2023-12-24 11:35:32 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2412231135281000u 1 2023-12-24 11:35:32 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2412231135281000u 1 2023-12-24 11:35:33 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2412231135281000u 1 2023-12-24 11:35:33 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2412231135281000u 1 2023-12-24 11:35:33 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2412231135281000u 1 2023-12-24 11:35:33 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2412231135281000u 1 2023-12-24 11:35:33 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2412231135281000u 1 2023-12-24 11:35:33 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2412231135281000u 1 2023-12-24 11:35:33 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2412231135281100u 1 2023-12-24 11:35:33 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2412231135281200u 1 2023-12-24 11:35:33 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2412231135281200u 1 2023-12-24 11:35:33 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2412231135281200u 1 2023-12-24 11:35:33 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2412231135281200u 1 2023-12-24 11:35:33 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping 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 policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.NdVq5hShPA ]] + rsync -av /tmp/tmp.NdVq5hShPA/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,346,141 bytes received 95 bytes 2,692,472.00 bytes/sec total size is 1,345,490 speedup is 1.00 + rm -rf /w/workspace/policy-api-london-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2090 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3328581675891137902.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9496605757056781963.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4475282368134322890.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-djY7 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-djY7/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14870664593793238931.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config5102215241096184049tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11342730200962953817.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12302305594638087088.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-djY7 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-djY7/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2688739446185790798.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7250411484469120221.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-djY7 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-djY7/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins1955669025357497791.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-djY7 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-djY7/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/219 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-7445 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 828 27419 0 3920 30883 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:5d:23:08 brd ff:ff:ff:ff:ff:ff inet 10.30.106.241/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86060sec preferred_lft 86060sec inet6 fe80::f816:3eff:fe5d:2308/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:bb:ca:19:01 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-7445) 12/24/23 _x86_64_ (8 CPU) 11:32:26 LINUX RESTART (8 CPU) 11:33:02 tps rtps wtps bread/s bwrtn/s 11:34:01 106.07 37.15 68.92 1731.23 7557.91 11:35:01 119.91 22.95 96.97 2737.14 14200.70 11:36:01 363.61 12.86 350.74 811.43 60681.25 11:37:01 2.70 0.08 2.62 20.13 474.85 11:38:01 61.41 2.32 59.09 127.85 5016.28 Average: 130.82 15.00 115.82 1083.40 17619.73 11:33:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30060240 31672028 2878980 8.74 70384 1850976 1454804 4.28 898176 1685232 169668 11:35:01 28634204 31654700 4305016 13.07 102944 3184104 1580152 4.65 995428 2923548 1129340 11:36:01 26773932 30394608 6165288 18.72 125936 3678008 4756148 13.99 2346344 3366236 80 11:37:01 26798832 30406028 6140388 18.64 125976 3679312 4790788 14.10 2336844 3351620 236 11:38:01 28103880 31650696 4835340 14.68 131448 3651996 1471404 4.33 1132160 3278560 33164 Average: 28074218 31155612 4865002 14.77 111338 3208879 2810659 8.27 1541790 2921039 266498 11:33:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 ens3 105.56 73.55 1073.39 16.99 0.00 0.00 0.00 0.00 11:34:01 lo 1.56 1.56 0.17 0.17 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 br-d905cdbf7a7d 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 256.92 165.14 7467.85 16.49 0.00 0.00 0.00 0.00 11:35:01 lo 8.13 8.13 0.75 0.75 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 veth68aefdf 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 11:36:01 br-d905cdbf7a7d 3.60 4.10 5.93 2.53 0.00 0.00 0.00 0.00 11:36:01 ens3 61.59 43.29 1814.86 4.42 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 veth68aefdf 0.77 1.07 0.11 0.59 0.00 0.00 0.00 0.00 11:37:01 br-d905cdbf7a7d 1.87 2.10 0.15 0.20 0.00 0.00 0.00 0.00 11:37:01 ens3 3.07 2.72 0.56 0.69 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 83.49 63.02 126.78 26.81 0.00 0.00 0.00 0.00 11:38:01 lo 33.99 33.99 10.40 10.40 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 102.11 69.53 2100.11 13.07 0.00 0.00 0.00 0.00 Average: lo 6.05 6.05 2.02 2.02 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-7445) 12/24/23 _x86_64_ (8 CPU) 11:32:26 LINUX RESTART (8 CPU) 11:33:02 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 10.54 0.00 0.83 1.26 0.03 87.33 11:34:01 0 16.45 0.00 0.97 0.70 0.03 81.86 11:34:01 1 5.64 0.00 0.51 0.17 0.02 93.66 11:34:01 2 11.22 0.00 0.64 0.20 0.02 87.91 11:34:01 3 16.26 0.00 1.34 4.20 0.05 78.15 11:34:01 4 13.73 0.00 0.88 0.24 0.03 85.11 11:34:01 5 7.65 0.00 0.68 0.61 0.07 90.99 11:34:01 6 1.12 0.00 0.51 3.34 0.02 95.01 11:34:01 7 12.24 0.00 1.12 0.65 0.03 85.96 11:35:01 all 11.46 0.00 2.22 1.62 0.04 84.66 11:35:01 0 36.42 0.00 3.48 1.72 0.07 58.31 11:35:01 1 12.01 0.00 2.25 2.31 0.03 83.40 11:35:01 2 10.94 0.00 2.40 0.20 0.03 86.43 11:35:01 3 3.30 0.00 1.77 3.37 0.05 91.51 11:35:01 4 7.25 0.00 2.66 0.37 0.03 89.68 11:35:01 5 5.50 0.00 1.62 4.28 0.08 88.52 11:35:01 6 8.47 0.00 1.66 0.57 0.05 89.24 11:35:01 7 7.90 0.00 1.89 0.18 0.02 90.01 11:36:01 all 18.13 0.00 2.90 3.81 0.06 75.09 11:36:01 0 24.92 0.00 3.58 2.07 0.07 69.36 11:36:01 1 20.05 0.00 2.52 0.37 0.05 77.01 11:36:01 2 15.61 0.00 2.80 19.21 0.07 62.31 11:36:01 3 15.94 0.00 2.78 1.73 0.05 79.50 11:36:01 4 18.98 0.00 2.69 2.13 0.07 76.13 11:36:01 5 15.46 0.00 2.81 1.61 0.05 80.06 11:36:01 6 20.10 0.00 3.30 3.11 0.07 73.43 11:36:01 7 13.97 0.00 2.78 0.27 0.07 82.91 11:37:01 all 0.15 0.00 0.06 0.06 0.03 99.70 11:37:01 0 0.08 0.00 0.07 0.10 0.02 99.73 11:37:01 1 0.32 0.00 0.05 0.00 0.03 99.60 11:37:01 2 0.05 0.00 0.02 0.00 0.02 99.92 11:37:01 3 0.48 0.00 0.07 0.00 0.05 99.40 11:37:01 4 0.12 0.00 0.05 0.00 0.02 99.82 11:37:01 5 0.03 0.00 0.05 0.00 0.03 99.88 11:37:01 6 0.08 0.00 0.08 0.38 0.05 99.40 11:37:01 7 0.08 0.00 0.07 0.02 0.03 99.80 11:38:01 all 8.90 0.00 0.71 0.70 0.03 89.65 11:38:01 0 1.37 0.00 0.62 1.27 0.02 96.73 11:38:01 1 2.27 0.00 0.50 0.12 0.05 97.07 11:38:01 2 2.19 0.00 0.56 1.71 0.02 95.52 11:38:01 3 2.70 0.00 0.38 0.25 0.00 96.67 11:38:01 4 14.94 0.00 0.72 0.45 0.03 83.87 11:38:01 5 40.55 0.00 1.72 1.04 0.05 56.65 11:38:01 6 3.64 0.00 0.52 0.32 0.02 95.51 11:38:01 7 3.67 0.00 0.65 0.48 0.05 95.14 Average: all 9.82 0.00 1.34 1.49 0.04 87.30 Average: 0 15.80 0.00 1.74 1.17 0.04 81.26 Average: 1 8.04 0.00 1.16 0.59 0.04 90.17 Average: 2 7.97 0.00 1.28 4.26 0.03 86.45 Average: 3 7.70 0.00 1.27 1.90 0.04 89.09 Average: 4 10.99 0.00 1.40 0.64 0.04 86.94 Average: 5 13.87 0.00 1.38 1.51 0.06 83.19 Average: 6 6.68 0.00 1.21 1.54 0.04 90.53 Average: 7 7.55 0.00 1.30 0.32 0.04 90.79