Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-7689 (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-XSHShg10VSny/agent.2120 SSH_AGENT_PID=2122 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_16883225775791442661.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_16883225775791442661.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/jenkins11151819464927563100.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-CbOB 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-CbOB/bin to PATH Generating Requirements File ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. Python 3.10.6 pip 24.0 from /tmp/venv-CbOB/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.47 botocore==1.34.47 bs4==0.0.2 cachetools==5.3.2 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.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.6.1 docker==4.2.2 dogpile.cache==1.3.2 email-validator==2.1.0.post1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.1 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.9 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.0 pytz==2024.1 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.2 typing_extensions==4.9.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins9200056786213615605.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/jenkins10256827499915830826.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.JPF4B1rHZk ++ echo ROBOT_VENV=/tmp/tmp.JPF4B1rHZk +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.JPF4B1rHZk ++ source /tmp/tmp.JPF4B1rHZk/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.JPF4B1rHZk +++ 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.JPF4B1rHZk/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.JPF4B1rHZk) ' '!=' x ']' +++ PS1='(tmp.JPF4B1rHZk) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.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.JPF4B1rHZk/src/onap ++ rm -rf /tmp/tmp.JPF4B1rHZk/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.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.JPF4B1rHZk/bin/activate + '[' -z /tmp/tmp.JPF4B1rHZk/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.JPF4B1rHZk/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.JPF4B1rHZk ++ 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.JPF4B1rHZk/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.JPF4B1rHZk) ' ++ '[' 'x(tmp.JPF4B1rHZk) ' '!=' x ']' ++ PS1='(tmp.JPF4B1rHZk) (tmp.JPF4B1rHZk) ' ++ 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.ttKFyRZIMM + cd /tmp/tmp.ttKFyRZIMM + 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:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds NAMES STATUS policy-api Up 30 seconds grafana Up 33 seconds mariadb Up 32 seconds prometheus Up 34 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:36:18 up 4 min, 0 users, load average: 2.38, 0.99, 0.38 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.2 us, 1.9 sy, 0.0 ni, 83.3 id, 4.4 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 30 seconds grafana Up 33 seconds mariadb Up 32 seconds prometheus Up 34 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 2e198de3444b policy-api 0.10% 888MiB / 31.41GiB 2.76% 1.04MB / 740kB 0B / 0B 50 e29a0ded0db6 grafana 0.17% 51.76MiB / 31.41GiB 0.16% 18.7kB / 3.25kB 0B / 23.8MB 16 1acef0760bb4 mariadb 0.02% 100.2MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.2MB / 71MB 26 cd5542ff8c9b prometheus 0.03% 19.32MiB / 31.41GiB 0.06% 1.38kB / 0B 4.1kB / 0B 13 + echo + cd /tmp/tmp.ttKFyRZIMM + 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.ttKFyRZIMM/output.xml Log: /tmp/tmp.ttKFyRZIMM/log.html Report: /tmp/tmp.ttKFyRZIMM/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:29 up 5 min, 0 users, load average: 0.73, 0.79, 0.36 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.8 us, 1.5 sy, 0.0 ni, 86.0 id, 3.6 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 2e198de3444b policy-api 0.14% 907.4MiB / 31.41GiB 2.82% 7.32MB / 2.87MB 0B / 0B 55 e29a0ded0db6 grafana 0.04% 56.58MiB / 31.41GiB 0.18% 19.6kB / 4.43kB 0B / 23.8MB 16 1acef0760bb4 mariadb 0.02% 101MiB / 31.41GiB 0.31% 2.75MB / 7.36MB 11.2MB / 71.1MB 18 cd5542ff8c9b prometheus 0.00% 25.03MiB / 31.41GiB 0.08% 38.2kB / 7.16kB 4.1kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-02-22T11:35:45.113988259Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-02-22T11:35:45Z grafana | logger=settings t=2024-02-22T11:35:45.114184531Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-22T11:35:45.114198341Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-22T11:35:45.114202221Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-22T11:35:45.114205521Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-22T11:35:45.114208791Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-22T11:35:45.114213701Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-22T11:35:45.114216541Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-22T11:35:45.114219921Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-22T11:35:45.114224131Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-22T11:35:45.114227821Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-22T11:35:45.114230891Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-22T11:35:45.114235151Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-22T11:35:45.114242681Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-22T11:35:45.114246201Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-22T11:35:45.114251551Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-22T11:35:45.114257301Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-22T11:35:45.114260241Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-22T11:35:45.114263251Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-22T11:35:45.114538593Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-22T11:35:45.114556193Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-02-22T11:35:45.115160808Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-02-22T11:35:45.115978474Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-02-22T11:35:45.11669655Z level=info msg="Migration successfully executed" id="create migration_log table" duration=720.046µs grafana | logger=migrator t=2024-02-22T11:35:45.134054532Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-02-22T11:35:45.135325362Z level=info msg="Migration successfully executed" id="create user table" duration=1.27023ms grafana | logger=migrator t=2024-02-22T11:35:45.138911689Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-02-22T11:35:45.140033608Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.121369ms grafana | logger=migrator t=2024-02-22T11:35:45.143302693Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-02-22T11:35:45.143992448Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=689.455µs grafana | logger=migrator t=2024-02-22T11:35:45.149276858Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-02-22T11:35:45.149909743Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=632.625µs grafana | logger=migrator t=2024-02-22T11:35:45.154024655Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-02-22T11:35:45.154857971Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=836.026µs grafana | logger=migrator t=2024-02-22T11:35:45.157967285Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-02-22T11:35:45.160883407Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.915942ms grafana | logger=migrator t=2024-02-22T11:35:45.16385501Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-02-22T11:35:45.164633696Z level=info msg="Migration successfully executed" id="create user table v2" duration=778.576µs grafana | logger=migrator t=2024-02-22T11:35:45.169520553Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-02-22T11:35:45.170274999Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=758.796µs grafana | logger=migrator t=2024-02-22T11:35:45.173729325Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-02-22T11:35:45.174902524Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.173129ms grafana | logger=migrator t=2024-02-22T11:35:45.178402911Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-02-22T11:35:45.179003975Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=600.924µs grafana | logger=migrator t=2024-02-22T11:35:45.184124794Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-02-22T11:35:45.184670878Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=546.054µs grafana | logger=migrator t=2024-02-22T11:35:45.187397919Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-02-22T11:35:45.188548808Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.154079ms grafana | logger=migrator t=2024-02-22T11:35:45.19143967Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-02-22T11:35:45.19147909Z level=info msg="Migration successfully executed" id="Update user table charset" duration=42.47µs grafana | logger=migrator t=2024-02-22T11:35:45.194409053Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-02-22T11:35:45.196068785Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.655542ms grafana | logger=migrator t=2024-02-22T11:35:45.201533157Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-02-22T11:35:45.20186658Z level=info msg="Migration successfully executed" id="Add missing user data" duration=333.903µs grafana | logger=migrator t=2024-02-22T11:35:45.205140665Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-02-22T11:35:45.206776167Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.634992ms grafana | logger=migrator t=2024-02-22T11:35:45.209928801Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-02-22T11:35:45.210997819Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.068828ms grafana | logger=migrator t=2024-02-22T11:35:45.216533571Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-02-22T11:35:45.218358585Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.823004ms grafana | logger=migrator t=2024-02-22T11:35:45.302694609Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-02-22T11:35:45.313631492Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.938773ms grafana | logger=migrator t=2024-02-22T11:35:45.317004698Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-02-22T11:35:45.317510702Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=505.954µs grafana | logger=migrator t=2024-02-22T11:35:45.320522745Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-02-22T11:35:45.321004579Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=481.684µs grafana | logger=migrator t=2024-02-22T11:35:45.326693482Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-02-22T11:35:45.328213464Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.518302ms grafana | logger=migrator t=2024-02-22T11:35:45.331788561Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-22T11:35:45.33305029Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.265169ms grafana | logger=migrator t=2024-02-22T11:35:45.337728676Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-22T11:35:45.338578343Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=849.317µs grafana | logger=migrator t=2024-02-22T11:35:45.341683706Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-22T11:35:45.341752227Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=69.471µs grafana | logger=migrator t=2024-02-22T11:35:45.344955931Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-02-22T11:35:45.346168691Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.2123ms grafana | logger=migrator t=2024-02-22T11:35:45.445642779Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-22T11:35:45.447101621Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.466112ms grafana | logger=migrator t=2024-02-22T11:35:45.452013458Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-22T11:35:45.453176157Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.162439ms grafana | logger=migrator t=2024-02-22T11:35:45.456530383Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-22T11:35:45.457701091Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.172739ms grafana | logger=migrator t=2024-02-22T11:35:45.464623224Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-22T11:35:45.468389853Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.767419ms grafana | logger=migrator t=2024-02-22T11:35:45.471336015Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-02-22T11:35:45.472130862Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=794.557µs grafana | logger=migrator t=2024-02-22T11:35:45.474883093Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-22T11:35:45.475687779Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=801.396µs grafana | logger=migrator t=2024-02-22T11:35:45.478911473Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-22T11:35:45.479712619Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=802.186µs grafana | logger=migrator t=2024-02-22T11:35:45.483950742Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-22T11:35:45.484849919Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=898.337µs grafana | logger=migrator t=2024-02-22T11:35:45.4876163Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-22T11:35:45.488416946Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=795.626µs grafana | logger=migrator t=2024-02-22T11:35:45.491483129Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-22T11:35:45.491955343Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=471.784µs grafana | logger=migrator t=2024-02-22T11:35:45.496203955Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-22T11:35:45.49681104Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=606.665µs grafana | logger=migrator t=2024-02-22T11:35:45.499174328Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-22T11:35:45.499827703Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=653.635µs grafana | logger=migrator t=2024-02-22T11:35:45.502992337Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-22T11:35:45.504074105Z level=info msg="Migration successfully executed" id="create star table" duration=1.081018ms grafana | logger=migrator t=2024-02-22T11:35:45.508724241Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-22T11:35:45.509541197Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=816.616µs grafana | logger=migrator t=2024-02-22T11:35:45.512406029Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-22T11:35:45.513145164Z level=info msg="Migration successfully executed" id="create org table v1" duration=738.765µs grafana | logger=migrator t=2024-02-22T11:35:45.517707989Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-02-22T11:35:45.518638356Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=930.457µs grafana | logger=migrator t=2024-02-22T11:35:45.521660419Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-22T11:35:45.522659827Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=997.578µs grafana | logger=migrator t=2024-02-22T11:35:45.527375793Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-22T11:35:45.528683703Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.31516ms grafana | logger=migrator t=2024-02-22T11:35:45.531731856Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-22T11:35:45.532710954Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=978.728µs grafana | logger=migrator t=2024-02-22T11:35:45.607264743Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-22T11:35:45.608586113Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.312431ms grafana | logger=migrator t=2024-02-22T11:35:45.612092079Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-22T11:35:45.61219781Z level=info msg="Migration successfully executed" id="Update org table charset" duration=106.721µs grafana | logger=migrator t=2024-02-22T11:35:45.616930486Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-22T11:35:45.617036647Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=115.441µs grafana | logger=migrator t=2024-02-22T11:35:45.619616527Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-22T11:35:45.619958339Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=342.662µs grafana | logger=migrator t=2024-02-22T11:35:45.62264295Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-22T11:35:45.623397956Z level=info msg="Migration successfully executed" id="create dashboard table" duration=754.656µs grafana | logger=migrator t=2024-02-22T11:35:45.626376888Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-22T11:35:45.627249255Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=872.137µs grafana | logger=migrator t=2024-02-22T11:35:45.631761179Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-02-22T11:35:45.632867078Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.103029ms grafana | logger=migrator t=2024-02-22T11:35:45.636054372Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-02-22T11:35:45.637423953Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.372401ms grafana | logger=migrator t=2024-02-22T11:35:45.640544866Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-02-22T11:35:45.641891437Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.336791ms grafana | logger=migrator t=2024-02-22T11:35:45.645899837Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-02-22T11:35:45.646725284Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=825.267µs grafana | logger=migrator t=2024-02-22T11:35:45.651047777Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-02-22T11:35:45.660438248Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.392081ms grafana | logger=migrator t=2024-02-22T11:35:45.66334142Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-02-22T11:35:45.663919485Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=575.265µs grafana | logger=migrator t=2024-02-22T11:35:45.66853128Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-02-22T11:35:45.669644498Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.112398ms grafana | logger=migrator t=2024-02-22T11:35:45.672824193Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-02-22T11:35:45.673638709Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=814.416µs grafana | logger=migrator t=2024-02-22T11:35:45.678538126Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-02-22T11:35:45.678909679Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=370.803µs grafana | logger=migrator t=2024-02-22T11:35:45.682062523Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-02-22T11:35:45.68298814Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=925.217µs grafana | logger=migrator t=2024-02-22T11:35:45.686242475Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-02-22T11:35:45.686495927Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=253.172µs grafana | logger=migrator t=2024-02-22T11:35:45.691711957Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-02-22T11:35:45.694542028Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.829721ms grafana | logger=migrator t=2024-02-22T11:35:45.748378919Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-02-22T11:35:45.752188618Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=3.809369ms grafana | logger=migrator t=2024-02-22T11:35:45.755177531Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-02-22T11:35:45.756966935Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.788094ms grafana | logger=migrator t=2024-02-22T11:35:45.76166286Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-02-22T11:35:45.762406116Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=740.136µs grafana | logger=migrator t=2024-02-22T11:35:45.76550886Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-02-22T11:35:45.767242993Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.733973ms grafana | logger=migrator t=2024-02-22T11:35:45.770231856Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-02-22T11:35:45.771008542Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=775.966µs grafana | logger=migrator t=2024-02-22T11:35:45.776336232Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-02-22T11:35:45.77729287Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=956.158µs grafana | logger=migrator t=2024-02-22T11:35:45.779597067Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-02-22T11:35:45.779620817Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=24.41µs grafana | logger=migrator t=2024-02-22T11:35:45.782850082Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-02-22T11:35:45.782891122Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=51.11µs grafana | logger=migrator t=2024-02-22T11:35:45.788462535Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-02-22T11:35:45.79170096Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.237885ms grafana | logger=migrator t=2024-02-22T11:35:45.796459446Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-02-22T11:35:45.7983078Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.847944ms grafana | logger=migrator t=2024-02-22T11:35:45.801044631Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-02-22T11:35:45.802933155Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.888294ms grafana | logger=migrator t=2024-02-22T11:35:45.80741242Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-02-22T11:35:45.809242073Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.829404ms grafana | logger=migrator t=2024-02-22T11:35:45.812101785Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-02-22T11:35:45.812280687Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=179.112µs grafana | logger=migrator t=2024-02-22T11:35:45.815273129Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-02-22T11:35:45.816452598Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.174299ms grafana | logger=migrator t=2024-02-22T11:35:45.819628673Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-02-22T11:35:45.820754701Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.125718ms grafana | logger=migrator t=2024-02-22T11:35:45.825929961Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-02-22T11:35:45.826013311Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=83.35µs grafana | logger=migrator t=2024-02-22T11:35:45.82982018Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-02-22T11:35:45.831426973Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.634923ms grafana | logger=migrator t=2024-02-22T11:35:45.886879896Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-02-22T11:35:45.888526398Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.648322ms grafana | logger=migrator t=2024-02-22T11:35:45.89394607Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-22T11:35:45.902569866Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.624925ms grafana | logger=migrator t=2024-02-22T11:35:45.90575207Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-02-22T11:35:45.90711687Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.3595ms grafana | logger=migrator t=2024-02-22T11:35:45.910889959Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-02-22T11:35:45.913472539Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=2.57854ms grafana | logger=migrator t=2024-02-22T11:35:45.918529407Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-02-22T11:35:45.919365824Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=836.277µs grafana | logger=migrator t=2024-02-22T11:35:45.922369457Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-02-22T11:35:45.922974351Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=571.254µs grafana | logger=migrator t=2024-02-22T11:35:45.967104208Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-02-22T11:35:45.968321267Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.222339ms grafana | logger=migrator t=2024-02-22T11:35:45.971994415Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-02-22T11:35:45.975592923Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.597278ms grafana | logger=migrator t=2024-02-22T11:35:46.007991761Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-02-22T11:35:46.009746734Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.752433ms grafana | logger=migrator t=2024-02-22T11:35:46.014776793Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-02-22T11:35:46.015064306Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=286.763µs grafana | logger=migrator t=2024-02-22T11:35:46.017825637Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-02-22T11:35:46.018121559Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=293.502µs grafana | logger=migrator t=2024-02-22T11:35:46.020999722Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-02-22T11:35:46.022456013Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.455541ms grafana | logger=migrator t=2024-02-22T11:35:46.025724478Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-02-22T11:35:46.028447619Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.723951ms grafana | logger=migrator t=2024-02-22T11:35:46.032782843Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-02-22T11:35:46.0336797Z level=info msg="Migration successfully executed" id="create data_source table" duration=901.087µs grafana | logger=migrator t=2024-02-22T11:35:46.036546692Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-02-22T11:35:46.037404659Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=857.837µs grafana | logger=migrator t=2024-02-22T11:35:46.040822125Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-02-22T11:35:46.041759493Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=936.818µs grafana | logger=migrator t=2024-02-22T11:35:46.047229215Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-02-22T11:35:46.048047701Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=818.576µs grafana | logger=migrator t=2024-02-22T11:35:46.050860573Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-02-22T11:35:46.052309184Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.446931ms grafana | logger=migrator t=2024-02-22T11:35:46.05697743Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-02-22T11:35:46.067703714Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.726104ms grafana | logger=migrator t=2024-02-22T11:35:46.070802588Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-02-22T11:35:46.071617454Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=814.756µs grafana | logger=migrator t=2024-02-22T11:35:46.074528706Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-02-22T11:35:46.075354893Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=825.777µs grafana | logger=migrator t=2024-02-22T11:35:46.079919938Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-02-22T11:35:46.080701824Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=781.286µs grafana | logger=migrator t=2024-02-22T11:35:46.083577327Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-02-22T11:35:46.084377883Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=800.136µs grafana | logger=migrator t=2024-02-22T11:35:46.087418086Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-02-22T11:35:46.091001484Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.584088ms grafana | logger=migrator t=2024-02-22T11:35:46.136045633Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-02-22T11:35:46.139695591Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.650428ms grafana | logger=migrator t=2024-02-22T11:35:46.1434183Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-02-22T11:35:46.14346292Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=37.69µs grafana | logger=migrator t=2024-02-22T11:35:46.147458261Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-02-22T11:35:46.147649842Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=192.531µs grafana | logger=migrator t=2024-02-22T11:35:46.150683146Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-02-22T11:35:46.153569838Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.886632ms grafana | logger=migrator t=2024-02-22T11:35:46.158754508Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-02-22T11:35:46.15900668Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=251.892µs grafana | logger=migrator t=2024-02-22T11:35:46.161991072Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-02-22T11:35:46.162204584Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=213.212µs grafana | logger=migrator t=2024-02-22T11:35:46.165340158Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-02-22T11:35:46.169605631Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.264593ms grafana | logger=migrator t=2024-02-22T11:35:46.176894857Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-02-22T11:35:46.177191359Z level=info msg="Migration successfully executed" id="Update uid value" duration=295.372µs grafana | logger=migrator t=2024-02-22T11:35:46.183333516Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-02-22T11:35:46.184140112Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=806.246µs grafana | logger=migrator t=2024-02-22T11:35:46.187333807Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-02-22T11:35:46.188128913Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=789.046µs grafana | logger=migrator t=2024-02-22T11:35:46.193917727Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-02-22T11:35:46.195045356Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.127029ms grafana | logger=migrator t=2024-02-22T11:35:46.19813256Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-02-22T11:35:46.199393499Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.26049ms grafana | logger=migrator t=2024-02-22T11:35:46.202389252Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-02-22T11:35:46.20338386Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=991.278µs grafana | logger=migrator t=2024-02-22T11:35:46.214476265Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-02-22T11:35:46.216056177Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.580512ms grafana | logger=migrator t=2024-02-22T11:35:46.256743859Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-02-22T11:35:46.258111709Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.36748ms grafana | logger=migrator t=2024-02-22T11:35:46.266182861Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-02-22T11:35:46.267565732Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.385231ms grafana | logger=migrator t=2024-02-22T11:35:46.273456877Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-02-22T11:35:46.274173183Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=716.325µs grafana | logger=migrator t=2024-02-22T11:35:46.277209286Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-02-22T11:35:46.285729251Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.519495ms grafana | logger=migrator t=2024-02-22T11:35:46.292742445Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-02-22T11:35:46.293600652Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=858.097µs grafana | logger=migrator t=2024-02-22T11:35:46.296535724Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-02-22T11:35:46.2973134Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=782.786µs grafana | logger=migrator t=2024-02-22T11:35:46.304532126Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-02-22T11:35:46.306142048Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.609862ms grafana | logger=migrator t=2024-02-22T11:35:46.311507119Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-02-22T11:35:46.312770759Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.26414ms grafana | logger=migrator t=2024-02-22T11:35:46.316990351Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-02-22T11:35:46.317292523Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=302.282µs grafana | logger=migrator t=2024-02-22T11:35:46.329287215Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-02-22T11:35:46.330021831Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=737.186µs grafana | logger=migrator t=2024-02-22T11:35:46.334342174Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-02-22T11:35:46.334402894Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=61.3µs grafana | logger=migrator t=2024-02-22T11:35:46.376575448Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-02-22T11:35:46.381356455Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.774356ms grafana | logger=migrator t=2024-02-22T11:35:46.385866779Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-02-22T11:35:46.38862393Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.751671ms grafana | logger=migrator t=2024-02-22T11:35:46.391776695Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-02-22T11:35:46.391976156Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=199.981µs grafana | logger=migrator t=2024-02-22T11:35:46.396633412Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-02-22T11:35:46.399168451Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.534779ms grafana | logger=migrator t=2024-02-22T11:35:46.403845247Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-02-22T11:35:46.406428587Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.58323ms grafana | logger=migrator t=2024-02-22T11:35:46.410231546Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-02-22T11:35:46.410904281Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=672.745µs grafana | logger=migrator t=2024-02-22T11:35:46.414777461Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-02-22T11:35:46.415349835Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=572.134µs grafana | logger=migrator t=2024-02-22T11:35:46.418457789Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-02-22T11:35:46.419631378Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.173079ms grafana | logger=migrator t=2024-02-22T11:35:46.423301056Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-02-22T11:35:46.424658837Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.356931ms grafana | logger=migrator t=2024-02-22T11:35:46.431116996Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-02-22T11:35:46.432600467Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.485201ms grafana | logger=migrator t=2024-02-22T11:35:46.436030954Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-02-22T11:35:46.43690451Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=873.516µs grafana | logger=migrator t=2024-02-22T11:35:46.439715842Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-02-22T11:35:46.439780663Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=65.621µs grafana | logger=migrator t=2024-02-22T11:35:46.445549987Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-02-22T11:35:46.445577977Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=28.72µs grafana | logger=migrator t=2024-02-22T11:35:46.448401019Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-02-22T11:35:46.45243901Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.029121ms grafana | logger=migrator t=2024-02-22T11:35:46.455801965Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-02-22T11:35:46.458953629Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.151854ms grafana | logger=migrator t=2024-02-22T11:35:46.575298432Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-02-22T11:35:46.575456303Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=161.671µs grafana | logger=migrator t=2024-02-22T11:35:46.579061991Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-02-22T11:35:46.580137139Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.075078ms grafana | logger=migrator t=2024-02-22T11:35:46.583203252Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-02-22T11:35:46.583985928Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=782.246µs grafana | logger=migrator t=2024-02-22T11:35:46.588861666Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-02-22T11:35:46.588898326Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=47.35µs grafana | logger=migrator t=2024-02-22T11:35:46.593031848Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-02-22T11:35:46.594250607Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.218659ms grafana | logger=migrator t=2024-02-22T11:35:46.59859567Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-02-22T11:35:46.599482487Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=881.487µs grafana | logger=migrator t=2024-02-22T11:35:46.602196908Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-02-22T11:35:46.60504439Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.846312ms grafana | logger=migrator t=2024-02-22T11:35:46.640423461Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-02-22T11:35:46.640485792Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=66.781µs grafana | logger=migrator t=2024-02-22T11:35:46.648458003Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-02-22T11:35:46.649831623Z level=info msg="Migration successfully executed" id="create session table" duration=1.37375ms grafana | logger=migrator t=2024-02-22T11:35:46.656346163Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-02-22T11:35:46.656434634Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=87.311µs grafana | logger=migrator t=2024-02-22T11:35:46.661332051Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-02-22T11:35:46.661498913Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=176.832µs grafana | logger=migrator t=2024-02-22T11:35:46.668321795Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-02-22T11:35:46.669315482Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=993.597µs grafana | logger=migrator t=2024-02-22T11:35:46.672602568Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-02-22T11:35:46.673678016Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.070038ms grafana | logger=migrator t=2024-02-22T11:35:46.677113052Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-02-22T11:35:46.677202513Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=90.661µs grafana | logger=migrator t=2024-02-22T11:35:46.683196399Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-02-22T11:35:46.683223189Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=27.82µs grafana | logger=migrator t=2024-02-22T11:35:46.687140999Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-02-22T11:35:46.692374519Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.23299ms grafana | logger=migrator t=2024-02-22T11:35:46.696797393Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-02-22T11:35:46.699857677Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.061844ms grafana | logger=migrator t=2024-02-22T11:35:46.70549311Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-02-22T11:35:46.705592421Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=99.931µs grafana | logger=migrator t=2024-02-22T11:35:46.709726252Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-02-22T11:35:46.709894753Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=163.461µs grafana | logger=migrator t=2024-02-22T11:35:46.714357578Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-02-22T11:35:46.715493337Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.135619ms grafana | logger=migrator t=2024-02-22T11:35:46.720410614Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-02-22T11:35:46.720434794Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=25µs grafana | logger=migrator t=2024-02-22T11:35:46.802259842Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-02-22T11:35:46.807833395Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.572893ms grafana | logger=migrator t=2024-02-22T11:35:46.812115798Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-02-22T11:35:46.812293139Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=175.771µs grafana | logger=migrator t=2024-02-22T11:35:46.815557894Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-02-22T11:35:46.818595857Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.033273ms grafana | logger=migrator t=2024-02-22T11:35:46.826266056Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-02-22T11:35:46.831586027Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.318271ms grafana | logger=migrator t=2024-02-22T11:35:46.836142062Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-02-22T11:35:46.836229792Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=93.41µs grafana | logger=migrator t=2024-02-22T11:35:46.839457107Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-02-22T11:35:46.840488705Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.036388ms grafana | logger=migrator t=2024-02-22T11:35:46.848449006Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-02-22T11:35:46.850134189Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.684863ms grafana | logger=migrator t=2024-02-22T11:35:46.855305059Z level=info msg="Executing migration" id="create alert table v1" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-02-22T11:36:03.535+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 37 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-02-22T11:36:03.538+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-02-22T11:36:04.892+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-02-22T11:36:04.987+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 78 ms. Found 6 JPA repository interfaces. policy-api | [2024-02-22T11:36:06.009+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-02-22T11:36:06.021+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-22T11:36:06.022+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-02-22T11:36:06.022+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-02-22T11:36:06.108+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-02-22T11:36:06.108+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2504 ms policy-api | [2024-02-22T11:36:06.585+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-02-22T11:36:06.650+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-02-22T11:36:06.878+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-02-22T11:36:07.011+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-02-22T11:36:07.126+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-02-22T11:36:07.152+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-02-22T11:36:08.615+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-02-22T11:36:08.635+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-02-22T11:36:09.766+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-02-22T11:36:10.408+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-02-22T11:36:11.423+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@7bec83d5, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4485ca30, org.springframework.security.web.context.SecurityContextPersistenceFilter@9af2a00, org.springframework.security.web.header.HeaderWriterFilter@4cf5cf47, org.springframework.security.web.authentication.logout.LogoutFilter@2416378c, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@780ccdc9, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@50cdaf32, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7b900883, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6415112c, org.springframework.security.web.session.SessionManagementFilter@395065af, org.springframework.security.web.access.ExceptionTranslationFilter@3d44f15d, org.springframework.security.web.access.intercept.AuthorizationFilter@586f1bef] policy-api | [2024-02-22T11:36:11.560+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-02-22T11:36:14.502+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-02-22T11:36:14.536+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-22T11:36:14.568+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-02-22T11:36:14.586+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.819 seconds (JVM running for 12.418) policy-api | [2024-02-22T11:36:21.669+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-02-22T11:36:21.670+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-02-22T11:36:21.671+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-02-22T11:36:24.098+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-02-22T11:36:24.207+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-02-22T11:36:24.527+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2024-02-22T11:36:25.619+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-02-22T11:36:27.658+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-02-22T11:36:28.041+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-02-22T11:36:28.275+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-02-22T11:36:28.566+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-02-22T11:36:28.782+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-02-22T11:36:29.011+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-02-22T11:35:46.857246103Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.938774ms grafana | logger=migrator t=2024-02-22T11:35:46.862106621Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-02-22T11:35:46.863658053Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.552612ms grafana | logger=migrator t=2024-02-22T11:35:46.868982063Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-02-22T11:35:46.869965241Z level=info msg="Migration successfully executed" id="add index alert state" duration=979.138µs grafana | logger=migrator t=2024-02-22T11:35:46.873454928Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-02-22T11:35:46.874543836Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.087318ms grafana | logger=migrator t=2024-02-22T11:35:46.877840091Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-02-22T11:35:46.87890828Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.066979ms grafana | logger=migrator t=2024-02-22T11:35:46.884766655Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-02-22T11:35:46.887092753Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=2.325348ms grafana | logger=migrator t=2024-02-22T11:35:46.954752201Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-02-22T11:35:46.956613515Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.862054ms grafana | logger=migrator t=2024-02-22T11:35:46.962594571Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-02-22T11:35:46.978602204Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=16.010013ms grafana | logger=migrator t=2024-02-22T11:35:46.981414115Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-02-22T11:35:46.98196254Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=548.725µs grafana | logger=migrator t=2024-02-22T11:35:46.985729009Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-02-22T11:35:46.986813357Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.083718ms grafana | logger=migrator t=2024-02-22T11:35:46.994166813Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-02-22T11:35:46.994679377Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=511.674µs grafana | logger=migrator t=2024-02-22T11:35:46.998812149Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-02-22T11:35:46.999346193Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=534.074µs grafana | logger=migrator t=2024-02-22T11:35:47.002676879Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-02-22T11:35:47.003391794Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=715.025µs grafana | logger=migrator t=2024-02-22T11:35:47.008515276Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-02-22T11:35:47.015206629Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.691933ms grafana | logger=migrator t=2024-02-22T11:35:47.020003787Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-02-22T11:35:47.022519338Z level=info msg="Migration successfully executed" id="Add column frequency" duration=2.51154ms grafana | logger=migrator t=2024-02-22T11:35:47.025218259Z level=info msg="Executing migration" id="Add column send_reminder" prometheus | ts=2024-02-22T11:35:44.147Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-02-22T11:35:44.147Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" prometheus | ts=2024-02-22T11:35:44.147Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-02-22T11:35:44.147Z caller=main.go:594 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-02-22T11:35:44.147Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-02-22T11:35:44.147Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-02-22T11:35:44.149Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-02-22T11:35:44.149Z caller=main.go:1039 level=info msg="Starting TSDB ..." prometheus | ts=2024-02-22T11:35:44.153Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-02-22T11:35:44.153Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-02-22T11:35:44.158Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-02-22T11:35:44.158Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.53µs prometheus | ts=2024-02-22T11:35:44.158Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-02-22T11:35:44.159Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-02-22T11:35:44.159Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=54.05µs wal_replay_duration=567.193µs wbl_replay_duration=260ns total_replay_duration=808.394µs prometheus | ts=2024-02-22T11:35:44.161Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-02-22T11:35:44.161Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-02-22T11:35:44.162Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-02-22T11:35:44.163Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.70731ms db_storage=1.2µs remote_storage=1.67µs web_handler=820ns query_engine=1.13µs scrape=909.655µs scrape_sd=129.341µs notify=28.51µs notify_sd=40.39µs rules=1.92µs tracing=6.23µs prometheus | ts=2024-02-22T11:35:44.163Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-02-22T11:35:44.163Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." mariadb | 2024-02-22 11:35:46+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-22 11:35:46+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-02-22 11:35:46+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-22 11:35:46+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-02-22 11:35:46 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-22 11:35:46 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-22 11:35:46 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-02-22 11:35:48+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-02-22 11:35:48+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-02-22 11:35:48+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-02-22 11:35:48 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 94 ... mariadb | 2024-02-22 11:35:48 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-22 11:35:48 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-22 11:35:48 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-22 11:35:48 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-22 11:35:48 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-22 11:35:48 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-22 11:35:48 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-22 11:35:48 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-22 11:35:48 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-22 11:35:48 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-22 11:35:48 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-22 11:35:48 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-22 11:35:48 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-02-22 11:35:48 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-22 11:35:48 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-22 11:35:48 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-22 11:35:48 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-22 11:35:48 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-02-22 11:35:49+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-02-22 11:35:51+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-02-22 11:35:51+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-02-22 11:35:51+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-02-22 11:35:51+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. grafana | logger=migrator t=2024-02-22T11:35:47.029766715Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=4.547906ms grafana | logger=migrator t=2024-02-22T11:35:47.035666883Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-02-22T11:35:47.039255481Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.589439ms grafana | logger=migrator t=2024-02-22T11:35:47.073262564Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-02-22T11:35:47.074230171Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=966.617µs grafana | logger=migrator t=2024-02-22T11:35:47.08027811Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-02-22T11:35:47.080422821Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=146.391µs grafana | logger=migrator t=2024-02-22T11:35:47.084431303Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-02-22T11:35:47.084456934Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=26.571µs grafana | logger=migrator t=2024-02-22T11:35:47.090700283Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-02-22T11:35:47.092480877Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.780204ms grafana | logger=migrator t=2024-02-22T11:35:47.102271635Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-22T11:35:47.103859028Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.588843ms grafana | logger=migrator t=2024-02-22T11:35:47.107967551Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-02-22T11:35:47.108735477Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=760.886µs grafana | logger=migrator t=2024-02-22T11:35:47.159699756Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-02-22T11:35:47.161371909Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.672193ms grafana | logger=migrator t=2024-02-22T11:35:47.215740285Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-22T11:35:47.217211217Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.478862ms grafana | logger=migrator t=2024-02-22T11:35:47.221497491Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-02-22T11:35:47.225352852Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.855501ms grafana | logger=migrator t=2024-02-22T11:35:47.229551726Z level=info msg="Executing migration" id="Add column uid in alert_notification" mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-02-22 11:35:52+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-02-22 11:35:52 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-02-22 11:35:52 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-02-22 11:35:52 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-02-22 11:35:52 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-22 11:35:52 0 [Note] InnoDB: Buffer pool(s) dump completed at 240222 11:35:52 mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: Shutdown completed; log sequence number 331183; transaction id 298 mariadb | 2024-02-22 11:35:53 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-02-22 11:35:53+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-02-22 11:35:53+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-02-22 11:35:53 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-22 11:35:53 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-22 11:35:53 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-22 11:35:53 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: log sequence number 331183; transaction id 299 mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-22 11:35:53 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-22 11:35:53 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-22 11:35:53 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-02-22 11:35:53 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-02-22 11:35:53 0 [Note] Server socket created on IP: '::'. mariadb | 2024-02-22 11:35:53 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-02-22 11:35:53 0 [Note] InnoDB: Buffer pool(s) load completed at 240222 11:35:53 mariadb | 2024-02-22 11:35:54 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-02-22 11:35:54 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2024-02-22T11:35:47.233268446Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.71657ms grafana | logger=migrator t=2024-02-22T11:35:47.240319752Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-02-22T11:35:47.240502274Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=182.802µs grafana | logger=migrator t=2024-02-22T11:35:47.245333923Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-02-22T11:35:47.247084357Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.750184ms grafana | logger=migrator t=2024-02-22T11:35:47.252940803Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-02-22T11:35:47.254535336Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.595023ms grafana | logger=migrator t=2024-02-22T11:35:47.261734314Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-02-22T11:35:47.266800315Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.078691ms grafana | logger=migrator t=2024-02-22T11:35:47.276483192Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-02-22T11:35:47.276677824Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=195.152µs grafana | logger=migrator t=2024-02-22T11:35:47.284649418Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-02-22T11:35:47.285919668Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.27043ms grafana | logger=migrator t=2024-02-22T11:35:47.291340892Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-02-22T11:35:47.292988955Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.648373ms grafana | logger=migrator t=2024-02-22T11:35:47.360828719Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-02-22T11:35:47.36100922Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=181.061µs grafana | logger=migrator t=2024-02-22T11:35:47.367745174Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-02-22T11:35:47.370368585Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=2.623251ms grafana | logger=migrator t=2024-02-22T11:35:47.376865067Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-02-22T11:35:47.378365839Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.500272ms grafana | logger=migrator t=2024-02-22T11:35:47.385401606Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-02-22T11:35:47.387006119Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.606943ms grafana | logger=migrator t=2024-02-22T11:35:47.390729359Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-02-22T11:35:47.391704826Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=975.458µs grafana | logger=migrator t=2024-02-22T11:35:47.396034001Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-02-22T11:35:47.397237911Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.20362ms grafana | logger=migrator t=2024-02-22T11:35:47.405385086Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-02-22T11:35:47.406476445Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.091149ms grafana | logger=migrator t=2024-02-22T11:35:47.413801804Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-02-22T11:35:47.413880904Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=80.55µs grafana | logger=migrator t=2024-02-22T11:35:47.417906517Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-02-22T11:35:47.423632762Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.727056ms grafana | logger=migrator t=2024-02-22T11:35:47.431200143Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-02-22T11:35:47.43211496Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=912.777µs grafana | logger=migrator t=2024-02-22T11:35:47.436295324Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-02-22T11:35:47.442476614Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.17034ms grafana | logger=migrator t=2024-02-22T11:35:47.485159096Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-02-22T11:35:47.486136673Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=980.027µs grafana | logger=migrator t=2024-02-22T11:35:47.492051411Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-02-22T11:35:47.49318325Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.131709ms grafana | logger=migrator t=2024-02-22T11:35:47.495909632Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-02-22T11:35:47.496637408Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=727.256µs grafana | logger=migrator t=2024-02-22T11:35:47.502090442Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-02-22T11:35:47.517191043Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.097131ms grafana | logger=migrator t=2024-02-22T11:35:47.522502095Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-02-22T11:35:47.523187121Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=692.426µs grafana | logger=migrator t=2024-02-22T11:35:47.525874612Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-02-22T11:35:47.526680009Z 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=800.497µs grafana | logger=migrator t=2024-02-22T11:35:47.532732447Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-02-22T11:35:47.53303077Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=298.993µs grafana | logger=migrator t=2024-02-22T11:35:47.537395115Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-02-22T11:35:47.537987009Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=589.564µs grafana | logger=migrator t=2024-02-22T11:35:47.54185283Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-02-22T11:35:47.542027392Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=174.592µs grafana | logger=migrator t=2024-02-22T11:35:47.547333315Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-02-22T11:35:47.551315716Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=3.981711ms grafana | logger=migrator t=2024-02-22T11:35:47.554024978Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-02-22T11:35:47.557677767Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.652359ms grafana | logger=migrator t=2024-02-22T11:35:47.56178292Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-02-22T11:35:47.562601597Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=820.437µs grafana | logger=migrator t=2024-02-22T11:35:47.567695978Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-02-22T11:35:47.568572605Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=876.157µs grafana | logger=migrator t=2024-02-22T11:35:47.62042805Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-02-22T11:35:47.620851244Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=423.554µs grafana | logger=migrator t=2024-02-22T11:35:47.626451029Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-02-22T11:35:47.633725437Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=7.272828ms grafana | logger=migrator t=2024-02-22T11:35:47.636911893Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-02-22T11:35:47.638227013Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.31615ms grafana | logger=migrator t=2024-02-22T11:35:47.64402199Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-02-22T11:35:47.644334332Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=307.162µs grafana | logger=migrator t=2024-02-22T11:35:47.649524704Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-02-22T11:35:47.65023075Z level=info msg="Migration successfully executed" id="Move region to single row" duration=708.926µs grafana | logger=migrator t=2024-02-22T11:35:47.656459479Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-02-22T11:35:47.657312676Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=853.257µs grafana | logger=migrator t=2024-02-22T11:35:47.660401521Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-02-22T11:35:47.661193067Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=791.396µs grafana | logger=migrator t=2024-02-22T11:35:47.664438043Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-22T11:35:47.665331551Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=893.218µs grafana | logger=migrator t=2024-02-22T11:35:47.67144828Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-22T11:35:47.672505788Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.055718ms grafana | logger=migrator t=2024-02-22T11:35:47.675635013Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-02-22T11:35:47.677355227Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.719404ms grafana | logger=migrator t=2024-02-22T11:35:47.680341991Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-02-22T11:35:47.681300979Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=958.558µs grafana | logger=migrator t=2024-02-22T11:35:47.68640064Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-02-22T11:35:47.68646973Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=69.74µs grafana | logger=migrator t=2024-02-22T11:35:47.741217279Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-02-22T11:35:47.742846982Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.629633ms grafana | logger=migrator t=2024-02-22T11:35:47.748003213Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-02-22T11:35:47.749251163Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.25355ms grafana | logger=migrator t=2024-02-22T11:35:47.756728864Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-02-22T11:35:47.757599841Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=871.687µs grafana | logger=migrator t=2024-02-22T11:35:47.761590122Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-02-22T11:35:47.763235516Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.645014ms grafana | logger=migrator t=2024-02-22T11:35:47.766384311Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-02-22T11:35:47.766761424Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=382.233µs grafana | logger=migrator t=2024-02-22T11:35:47.771658073Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-02-22T11:35:47.772003606Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=345.623µs grafana | logger=migrator t=2024-02-22T11:35:47.778308766Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-02-22T11:35:47.778466908Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=154.582µs grafana | logger=migrator t=2024-02-22T11:35:47.782686901Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-02-22T11:35:47.783931512Z level=info msg="Migration successfully executed" id="create team table" duration=1.26706ms grafana | logger=migrator t=2024-02-22T11:35:47.787813543Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-02-22T11:35:47.788776161Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=962.008µs grafana | logger=migrator t=2024-02-22T11:35:47.794664948Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-02-22T11:35:47.79614238Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.476922ms grafana | logger=migrator t=2024-02-22T11:35:47.800651036Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-02-22T11:35:47.805226002Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.574186ms grafana | logger=migrator t=2024-02-22T11:35:47.809682268Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-02-22T11:35:47.8099059Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=223.622µs grafana | logger=migrator t=2024-02-22T11:35:47.815920518Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-02-22T11:35:47.816866866Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=950.738µs grafana | logger=migrator t=2024-02-22T11:35:47.82244098Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-02-22T11:35:47.823150076Z level=info msg="Migration successfully executed" id="create team member table" duration=706.026µs grafana | logger=migrator t=2024-02-22T11:35:47.859173485Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-02-22T11:35:47.861300412Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=2.125747ms grafana | logger=migrator t=2024-02-22T11:35:47.8684804Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-02-22T11:35:47.870025562Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.544892ms grafana | logger=migrator t=2024-02-22T11:35:47.874314967Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-02-22T11:35:47.875724778Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.409631ms grafana | logger=migrator t=2024-02-22T11:35:47.880196364Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-02-22T11:35:47.887530122Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.332358ms grafana | logger=migrator t=2024-02-22T11:35:47.894902122Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-02-22T11:35:47.902087369Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.185767ms grafana | logger=migrator t=2024-02-22T11:35:47.905844589Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-02-22T11:35:47.91346413Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=7.620491ms grafana | logger=migrator t=2024-02-22T11:35:47.91711909Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-02-22T11:35:47.91839226Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.27363ms grafana | logger=migrator t=2024-02-22T11:35:47.924511329Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-02-22T11:35:47.925491327Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=979.848µs grafana | logger=migrator t=2024-02-22T11:35:47.929139626Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-02-22T11:35:47.930158924Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.018858ms grafana | logger=migrator t=2024-02-22T11:35:47.934690401Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-02-22T11:35:47.935742999Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.051968ms grafana | logger=migrator t=2024-02-22T11:35:47.944485489Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-02-22T11:35:47.946136703Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.649674ms grafana | logger=migrator t=2024-02-22T11:35:47.98203583Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-02-22T11:35:47.98322791Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.19582ms grafana | logger=migrator t=2024-02-22T11:35:47.986207194Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-02-22T11:35:47.987265982Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.057548ms grafana | logger=migrator t=2024-02-22T11:35:47.991878929Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-02-22T11:35:47.992943448Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.065139ms grafana | logger=migrator t=2024-02-22T11:35:47.998740724Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-02-22T11:35:47.999287339Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=546.875µs grafana | logger=migrator t=2024-02-22T11:35:48.00402722Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-02-22T11:35:48.004342544Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=315.254µs grafana | logger=migrator t=2024-02-22T11:35:48.010199843Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-02-22T11:35:48.010898341Z level=info msg="Migration successfully executed" id="create tag table" duration=693.628µs grafana | logger=migrator t=2024-02-22T11:35:48.01511115Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-02-22T11:35:48.016189733Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.077893ms grafana | logger=migrator t=2024-02-22T11:35:48.020728186Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-02-22T11:35:48.021864589Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.136163ms grafana | logger=migrator t=2024-02-22T11:35:48.028907271Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-02-22T11:35:48.029876843Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=969.322µs grafana | logger=migrator t=2024-02-22T11:35:48.033245592Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-02-22T11:35:48.034175423Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=929.731µs grafana | logger=migrator t=2024-02-22T11:35:48.038948809Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-22T11:35:48.059775602Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.828963ms grafana | logger=migrator t=2024-02-22T11:35:48.064600068Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-02-22T11:35:48.065160715Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=560.377µs grafana | logger=migrator t=2024-02-22T11:35:48.12014088Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-02-22T11:35:48.122202494Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=2.062364ms grafana | logger=migrator t=2024-02-22T11:35:48.127599398Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-02-22T11:35:48.128149844Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=550.826µs grafana | logger=migrator t=2024-02-22T11:35:48.133181713Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-02-22T11:35:48.133823361Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=641.058µs grafana | logger=migrator t=2024-02-22T11:35:48.137911429Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-02-22T11:35:48.139418857Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.504738ms grafana | logger=migrator t=2024-02-22T11:35:48.145505579Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-02-22T11:35:48.146825074Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.318795ms grafana | logger=migrator t=2024-02-22T11:35:48.152111236Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-02-22T11:35:48.152222098Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=111.572µs grafana | logger=migrator t=2024-02-22T11:35:48.155716199Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-02-22T11:35:48.163107536Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.390477ms grafana | logger=migrator t=2024-02-22T11:35:48.166449945Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-02-22T11:35:48.173800642Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=7.348727ms grafana | logger=migrator t=2024-02-22T11:35:48.180330229Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-02-22T11:35:48.186792125Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.460926ms grafana | logger=migrator t=2024-02-22T11:35:48.191554501Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-02-22T11:35:48.196653891Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.09875ms grafana | logger=migrator t=2024-02-22T11:35:48.202202736Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-02-22T11:35:48.20333785Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.135254ms grafana | logger=migrator t=2024-02-22T11:35:48.282777325Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-02-22T11:35:48.289498734Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.724069ms grafana | logger=migrator t=2024-02-22T11:35:48.294433592Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-02-22T11:35:48.295493645Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.059093ms grafana | logger=migrator t=2024-02-22T11:35:48.301628477Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-02-22T11:35:48.303145835Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.515658ms grafana | logger=migrator t=2024-02-22T11:35:48.308516638Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-02-22T11:35:48.309810873Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.293085ms grafana | logger=migrator t=2024-02-22T11:35:48.313075602Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-02-22T11:35:48.314095934Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.020442ms grafana | logger=migrator t=2024-02-22T11:35:48.320350158Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-02-22T11:35:48.322055277Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.702749ms grafana | logger=migrator t=2024-02-22T11:35:48.326057555Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-02-22T11:35:48.327550952Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.492047ms grafana | logger=migrator t=2024-02-22T11:35:48.330595338Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-02-22T11:35:48.33667542Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.076902ms grafana | logger=migrator t=2024-02-22T11:35:48.341507547Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-02-22T11:35:48.342264535Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=756.028µs grafana | logger=migrator t=2024-02-22T11:35:48.347883112Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-02-22T11:35:48.349224038Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.340035ms grafana | logger=migrator t=2024-02-22T11:35:48.418815807Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-02-22T11:35:48.420478157Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.66354ms grafana | logger=migrator t=2024-02-22T11:35:48.427050354Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-02-22T11:35:48.427896414Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=846.9µs grafana | logger=migrator t=2024-02-22T11:35:48.431104012Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-02-22T11:35:48.432171174Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.065112ms grafana | logger=migrator t=2024-02-22T11:35:48.435602745Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-02-22T11:35:48.435710536Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=109.091µs grafana | logger=migrator t=2024-02-22T11:35:48.441565035Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-02-22T11:35:48.441751897Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=186.202µs grafana | logger=migrator t=2024-02-22T11:35:48.445090717Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-02-22T11:35:48.445891406Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=800.249µs grafana | logger=migrator t=2024-02-22T11:35:48.448913542Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-22T11:35:48.449935843Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.023912ms grafana | logger=migrator t=2024-02-22T11:35:48.453379454Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-22T11:35:48.454945572Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.565798ms grafana | logger=migrator t=2024-02-22T11:35:48.460902183Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-22T11:35:48.460965404Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=63.9µs grafana | logger=migrator t=2024-02-22T11:35:48.463534424Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-22T11:35:48.464514755Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=980.481µs grafana | logger=migrator t=2024-02-22T11:35:48.46745217Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-22T11:35:48.468487702Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.035472ms grafana | logger=migrator t=2024-02-22T11:35:48.474145059Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-22T11:35:48.475387503Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.242314ms grafana | logger=migrator t=2024-02-22T11:35:48.478936225Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-22T11:35:48.480559264Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.622879ms grafana | logger=migrator t=2024-02-22T11:35:48.486434023Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-02-22T11:35:48.493054461Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.620288ms grafana | logger=migrator t=2024-02-22T11:35:48.49636568Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-02-22T11:35:48.497350432Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=984.272µs grafana | logger=migrator t=2024-02-22T11:35:48.500385438Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-02-22T11:35:48.50054724Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=161.352µs grafana | logger=migrator t=2024-02-22T11:35:48.511043773Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-02-22T11:35:48.512397629Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.352786ms grafana | logger=migrator t=2024-02-22T11:35:48.515483765Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-02-22T11:35:48.516961813Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.477138ms grafana | logger=migrator t=2024-02-22T11:35:48.520023799Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-02-22T11:35:48.52095434Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=931.371µs grafana | logger=migrator t=2024-02-22T11:35:48.52610282Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-22T11:35:48.526166461Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=64.081µs grafana | logger=migrator t=2024-02-22T11:35:48.529309998Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-02-22T11:35:48.530673744Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.363086ms grafana | logger=migrator t=2024-02-22T11:35:48.534124325Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-02-22T11:35:48.535591792Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.468957ms grafana | logger=migrator t=2024-02-22T11:35:48.540733193Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-02-22T11:35:48.541906696Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.172613ms grafana | logger=migrator t=2024-02-22T11:35:48.545423488Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-02-22T11:35:48.546465Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.041182ms grafana | logger=migrator t=2024-02-22T11:35:48.55071777Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-02-22T11:35:48.559387743Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=8.668233ms grafana | logger=migrator t=2024-02-22T11:35:48.562780702Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-02-22T11:35:48.563539121Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=758.019µs grafana | logger=migrator t=2024-02-22T11:35:48.566679178Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-02-22T11:35:48.567453577Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=774.499µs grafana | logger=migrator t=2024-02-22T11:35:48.571526255Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-02-22T11:35:48.608742484Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=37.216879ms grafana | logger=migrator t=2024-02-22T11:35:48.680811852Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-02-22T11:35:48.721657923Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=40.845241ms grafana | logger=migrator t=2024-02-22T11:35:48.727542303Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-02-22T11:35:48.728596165Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.052802ms grafana | logger=migrator t=2024-02-22T11:35:48.731511619Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-02-22T11:35:48.732452451Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=938.802µs grafana | logger=migrator t=2024-02-22T11:35:48.738569262Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-02-22T11:35:48.744150218Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.580486ms grafana | logger=migrator t=2024-02-22T11:35:48.748131225Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-02-22T11:35:48.753689771Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.558076ms grafana | logger=migrator t=2024-02-22T11:35:48.756561154Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-02-22T11:35:48.757407824Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=848.18µs grafana | logger=migrator t=2024-02-22T11:35:48.761878467Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-02-22T11:35:48.762825888Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=946.931µs grafana | logger=migrator t=2024-02-22T11:35:48.795651834Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-02-22T11:35:48.797175842Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.523768ms grafana | logger=migrator t=2024-02-22T11:35:48.801495853Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-02-22T11:35:48.803118593Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.62208ms grafana | logger=migrator t=2024-02-22T11:35:48.810007604Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-22T11:35:48.810103975Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=97.171µs grafana | logger=migrator t=2024-02-22T11:35:48.813307773Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-02-22T11:35:48.820467347Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.160114ms grafana | logger=migrator t=2024-02-22T11:35:48.823844517Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-02-22T11:35:48.829635295Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.789478ms grafana | logger=migrator t=2024-02-22T11:35:48.832980734Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-02-22T11:35:48.838668341Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.686957ms grafana | logger=migrator t=2024-02-22T11:35:48.872400348Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-02-22T11:35:48.873625783Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.222725ms grafana | logger=migrator t=2024-02-22T11:35:48.877499599Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-02-22T11:35:48.879037377Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.537488ms grafana | logger=migrator t=2024-02-22T11:35:48.919114108Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-02-22T11:35:48.927127543Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.014475ms grafana | logger=migrator t=2024-02-22T11:35:48.933052163Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-02-22T11:35:48.93878025Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.727717ms grafana | logger=migrator t=2024-02-22T11:35:48.942469533Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-02-22T11:35:48.944172984Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.69536ms grafana | logger=migrator t=2024-02-22T11:35:48.949654898Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-02-22T11:35:48.956727332Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.073234ms grafana | logger=migrator t=2024-02-22T11:35:48.961188504Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-02-22T11:35:48.966925822Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.734318ms grafana | logger=migrator t=2024-02-22T11:35:48.97021634Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-02-22T11:35:48.970278411Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=62.271µs grafana | logger=migrator t=2024-02-22T11:35:48.97356023Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-02-22T11:35:48.97447445Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=913.89µs grafana | logger=migrator t=2024-02-22T11:35:48.978743871Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-02-22T11:35:48.98038119Z 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.636339ms grafana | logger=migrator t=2024-02-22T11:35:48.984023543Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-02-22T11:35:48.98549021Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.467047ms grafana | logger=migrator t=2024-02-22T11:35:48.989643319Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-22T11:35:48.98970358Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=60.531µs grafana | logger=migrator t=2024-02-22T11:35:48.997063476Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-02-22T11:35:49.005087523Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.024757ms grafana | logger=migrator t=2024-02-22T11:35:49.042073268Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-02-22T11:35:49.049726579Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.654181ms grafana | logger=migrator t=2024-02-22T11:35:49.053090186Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-02-22T11:35:49.059120764Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.030398ms grafana | logger=migrator t=2024-02-22T11:35:49.063094006Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-02-22T11:35:49.069207435Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.113019ms grafana | logger=migrator t=2024-02-22T11:35:49.072252259Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-02-22T11:35:49.078321958Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.069299ms grafana | logger=migrator t=2024-02-22T11:35:49.081271211Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-02-22T11:35:49.081335012Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=66.801µs grafana | logger=migrator t=2024-02-22T11:35:49.085237213Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-02-22T11:35:49.085955949Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=718.486µs grafana | logger=migrator t=2024-02-22T11:35:49.089541497Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-02-22T11:35:49.097503801Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=7.962564ms grafana | logger=migrator t=2024-02-22T11:35:49.100969519Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-02-22T11:35:49.101035469Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=67.18µs grafana | logger=migrator t=2024-02-22T11:35:49.104241755Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-02-22T11:35:49.110298743Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.056478ms grafana | logger=migrator t=2024-02-22T11:35:49.114057073Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-02-22T11:35:49.115059241Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.001868ms grafana | logger=migrator t=2024-02-22T11:35:49.119270815Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-02-22T11:35:49.125632316Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.360741ms grafana | logger=migrator t=2024-02-22T11:35:49.180923687Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-02-22T11:35:49.182085467Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.1615ms grafana | logger=migrator t=2024-02-22T11:35:49.186786834Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-02-22T11:35:49.188323976Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.539582ms grafana | logger=migrator t=2024-02-22T11:35:49.191762674Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-02-22T11:35:49.19879309Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.033416ms grafana | logger=migrator t=2024-02-22T11:35:49.202104646Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-02-22T11:35:49.202799332Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=693.956µs grafana | logger=migrator t=2024-02-22T11:35:49.207313138Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-02-22T11:35:49.208295296Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=979.858µs grafana | logger=migrator t=2024-02-22T11:35:49.213316476Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-02-22T11:35:49.214110572Z level=info msg="Migration successfully executed" id="create alert_image table" duration=792.566µs grafana | logger=migrator t=2024-02-22T11:35:49.217722271Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-02-22T11:35:49.219131102Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.405581ms grafana | logger=migrator t=2024-02-22T11:35:49.223943001Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-02-22T11:35:49.224037752Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=95.681µs grafana | logger=migrator t=2024-02-22T11:35:49.22761267Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-02-22T11:35:49.228429987Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=816.557µs grafana | logger=migrator t=2024-02-22T11:35:49.231958075Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-02-22T11:35:49.232881042Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=922.687µs grafana | logger=migrator t=2024-02-22T11:35:49.236967915Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-02-22T11:35:49.237357318Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-02-22T11:35:49.240751915Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-02-22T11:35:49.241083248Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=331.233µs grafana | logger=migrator t=2024-02-22T11:35:49.244465185Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-02-22T11:35:49.246011027Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.541572ms grafana | logger=migrator t=2024-02-22T11:35:49.250592414Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-02-22T11:35:49.256950185Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.357061ms grafana | logger=migrator t=2024-02-22T11:35:49.260416742Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-02-22T11:35:49.261078818Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=662.436µs grafana | logger=migrator t=2024-02-22T11:35:49.264148562Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-02-22T11:35:49.264900178Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=751.236µs grafana | logger=migrator t=2024-02-22T11:35:49.294788777Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-02-22T11:35:49.295959006Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.171919ms grafana | logger=migrator t=2024-02-22T11:35:49.299618825Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-02-22T11:35:49.301197958Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.578703ms grafana | logger=migrator t=2024-02-22T11:35:49.304745606Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-02-22T11:35:49.305709014Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=962.968µs grafana | logger=migrator t=2024-02-22T11:35:49.309690326Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-02-22T11:35:49.309710506Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=20.73µs grafana | logger=migrator t=2024-02-22T11:35:49.313005222Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-02-22T11:35:49.313096503Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=94.111µs grafana | logger=migrator t=2024-02-22T11:35:49.31642375Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-02-22T11:35:49.316800793Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=377.063µs grafana | logger=migrator t=2024-02-22T11:35:49.319581265Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-02-22T11:35:49.320869365Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.28709ms grafana | logger=migrator t=2024-02-22T11:35:49.32529075Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-02-22T11:35:49.32655347Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.26261ms grafana | logger=migrator t=2024-02-22T11:35:49.330163419Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-02-22T11:35:49.376735701Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.573422ms grafana | logger=migrator t=2024-02-22T11:35:49.411505049Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-02-22T11:35:49.42158795Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=10.0846ms grafana | logger=migrator t=2024-02-22T11:35:49.427208344Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-02-22T11:35:49.427352656Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=145.212µs grafana | logger=migrator t=2024-02-22T11:35:49.430668532Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-02-22T11:35:49.476909101Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=46.240339ms grafana | logger=migrator t=2024-02-22T11:35:49.480148947Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-02-22T11:35:49.525867452Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.718095ms grafana | logger=migrator t=2024-02-22T11:35:49.533436192Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-02-22T11:35:49.534188608Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=752.256µs grafana | logger=migrator t=2024-02-22T11:35:49.538624624Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-02-22T11:35:49.539679062Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.054988ms grafana | logger=migrator t=2024-02-22T11:35:49.542741567Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-02-22T11:35:49.542948718Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=207.051µs grafana | logger=migrator t=2024-02-22T11:35:49.546162954Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-02-22T11:35:49.547043051Z level=info msg="Migration successfully executed" id="create permission table" duration=879.357µ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 | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-22T11:35:49.553034309Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-02-22T11:35:49.554594781Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.560112ms grafana | logger=migrator t=2024-02-22T11:35:49.557790467Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-02-22T11:35:49.559530701Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.739104ms grafana | logger=migrator t=2024-02-22T11:35:49.562719876Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-02-22T11:35:49.563571053Z level=info msg="Migration successfully executed" id="create role table" duration=850.687µs grafana | logger=migrator t=2024-02-22T11:35:49.567978378Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-02-22T11:35:49.575178065Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.199297ms grafana | logger=migrator t=2024-02-22T11:35:49.578574902Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-02-22T11:35:49.583788444Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.213182ms grafana | logger=migrator t=2024-02-22T11:35:49.639540308Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-02-22T11:35:49.64108702Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.546512ms grafana | logger=migrator t=2024-02-22T11:35:49.658676021Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-02-22T11:35:49.660376434Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.699923ms grafana | logger=migrator t=2024-02-22T11:35:49.663809682Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-02-22T11:35:49.665436555Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.626083ms grafana | logger=migrator t=2024-02-22T11:35:49.668830912Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-02-22T11:35:49.669665389Z level=info msg="Migration successfully executed" id="create team role table" duration=834.157µs grafana | logger=migrator t=2024-02-22T11:35:49.674071934Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-02-22T11:35:49.675143222Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.069328ms grafana | logger=migrator t=2024-02-22T11:35:49.678362428Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-02-22T11:35:49.679524217Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.161219ms grafana | logger=migrator t=2024-02-22T11:35:49.683056045Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-02-22T11:35:49.684753329Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.696104ms grafana | logger=migrator t=2024-02-22T11:35:49.689157394Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-02-22T11:35:49.690328553Z level=info msg="Migration successfully executed" id="create user role table" duration=1.171769ms grafana | logger=migrator t=2024-02-22T11:35:49.693787181Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-02-22T11:35:49.695395534Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.609453ms grafana | logger=migrator t=2024-02-22T11:35:49.699004752Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-02-22T11:35:49.700038091Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.033099ms grafana | logger=migrator t=2024-02-22T11:35:49.70373583Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-02-22T11:35:49.705219152Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.481602ms grafana | logger=migrator t=2024-02-22T11:35:49.71006295Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-02-22T11:35:49.71126322Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.19992ms grafana | logger=migrator t=2024-02-22T11:35:49.714458435Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-02-22T11:35:49.715486824Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.028039ms grafana | logger=migrator t=2024-02-22T11:35:49.719579366Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-02-22T11:35:49.721063628Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.477922ms grafana | logger=migrator t=2024-02-22T11:35:49.724535696Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-02-22T11:35:49.733285016Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.75ms grafana | logger=migrator t=2024-02-22T11:35:49.736403121Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-02-22T11:35:49.737410998Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.007947ms grafana | logger=migrator t=2024-02-22T11:35:49.741295079Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-02-22T11:35:49.742335078Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.039939ms grafana | logger=migrator t=2024-02-22T11:35:49.778558436Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 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 | -------------- grafana | logger=migrator t=2024-02-22T11:35:49.78031196Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.753734ms grafana | logger=migrator t=2024-02-22T11:35:49.783685637Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-02-22T11:35:49.785566802Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.883395ms grafana | logger=migrator t=2024-02-22T11:35:49.79149186Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-02-22T11:35:49.792252896Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=760.276µs grafana | logger=migrator t=2024-02-22T11:35:49.7965117Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-02-22T11:35:49.79774933Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.2349ms grafana | logger=migrator t=2024-02-22T11:35:49.802328006Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-02-22T11:35:49.810208219Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.878693ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-02-22T11:35:49.815114648Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-02-22T11:35:49.823263453Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.147005ms grafana | logger=migrator t=2024-02-22T11:35:49.826431498Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-02-22T11:35:49.832204514Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.772096ms grafana | logger=migrator t=2024-02-22T11:35:49.835322599Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-02-22T11:35:49.843245522Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.924473ms grafana | logger=migrator t=2024-02-22T11:35:49.847435846Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-02-22T11:35:49.848638875Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.202999ms grafana | logger=migrator t=2024-02-22T11:35:49.85179946Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-02-22T11:35:49.852733048Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=933.638µs grafana | logger=migrator t=2024-02-22T11:35:49.856099765Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-02-22T11:35:49.857324635Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.22477ms grafana | logger=migrator t=2024-02-22T11:35:49.861386287Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-02-22T11:35:49.861483268Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=96.28µs grafana | logger=migrator t=2024-02-22T11:35:49.895188916Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-02-22T11:35:49.895239546Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=50.23µs grafana | logger=migrator t=2024-02-22T11:35:49.899060947Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-02-22T11:35:49.900008675Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=949.598µs grafana | logger=migrator t=2024-02-22T11:35:49.903568173Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-02-22T11:35:49.90447054Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=904.367µs grafana | logger=migrator t=2024-02-22T11:35:49.909303339Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-02-22T11:35:49.909991284Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=686.985µs grafana | logger=migrator t=2024-02-22T11:35:49.913489972Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-02-22T11:35:49.913741334Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=250.722µs grafana | logger=migrator t=2024-02-22T11:35:49.917160662Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-02-22T11:35:49.917578505Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=417.773µs grafana | logger=migrator t=2024-02-22T11:35:49.92080139Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-02-22T11:35:49.921915449Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.112269ms grafana | logger=migrator t=2024-02-22T11:35:49.926609847Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-02-22T11:35:49.928581762Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.971155ms grafana | logger=migrator t=2024-02-22T11:35:49.932168881Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-02-22T11:35:49.940008864Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.840233ms grafana | logger=migrator t=2024-02-22T11:35:49.943470941Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-02-22T11:35:49.943543802Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=73.501µs grafana | logger=migrator t=2024-02-22T11:35:49.947610414Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-02-22T11:35:49.948590402Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=981.618µs grafana | logger=migrator t=2024-02-22T11:35:49.951814128Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-02-22T11:35:49.953156738Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.34235ms grafana | logger=migrator t=2024-02-22T11:35:50.048769832Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-02-22T11:35:50.049925061Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.154929ms grafana | logger=migrator t=2024-02-22T11:35:50.068423665Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-02-22T11:35:50.078540113Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.120008ms grafana | logger=migrator t=2024-02-22T11:35:50.090058673Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-02-22T11:35:50.091227342Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.167249ms grafana | logger=migrator t=2024-02-22T11:35:50.096084539Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-02-22T11:35:50.097847033Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.762264ms grafana | logger=migrator t=2024-02-22T11:35:50.140574715Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-22T11:35:50.17216738Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.594125ms grafana | logger=migrator t=2024-02-22T11:35:50.19789193Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-02-22T11:35:50.198894427Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.002227ms grafana | logger=migrator t=2024-02-22T11:35:50.203786605Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-02-22T11:35:50.205040325Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.25329ms policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-22T11:35:50.20821745Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-02-22T11:35:50.20950814Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.28961ms grafana | logger=migrator t=2024-02-22T11:35:50.212670185Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-02-22T11:35:50.213880514Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.210509ms grafana | logger=migrator t=2024-02-22T11:35:50.217695524Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-02-22T11:35:50.217995166Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=299.332µs grafana | logger=migrator t=2024-02-22T11:35:50.22113108Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-02-22T11:35:50.221971177Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=839.917µs grafana | logger=migrator t=2024-02-22T11:35:50.225600545Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-02-22T11:35:50.235620743Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.021448ms grafana | logger=migrator t=2024-02-22T11:35:50.239574434Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-02-22T11:35:50.2403913Z level=info msg="Migration successfully executed" id="create entity_events table" duration=805.856µs grafana | logger=migrator t=2024-02-22T11:35:50.243378243Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-02-22T11:35:50.24433632Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=956.277µs grafana | logger=migrator t=2024-02-22T11:35:50.248708524Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-02-22T11:35:50.249253689Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-02-22T11:35:50.252537984Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-02-22T11:35:50.253062638Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-02-22T11:35:50.256512255Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-02-22T11:35:50.257805955Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.29366ms grafana | logger=migrator t=2024-02-22T11:35:50.261940957Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-02-22T11:35:50.263419599Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.478652ms grafana | logger=migrator t=2024-02-22T11:35:50.267729742Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-02-22T11:35:50.269465046Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.732374ms grafana | logger=migrator t=2024-02-22T11:35:50.272771521Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-02-22T11:35:50.273969101Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.1972ms grafana | logger=migrator t=2024-02-22T11:35:50.276866023Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-02-22T11:35:50.277989262Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.122329ms grafana | logger=migrator t=2024-02-22T11:35:50.282307645Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-02-22T11:35:50.283637805Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.33021ms grafana | logger=migrator t=2024-02-22T11:35:50.336507596Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-02-22T11:35:50.337711515Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.203739ms grafana | logger=migrator t=2024-02-22T11:35:50.342337001Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-02-22T11:35:50.343902293Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.566132ms grafana | logger=migrator t=2024-02-22T11:35:50.34728875Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-02-22T11:35:50.348414939Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.125709ms grafana | logger=migrator t=2024-02-22T11:35:50.35240193Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-02-22T11:35:50.353555239Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.154069ms grafana | logger=migrator t=2024-02-22T11:35:50.357419829Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-02-22T11:35:50.358563447Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.143338ms grafana | logger=migrator t=2024-02-22T11:35:50.361785942Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-02-22T11:35:50.394422386Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.636864ms grafana | logger=migrator t=2024-02-22T11:35:50.398555828Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-02-22T11:35:50.405185169Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.628711ms grafana | logger=migrator t=2024-02-22T11:35:50.408620616Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-02-22T11:35:50.417037492Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.416446ms grafana | logger=migrator t=2024-02-22T11:35:50.419915704Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-02-22T11:35:50.420082935Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=167.331µs grafana | logger=migrator t=2024-02-22T11:35:50.461073293Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-02-22T11:35:50.471553165Z level=info msg="Migration successfully executed" id="add share column" duration=10.481032ms grafana | logger=migrator t=2024-02-22T11:35:50.47607776Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-02-22T11:35:50.476283202Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=205.372µs grafana | logger=migrator t=2024-02-22T11:35:50.479614247Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-02-22T11:35:50.480422574Z level=info msg="Migration successfully executed" id="create file table" duration=808.187µs grafana | logger=migrator t=2024-02-22T11:35:50.48386661Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-02-22T11:35:50.485670894Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.803774ms grafana | logger=migrator t=2024-02-22T11:35:50.490653943Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-02-22T11:35:50.491915033Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.26172ms grafana | logger=migrator t=2024-02-22T11:35:50.495261029Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-02-22T11:35:50.495967334Z level=info msg="Migration successfully executed" id="create file_meta table" duration=705.935µs grafana | logger=migrator t=2024-02-22T11:35:50.499084299Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-02-22T11:35:50.500307898Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.220679ms grafana | logger=migrator t=2024-02-22T11:35:50.505579479Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-02-22T11:35:50.50566835Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=89.201µs grafana | logger=migrator t=2024-02-22T11:35:50.508794514Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-02-22T11:35:50.508925795Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=134.771µs grafana | logger=migrator t=2024-02-22T11:35:50.512401562Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-02-22T11:35:50.513305529Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=904.117µs grafana | logger=migrator t=2024-02-22T11:35:50.516605334Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-02-22T11:35:50.516841416Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=236.172µs grafana | logger=migrator t=2024-02-22T11:35:50.520855367Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-02-22T11:35:50.521663114Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=807.637µs grafana | logger=migrator t=2024-02-22T11:35:50.524944229Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-02-22T11:35:50.535630652Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=10.685183ms grafana | logger=migrator t=2024-02-22T11:35:50.574341983Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-02-22T11:35:50.574611465Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=270.402µs grafana | logger=migrator t=2024-02-22T11:35:50.578525845Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-02-22T11:35:50.58038942Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.860475ms grafana | logger=migrator t=2024-02-22T11:35:50.584879575Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-02-22T11:35:50.585294858Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=415.873µs grafana | logger=migrator t=2024-02-22T11:35:50.588772715Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-02-22T11:35:50.588989707Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=217.422µs grafana | logger=migrator t=2024-02-22T11:35:50.592499764Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-02-22T11:35:50.59326023Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=760.786µs grafana | logger=migrator t=2024-02-22T11:35:50.597985106Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-02-22T11:35:50.607220488Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.236002ms grafana | logger=migrator t=2024-02-22T11:35:50.610164011Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-02-22T11:35:50.616341849Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.177018ms grafana | logger=migrator t=2024-02-22T11:35:50.619492274Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-02-22T11:35:50.620597652Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.104928ms grafana | logger=migrator t=2024-02-22T11:35:50.624775715Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-02-22T11:35:50.730440284Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=105.665039ms grafana | logger=migrator t=2024-02-22T11:35:50.735234491Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-02-22T11:35:50.736162159Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=926.698µs grafana | logger=migrator t=2024-02-22T11:35:50.739380823Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-02-22T11:35:50.740559503Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.17835ms grafana | logger=migrator t=2024-02-22T11:35:50.744941777Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-02-22T11:35:50.777957623Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=33.015646ms grafana | logger=migrator t=2024-02-22T11:35:50.879751003Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-02-22T11:35:50.880217257Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=467.444µs grafana | logger=migrator t=2024-02-22T11:35:50.885398427Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-02-22T11:35:50.88577964Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=381.533µs grafana | logger=migrator t=2024-02-22T11:35:50.890617188Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-02-22T11:35:50.891012601Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=395.493µs grafana | logger=migrator t=2024-02-22T11:35:50.924093678Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-02-22T11:35:50.925566759Z level=info msg="Migration successfully executed" id="create folder table" duration=1.473562ms grafana | logger=migrator t=2024-02-22T11:35:50.931834078Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-02-22T11:35:50.933959234Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.128806ms grafana | logger=migrator t=2024-02-22T11:35:50.93860804Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-02-22T11:35:50.93980559Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.197ms grafana | logger=migrator t=2024-02-22T11:35:50.944245094Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-02-22T11:35:50.944274774Z level=info msg="Migration successfully executed" id="Update folder title length" duration=28.41µs grafana | logger=migrator t=2024-02-22T11:35:50.947781122Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-22T11:35:50.95020268Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.420628ms grafana | logger=migrator t=2024-02-22T11:35:50.954675225Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-22T11:35:50.955745063Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.069798ms grafana | logger=migrator t=2024-02-22T11:35:50.959334681Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-02-22T11:35:50.960540201Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.20449ms grafana | logger=migrator t=2024-02-22T11:35:50.963764606Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-02-22T11:35:50.96427039Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=505.974µs grafana | logger=migrator t=2024-02-22T11:35:50.968405612Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-02-22T11:35:50.968695234Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=289.922µs grafana | logger=migrator t=2024-02-22T11:35:50.971191973Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-02-22T11:35:50.972593874Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.400071ms grafana | logger=migrator t=2024-02-22T11:35:50.976487024Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-02-22T11:35:50.977869945Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.383651ms grafana | logger=migrator t=2024-02-22T11:35:50.981955007Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-02-22T11:35:50.983075915Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.120398ms grafana | logger=migrator t=2024-02-22T11:35:50.98617656Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-02-22T11:35:50.986992796Z level=info msg="Migration successfully executed" id="create signing_key table" duration=815.956µs grafana | logger=migrator t=2024-02-22T11:35:50.990181351Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-02-22T11:35:50.99136057Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.177719ms grafana | logger=migrator t=2024-02-22T11:35:50.995760074Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-02-22T11:35:50.996933973Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.173799ms grafana | logger=migrator t=2024-02-22T11:35:51.000167368Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-02-22T11:35:51.000549301Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=382.363µs grafana | logger=migrator t=2024-02-22T11:35:51.004031228Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-02-22T11:35:51.015513467Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.483109ms grafana | logger=migrator t=2024-02-22T11:35:51.059487629Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-02-22T11:35:51.060530757Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=1.043908ms grafana | logger=migrator t=2024-02-22T11:35:51.064388737Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-02-22T11:35:51.065896049Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.508972ms grafana | logger=migrator t=2024-02-22T11:35:51.069251705Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-02-22T11:35:51.070216082Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=965.037µs grafana | logger=migrator t=2024-02-22T11:35:51.074923219Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-02-22T11:35:51.076133718Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.212639ms grafana | logger=migrator t=2024-02-22T11:35:51.080321271Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-02-22T11:35:51.080814475Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=494.504µs grafana | logger=migrator t=2024-02-22T11:35:51.085896014Z level=info msg="migrations completed" performed=526 skipped=0 duration=5.96994255s grafana | logger=sqlstore t=2024-02-22T11:35:51.096598507Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-02-22T11:35:51.096881999Z level=info msg="Created default organization" grafana | logger=secrets t=2024-02-22T11:35:51.102414432Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-02-22T11:35:51.119965428Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-02-22T11:35:51.157998094Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-02-22T11:35:51.158064825Z level=info msg="Plugins loaded" count=55 duration=38.100017ms grafana | logger=query_data t=2024-02-22T11:35:51.166129037Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-02-22T11:35:51.171334557Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-02-22T11:35:51.233681712Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-02-22T11:35:51.235121033Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-02-22T11:35:51.236604215Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-22T11:35:51.239994491Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-02-22T11:35:51.35968775Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-02-22T11:35:51.362114839Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-02-22T11:35:51.374046092Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-02-22T11:35:51.374073472Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-02-22T11:35:51.374363914Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-02-22T11:35:51.374745367Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-02-22T11:35:51.37641287Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-02-22T11:35:51.377642779Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana-apiserver t=2024-02-22T11:35:51.380633733Z level=info msg="Authentication is disabled" grafana | logger=grafana-apiserver t=2024-02-22T11:35:51.383861068Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=sqlstore.transactions t=2024-02-22T11:35:51.416981245Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=plugins.update.checker t=2024-02-22T11:35:51.456818304Z level=info msg="Update check succeeded" duration=81.22624ms grafana | logger=ngalert.state.manager t=2024-02-22T11:35:51.462085495Z level=info msg="State cache has been initialized" states=0 duration=87.337228ms grafana | logger=ngalert.scheduler t=2024-02-22T11:35:51.462371387Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-02-22T11:35:51.46269404Z level=info msg=starting first_tick=2024-02-22T11:36:00Z grafana | logger=grafana.update.checker t=2024-02-22T11:35:51.521119794Z level=info msg="Update check succeeded" duration=146.69654ms grafana | logger=infra.usagestats t=2024-02-22T11:36:24.383877751Z level=info msg="Usage stats are ready to report" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | 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 2202241135540800u 1 2024-02-22 11:35:54 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:54 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:54 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:54 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:54 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:54 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:54 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:54 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:55 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:56 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:57 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:58 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:59 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:59 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:59 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:59 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:59 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:59 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:59 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:59 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:59 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2202241135540800u 1 2024-02-22 11:35:59 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:35:59 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:35:59 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:35:59 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:35:59 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:36:00 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:36:00 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:36:00 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:36:00 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:36:00 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:36:00 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:36:00 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:36:00 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2202241135540900u 1 2024-02-22 11:36:00 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2202241135541000u 1 2024-02-22 11:36:00 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2202241135541000u 1 2024-02-22 11:36:00 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2202241135541000u 1 2024-02-22 11:36:00 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2202241135541000u 1 2024-02-22 11:36:00 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2202241135541000u 1 2024-02-22 11:36:00 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2202241135541000u 1 2024-02-22 11:36:00 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2202241135541000u 1 2024-02-22 11:36:00 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2202241135541000u 1 2024-02-22 11:36:00 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2202241135541000u 1 2024-02-22 11:36:01 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2202241135541100u 1 2024-02-22 11:36:01 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2202241135541200u 1 2024-02-22 11:36:01 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2202241135541200u 1 2024-02-22 11:36:01 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2202241135541200u 1 2024-02-22 11:36:01 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2202241135541200u 1 2024-02-22 11:36:01 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing 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.ttKFyRZIMM ]] + rsync -av /tmp/tmp.ttKFyRZIMM/ /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,749 bytes received 95 bytes 2,693,688.00 bytes/sec total size is 1,346,099 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 2122 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13374545980832987668.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins890228097045942892.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12316194557869049574.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-CbOB from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-CbOB/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4633548051097915001.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config10422200926087228505tmp 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/jenkins18445379586632897085.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17535706799320493504.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-CbOB from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-CbOB/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10350073001423035630.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8410024798154622857.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-CbOB from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-CbOB/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/jenkins789197788121997921.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-CbOB from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-CbOB/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/279 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-7689 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 849 27435 0 3881 30861 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:4a:1f:4d brd ff:ff:ff:ff:ff:ff inet 10.30.107.66/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86032sec preferred_lft 86032sec inet6 fe80::f816:3eff:fe4a:1f4d/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:6d:ec:a4:8b 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-7689) 02/22/24 _x86_64_ (8 CPU) 11:32:24 LINUX RESTART (8 CPU) 11:33:01 tps rtps wtps bread/s bwrtn/s 11:34:01 107.83 41.73 66.11 1902.48 19335.31 11:35:01 114.18 19.63 94.55 2287.22 24648.03 11:36:01 379.47 16.70 362.77 1280.92 74588.19 11:37:01 19.10 0.43 18.66 38.39 13936.56 11:38:01 42.94 1.35 41.59 104.92 15957.02 Average: 132.70 15.97 116.74 1122.79 29693.02 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30116092 31672048 2823128 8.57 66748 1802004 1421624 4.18 896088 1638704 133712 11:35:01 29818444 31730676 3120776 9.47 85272 2122828 1332000 3.92 853196 1942004 139284 11:36:01 27952520 31491648 4986700 15.14 125660 3642448 3238936 9.53 1215968 3322252 2100 11:37:01 26963312 30530292 5975908 18.14 125988 3644284 4477636 13.17 2211480 3314188 144 11:38:01 28127804 31631424 4811416 14.61 128276 3613800 1445776 4.25 1142992 3245664 45588 Average: 28595634 31411218 4343586 13.19 106389 2965073 2383194 7.01 1263945 2692562 64166 11:33:01 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 lo 1.40 1.40 0.15 0.15 0.00 0.00 0.00 0.00 11:34:01 ens3 153.27 113.01 992.89 42.04 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 lo 1.73 1.73 0.17 0.17 0.00 0.00 0.00 0.00 11:35:01 ens3 57.16 42.53 769.53 9.11 0.00 0.00 0.00 0.00 11:36:01 veth292b1d6 37.54 30.26 4.42 2.96 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 lo 8.50 8.50 0.77 0.77 0.00 0.00 0.00 0.00 11:36:01 ens3 274.52 172.32 8569.75 13.64 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 lo 9.62 9.62 8.26 8.26 0.00 0.00 0.00 0.00 11:37:01 ens3 9.32 6.72 1.99 1.81 0.00 0.00 0.00 0.00 11:37:01 veth443486e 0.18 0.50 0.02 0.49 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 lo 8.88 8.88 0.73 0.73 0.00 0.00 0.00 0.00 11:38:01 ens3 64.07 50.32 72.51 33.68 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: lo 6.03 6.03 2.01 2.01 0.00 0.00 0.00 0.00 Average: ens3 111.67 76.98 2081.33 20.06 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-7689) 02/22/24 _x86_64_ (8 CPU) 11:32:24 LINUX RESTART (8 CPU) 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 10.60 0.00 1.05 2.86 0.05 85.43 11:34:01 0 4.13 0.00 0.60 3.51 0.02 91.74 11:34:01 1 19.48 0.00 0.58 3.36 0.10 76.46 11:34:01 2 35.95 0.00 2.50 2.18 0.09 59.29 11:34:01 3 4.45 0.00 0.55 0.72 0.03 94.25 11:34:01 4 7.42 0.00 0.41 0.22 0.03 91.92 11:34:01 5 2.36 0.00 1.67 9.46 0.03 86.47 11:34:01 6 2.02 0.00 0.46 3.10 0.05 94.36 11:34:01 7 9.18 0.00 1.63 0.32 0.03 88.84 11:35:01 all 9.47 0.00 0.68 3.51 0.03 86.32 11:35:01 0 0.23 0.00 0.28 1.97 0.02 97.50 11:35:01 1 16.45 0.00 0.65 2.30 0.07 80.53 11:35:01 2 17.47 0.00 0.92 1.37 0.03 80.22 11:35:01 3 12.92 0.00 0.98 4.52 0.03 81.54 11:35:01 4 6.19 0.00 0.50 0.03 0.02 93.26 11:35:01 5 5.79 0.00 0.52 8.46 0.02 85.21 11:35:01 6 1.69 0.00 0.38 8.88 0.03 89.01 11:35:01 7 14.97 0.00 1.15 0.52 0.02 83.34 11:36:01 all 7.31 0.00 3.18 7.81 0.06 81.64 11:36:01 0 4.18 0.00 2.42 11.86 0.03 81.51 11:36:01 1 8.21 0.00 3.04 1.18 0.07 87.50 11:36:01 2 9.47 0.00 3.09 3.41 0.07 83.97 11:36:01 3 7.08 0.00 3.63 6.22 0.05 83.02 11:36:01 4 6.51 0.00 3.12 31.68 0.07 58.62 11:36:01 5 9.13 0.00 3.75 2.00 0.05 85.07 11:36:01 6 6.10 0.00 3.69 4.57 0.07 85.57 11:36:01 7 7.88 0.00 2.67 1.57 0.05 87.84 11:37:01 all 15.37 0.00 1.15 0.83 0.04 82.61 11:37:01 0 12.81 0.00 1.00 0.15 0.03 86.00 11:37:01 1 20.30 0.00 1.62 0.03 0.05 77.99 11:37:01 2 22.03 0.00 1.86 0.00 0.03 76.08 11:37:01 3 15.43 0.00 0.87 0.02 0.05 83.63 11:37:01 4 17.95 0.00 1.03 6.15 0.03 74.83 11:37:01 5 9.33 0.00 0.87 0.02 0.03 89.75 11:37:01 6 12.24 0.00 0.95 0.20 0.05 86.56 11:37:01 7 12.84 0.00 1.00 0.05 0.07 86.04 11:38:01 all 3.67 0.00 0.51 1.13 0.02 94.67 11:38:01 0 1.32 0.00 0.52 0.15 0.02 98.00 11:38:01 1 1.05 0.00 0.40 0.17 0.00 98.38 11:38:01 2 1.69 0.00 0.38 0.18 0.02 97.73 11:38:01 3 1.10 0.00 0.37 0.05 0.02 98.47 11:38:01 4 2.50 0.00 0.53 6.80 0.03 90.14 11:38:01 5 17.36 0.00 0.93 0.32 0.05 81.34 11:38:01 6 1.04 0.00 0.42 0.70 0.03 97.81 11:38:01 7 3.24 0.00 0.48 0.63 0.03 95.61 Average: all 9.28 0.00 1.31 3.22 0.04 86.15 Average: 0 4.53 0.00 0.96 3.52 0.02 90.96 Average: 1 13.07 0.00 1.26 1.40 0.06 84.22 Average: 2 17.26 0.00 1.74 1.42 0.05 79.53 Average: 3 8.21 0.00 1.28 2.31 0.04 88.16 Average: 4 8.12 0.00 1.11 8.94 0.04 81.78 Average: 5 8.82 0.00 1.54 4.04 0.04 85.57 Average: 6 4.63 0.00 1.18 3.49 0.05 90.65 Average: 7 9.63 0.00 1.38 0.62 0.04 88.33