Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-14165 (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-YF8xrNHOPHkT/agent.2070 SSH_AGENT_PID=2072 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_10227838531258720416.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_10227838531258720416.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/jenkins9899776111962457627.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-dJ5A 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-dJ5A/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-dJ5A/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.23 botocore==1.34.23 bs4==0.0.2 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.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.5.0 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.26.2 httplib2==0.22.0 identify==2.5.33 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.8 lxml==5.1.0 MarkupSafe==2.1.4 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.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.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.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.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 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/jenkins7822956746019316701.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/jenkins3518752578058058751.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.5OZJi9zqRe ++ echo ROBOT_VENV=/tmp/tmp.5OZJi9zqRe +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.5OZJi9zqRe ++ source /tmp/tmp.5OZJi9zqRe/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.5OZJi9zqRe +++ 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.5OZJi9zqRe/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.5OZJi9zqRe) ' '!=' x ']' +++ PS1='(tmp.5OZJi9zqRe) ' +++ 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==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==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.5OZJi9zqRe/src/onap ++ rm -rf /tmp/tmp.5OZJi9zqRe/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==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==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.5OZJi9zqRe/bin/activate + '[' -z /tmp/tmp.5OZJi9zqRe/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.5OZJi9zqRe/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.5OZJi9zqRe ++ 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.5OZJi9zqRe/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.5OZJi9zqRe) ' ++ '[' 'x(tmp.5OZJi9zqRe) ' '!=' x ']' ++ PS1='(tmp.5OZJi9zqRe) (tmp.5OZJi9zqRe) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + 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.rbBs2edKIL + cd /tmp/tmp.rbBs2edKIL + 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:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:36:21 up 3 min, 0 users, load average: 3.21, 1.11, 0.42 Tasks: 181 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.7 us, 2.4 sy, 0.0 ni, 82.3 id, 3.5 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.1G 25G 1.0M 3.8G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS fde0f026687d policy-api 0.64% 1.096GiB / 31.41GiB 3.49% 1.04MB / 739kB 0B / 0B 50 6e7eb2a46fde grafana 0.03% 50.07MiB / 31.41GiB 0.16% 18.5kB / 3.09kB 0B / 23.7MB 17 e2193cbc29ee mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 10.9MB / 67.6MB 25 43ba7b4db82c prometheus 0.00% 18.21MiB / 31.41GiB 0.06% 1.38kB / 0B 229kB / 0B 12 + echo + cd /tmp/tmp.rbBs2edKIL + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + 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.rbBs2edKIL/output.xml Log: /tmp/tmp.rbBs2edKIL/log.html Report: /tmp/tmp.rbBs2edKIL/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:32 up 4 min, 0 users, load average: 1.08, 0.91, 0.40 Tasks: 179 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.7 us, 1.9 sy, 0.0 ni, 85.5 id, 2.9 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.1G 25G 1.0M 3.8G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS fde0f026687d policy-api 0.12% 1.184GiB / 31.41GiB 3.77% 7.32MB / 2.87MB 0B / 0B 52 6e7eb2a46fde grafana 0.02% 50.66MiB / 31.41GiB 0.16% 19.7kB / 4.28kB 0B / 23.7MB 17 e2193cbc29ee mariadb 0.02% 101.1MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 10.9MB / 67.7MB 18 43ba7b4db82c prometheus 0.00% 23.82MiB / 31.41GiB 0.07% 38.1kB / 7.12kB 229kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-01-22T11:35:53.214070581Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2024-01-22T11:35:53.214287163Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-22T11:35:53.214294013Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-22T11:35:53.214297733Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-22T11:35:53.214300873Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-22T11:35:53.214303793Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-22T11:35:53.214306613Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-22T11:35:53.214309443Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-22T11:35:53.214312643Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-22T11:35:53.214315813Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-22T11:35:53.214319183Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-22T11:35:53.214321903Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-22T11:35:53.214324823Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-22T11:35:53.214329413Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-22T11:35:53.214332153Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-22T11:35:53.214335183Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-22T11:35:53.214337913Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-22T11:35:53.214341513Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-22T11:35:53.214344693Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-22T11:35:53.214600206Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-22T11:35:53.214618646Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-22T11:35:53.215195432Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-22T11:35:53.216136571Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-22T11:35:53.216846948Z level=info msg="Migration successfully executed" id="create migration_log table" duration=710.187µs grafana | logger=migrator t=2024-01-22T11:35:53.220789618Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-22T11:35:53.221239132Z level=info msg="Migration successfully executed" id="create user table" duration=449.384µs grafana | logger=migrator t=2024-01-22T11:35:53.225082281Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-22T11:35:53.225634846Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=550.045µs grafana | logger=migrator t=2024-01-22T11:35:53.231292663Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-22T11:35:53.232329103Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.03598ms grafana | logger=migrator t=2024-01-22T11:35:53.236221832Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-22T11:35:53.237167182Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=945µs grafana | logger=migrator t=2024-01-22T11:35:53.240781158Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-22T11:35:53.241751168Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=966.64µs grafana | logger=migrator t=2024-01-22T11:35:53.24700279Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-22T11:35:53.249714227Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.710917ms grafana | logger=migrator t=2024-01-22T11:35:53.253028881Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-22T11:35:53.253697427Z level=info msg="Migration successfully executed" id="create user table v2" duration=668.496µs grafana | logger=migrator t=2024-01-22T11:35:53.257038151Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-22T11:35:53.257740838Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=702.157µs grafana | logger=migrator t=2024-01-22T11:35:53.263217063Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-22T11:35:53.264262183Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.04465ms grafana | logger=migrator t=2024-01-22T11:35:53.267783398Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-22T11:35:53.268358814Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=575.206µs grafana | logger=migrator t=2024-01-22T11:35:53.271545246Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-22T11:35:53.271995101Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=449.475µs grafana | logger=migrator t=2024-01-22T11:35:53.275148382Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-22T11:35:53.276178212Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.02953ms grafana | logger=migrator t=2024-01-22T11:35:53.28097589Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-22T11:35:53.281012771Z level=info msg="Migration successfully executed" id="Update user table charset" duration=37.881µs grafana | logger=migrator t=2024-01-22T11:35:53.283745708Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-22T11:35:53.285388055Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.640207ms grafana | logger=migrator t=2024-01-22T11:35:53.288569367Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-22T11:35:53.288761228Z level=info msg="Migration successfully executed" id="Add missing user data" duration=191.821µs grafana | logger=migrator t=2024-01-22T11:35:53.291196573Z level=info msg="Executing migration" id="Add is_disabled column to user" mariadb | 2024-01-22 11:35:54+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-22 11:35:54+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-22 11:35:54+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-22 11:35:54+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-22 11:35:54 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-22 11:35:54 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-22 11:35:54 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-01-22 11:35:56+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-22 11:35:56+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-22 11:35:56+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-22 11:35:56 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 93 ... mariadb | 2024-01-22 11:35:56 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-22 11:35:56 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-22 11:35:56 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-01-22T11:35:53.292238653Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.04203ms grafana | logger=migrator t=2024-01-22T11:35:53.297042851Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-22T11:35:53.298129002Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.085091ms grafana | logger=migrator t=2024-01-22T11:35:53.301723858Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-22T11:35:53.303460846Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.736188ms grafana | logger=migrator t=2024-01-22T11:35:53.307041611Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-22T11:35:53.31791062Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.869499ms grafana | logger=migrator t=2024-01-22T11:35:53.321023022Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-22T11:35:53.321499026Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=475.855µs grafana | logger=migrator t=2024-01-22T11:35:53.326038712Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-22T11:35:53.327275874Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.237422ms grafana | logger=migrator t=2024-01-22T11:35:53.330660958Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-22T11:35:53.33184048Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.175822ms grafana | logger=migrator t=2024-01-22T11:35:53.336584837Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-22T11:35:53.337282164Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=692.297µs grafana | logger=migrator t=2024-01-22T11:35:53.340316695Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-22T11:35:53.341040032Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=722.627µs grafana | logger=migrator t=2024-01-22T11:35:53.34386012Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-22T11:35:53.34388768Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=28.07µs grafana | logger=migrator t=2024-01-22T11:35:53.347123563Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-22T11:35:53.347773869Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=649.486µs grafana | logger=migrator t=2024-01-22T11:35:53.352571557Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-22T11:35:53.353496467Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=923.37µs grafana | logger=migrator t=2024-01-22T11:35:53.35683285Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-22T11:35:53.35784034Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.00616ms grafana | logger=migrator t=2024-01-22T11:35:53.361121383Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-22T11:35:53.362047912Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=927.309µs grafana | logger=migrator t=2024-01-22T11:35:53.366453696Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-22T11:35:53.369989562Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.535236ms grafana | logger=migrator t=2024-01-22T11:35:53.373047232Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-22T11:35:53.37375363Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=705.587µs grafana | logger=migrator t=2024-01-22T11:35:53.3767543Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-22T11:35:53.377443306Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=688.476µs grafana | logger=migrator t=2024-01-22T11:35:53.382195014Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-22T11:35:53.382961192Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=765.908µs grafana | logger=migrator t=2024-01-22T11:35:53.414204524Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-22T11:35:53.415353435Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.148281ms grafana | logger=migrator t=2024-01-22T11:35:53.418080773Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-22T11:35:53.419174974Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.093111ms grafana | logger=migrator t=2024-01-22T11:35:53.424316695Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-22T11:35:53.424917101Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=594.156µs grafana | logger=migrator t=2024-01-22T11:35:53.428252564Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-22T11:35:53.428703578Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=450.804µs grafana | logger=migrator t=2024-01-22T11:35:53.431789479Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-22T11:35:53.432135082Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=341.713µs grafana | logger=migrator t=2024-01-22T11:35:53.435287154Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-22T11:35:53.436138192Z level=info msg="Migration successfully executed" id="create star table" duration=850.768µs grafana | logger=migrator t=2024-01-22T11:35:53.44092663Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-22T11:35:53.442112432Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.185152ms grafana | logger=migrator t=2024-01-22T11:35:53.445504925Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-22T11:35:53.446158682Z level=info msg="Migration successfully executed" id="create org table v1" duration=653.497µs grafana | logger=migrator t=2024-01-22T11:35:53.450744878Z level=info msg="Executing migration" id="create index UQE_org_name - v1" mariadb | 2024-01-22 11:35:56 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-22 11:35:56 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-22 11:35:56 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-22 11:35:56 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-22 11:35:56 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-22 11:35:56 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-22 11:35:56 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-22 11:35:56 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-22 11:35:56 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-22 11:35:56 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-01-22 11:35:56 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-22 11:35:56 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-22 11:35:56 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-22 11:35:56 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-22 11:35:56 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-01-22 11:35:57+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-22 11:35:58+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-22 11:35:58+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-01-22 11:35:59+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-01-22 11:35:59+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=migrator t=2024-01-22T11:35:53.451851219Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.100281ms grafana | logger=migrator t=2024-01-22T11:35:53.456617666Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-22T11:35:53.457539905Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=921.619µs grafana | logger=migrator t=2024-01-22T11:35:53.460799418Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-22T11:35:53.461530905Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=732.947µs grafana | logger=migrator t=2024-01-22T11:35:53.464720777Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-22T11:35:53.465434464Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=713.337µs grafana | logger=migrator t=2024-01-22T11:35:53.468475244Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-22T11:35:53.469174221Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=707.857µs grafana | logger=migrator t=2024-01-22T11:35:53.474028129Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-22T11:35:53.47405169Z level=info msg="Migration successfully executed" id="Update org table charset" duration=24.041µs grafana | logger=migrator t=2024-01-22T11:35:53.477284862Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-22T11:35:53.477323262Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=39.62µs grafana | logger=migrator t=2024-01-22T11:35:53.480423673Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-22T11:35:53.480675245Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=259.292µs grafana | logger=migrator t=2024-01-22T11:35:53.483335142Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-22T11:35:53.484309222Z level=info msg="Migration successfully executed" id="create dashboard table" duration=973.729µs grafana | logger=migrator t=2024-01-22T11:35:53.489368422Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-22T11:35:53.490563654Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.191902ms grafana | logger=migrator t=2024-01-22T11:35:53.493681075Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-22T11:35:53.494495523Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=814.028µs grafana | logger=migrator t=2024-01-22T11:35:53.497671405Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-22T11:35:53.498334331Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=662.627µs grafana | logger=migrator t=2024-01-22T11:35:53.50126735Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-22T11:35:53.502043128Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=775.238µs grafana | logger=migrator t=2024-01-22T11:35:53.506829176Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-22T11:35:53.507519543Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=690.037µs grafana | logger=migrator t=2024-01-22T11:35:53.510715044Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-22T11:35:53.520106348Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.391834ms grafana | logger=migrator t=2024-01-22T11:35:53.523254559Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-22T11:35:53.523881105Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=626.676µs grafana | logger=migrator t=2024-01-22T11:35:53.528521311Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-22T11:35:53.529204718Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=682.927µs grafana | logger=migrator t=2024-01-22T11:35:53.532334219Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-22T11:35:53.533028366Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=693.767µs grafana | logger=migrator t=2024-01-22T11:35:53.536239228Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-22T11:35:53.536710773Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=471.375µs grafana | logger=migrator t=2024-01-22T11:35:53.541588181Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-22T11:35:53.542824094Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.238413ms grafana | logger=migrator t=2024-01-22T11:35:53.546284688Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-22T11:35:53.546379589Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=99.201µs grafana | logger=migrator t=2024-01-22T11:35:53.549682262Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-22T11:35:53.551886134Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.181032ms grafana | logger=migrator t=2024-01-22T11:35:53.556773193Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-22T11:35:53.55849625Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.722608ms grafana | logger=migrator t=2024-01-22T11:35:53.561475179Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-22T11:35:53.563208746Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.731127ms grafana | logger=migrator t=2024-01-22T11:35:53.566227307Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-22T11:35:53.566954024Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=726.497µs grafana | logger=migrator t=2024-01-22T11:35:53.57161756Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-22T11:35:53.573360518Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.742588ms grafana | logger=migrator t=2024-01-22T11:35:53.576411878Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-01-22T11:35:53.577170366Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=758.028µs grafana | logger=migrator t=2024-01-22T11:35:53.580272616Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-22T11:35:53.581010084Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=737.358µs grafana | logger=migrator t=2024-01-22T11:35:53.58569219Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-22T11:35:53.585726581Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=35.671µs grafana | logger=migrator t=2024-01-22T11:35:53.588993373Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-22T11:35:53.589029313Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=36.83µs grafana | logger=migrator t=2024-01-22T11:35:53.591662749Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-22T11:35:53.594524008Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.863799ms grafana | logger=migrator t=2024-01-22T11:35:53.601119444Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-22T11:35:53.603233925Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.113551ms grafana | logger=migrator t=2024-01-22T11:35:53.606229085Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-22T11:35:53.608107963Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.878149ms grafana | logger=migrator t=2024-01-22T11:35:53.611053493Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-22T11:35:53.612926631Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.872328ms grafana | logger=migrator t=2024-01-22T11:35:53.617656088Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-22T11:35:53.61783047Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=174.472µs grafana | logger=migrator t=2024-01-22T11:35:53.621054022Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-22T11:35:53.621774959Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=720.557µs grafana | logger=migrator t=2024-01-22T11:35:53.624764789Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-22T11:35:53.625442586Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=677.287µs 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-01-22 11:35:59+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-01-22 11:35:59 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-01-22 11:35:59 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-01-22 11:35:59 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-01-22 11:35:59 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-22 11:35:59 0 [Note] InnoDB: Buffer pool(s) dump completed at 240122 11:35:59 mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: Shutdown completed; log sequence number 333227; transaction id 298 mariadb | 2024-01-22 11:36:00 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-01-22 11:36:00+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-01-22 11:36:00+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-01-22 11:36:00 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-22 11:36:00 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-22 11:36:00 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-22 11:36:00 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: log sequence number 333227; transaction id 299 mariadb | 2024-01-22 11:36:00 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-22 11:36:00 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-22 11:36:00 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-22 11:36:00 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-01-22 11:36:00 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-01-22 11:36:00 0 [Note] Server socket created on IP: '::'. mariadb | 2024-01-22 11:36:00 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-01-22 11:36:00 0 [Note] InnoDB: Buffer pool(s) load completed at 240122 11:36:00 mariadb | 2024-01-22 11:36:01 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-01-22 11:36:01 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-01-22T11:35:53.627750939Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-22T11:35:53.627777009Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=26.59µs grafana | logger=migrator t=2024-01-22T11:35:53.632265184Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-22T11:35:53.632995581Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=729.787µs grafana | logger=migrator t=2024-01-22T11:35:53.636402395Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-22T11:35:53.637338744Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=936.339µs grafana | logger=migrator t=2024-01-22T11:35:53.640589486Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-22T11:35:53.648229362Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.640676ms grafana | logger=migrator t=2024-01-22T11:35:53.653142151Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-22T11:35:53.653751477Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=608.756µs grafana | logger=migrator t=2024-01-22T11:35:53.656764057Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-22T11:35:53.657474024Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=711.647µs grafana | logger=migrator t=2024-01-22T11:35:53.660763497Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-22T11:35:53.66207551Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.287083ms grafana | logger=migrator t=2024-01-22T11:35:53.666978799Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-22T11:35:53.667445254Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=466.345µs grafana | logger=migrator t=2024-01-22T11:35:53.671176711Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-22T11:35:53.671704206Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=526.925µs grafana | logger=migrator t=2024-01-22T11:35:53.675180541Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-22T11:35:53.67707859Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.897949ms grafana | logger=migrator t=2024-01-22T11:35:53.681345332Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-22T11:35:53.68211388Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=768.108µs grafana | logger=migrator t=2024-01-22T11:35:53.685521613Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-01-22T11:35:53.685679105Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=157.552µs grafana | logger=migrator t=2024-01-22T11:35:53.689324121Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-01-22T11:35:53.689588184Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=261.163µs grafana | logger=migrator t=2024-01-22T11:35:53.694407422Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-01-22T11:35:53.695740565Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.332553ms grafana | logger=migrator t=2024-01-22T11:35:53.699504963Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-01-22T11:35:53.702761705Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.256642ms grafana | logger=migrator t=2024-01-22T11:35:53.706651124Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-01-22T11:35:53.707974927Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.323963ms grafana | logger=migrator t=2024-01-22T11:35:53.712723124Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-01-22T11:35:53.713428571Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=705.317µs grafana | logger=migrator t=2024-01-22T11:35:53.717125198Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-01-22T11:35:53.717957916Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=831.048µs grafana | logger=migrator t=2024-01-22T11:35:53.721722094Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-01-22T11:35:53.722815165Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.092871ms grafana | logger=migrator t=2024-01-22T11:35:53.727662603Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-01-22T11:35:53.7283694Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=704.017µs grafana | logger=migrator t=2024-01-22T11:35:53.731912405Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-01-22T11:35:53.739691292Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.777777ms grafana | logger=migrator t=2024-01-22T11:35:53.780914442Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-01-22T11:35:53.782121334Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.206912ms grafana | logger=migrator t=2024-01-22T11:35:53.78668911Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-01-22T11:35:53.787939842Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.250282ms grafana | logger=migrator t=2024-01-22T11:35:53.791577568Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-01-22T11:35:53.792785301Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.203152ms grafana | logger=migrator t=2024-01-22T11:35:53.796386836Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-01-22T11:35:53.796886021Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=499.015µs grafana | logger=migrator t=2024-01-22T11:35:53.801056823Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-01-22T11:35:53.803651949Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.593426ms grafana | logger=migrator t=2024-01-22T11:35:53.807176354Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-01-22T11:35:53.810732079Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.551545ms grafana | logger=migrator t=2024-01-22T11:35:53.814642918Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-01-22T11:35:53.814685438Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=44.24µs grafana | logger=migrator t=2024-01-22T11:35:53.819471136Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-01-22T11:35:53.819758939Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=288.103µs grafana | logger=migrator t=2024-01-22T11:35:53.823392255Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-01-22T11:35:53.827231714Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.839009ms grafana | logger=migrator t=2024-01-22T11:35:53.831023161Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-01-22T11:35:53.831213773Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=190.772µs grafana | logger=migrator t=2024-01-22T11:35:53.834388204Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-01-22T11:35:53.834545336Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=157.162µs grafana | logger=migrator t=2024-01-22T11:35:53.838510986Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-01-22T11:35:53.842153592Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.640996ms grafana | logger=migrator t=2024-01-22T11:35:53.845765718Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-01-22T11:35:53.84603782Z level=info msg="Migration successfully executed" id="Update uid value" duration=272.412µs grafana | logger=migrator t=2024-01-22T11:35:53.849354773Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-01-22T11:35:53.850133041Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=777.958µs grafana | logger=migrator t=2024-01-22T11:35:53.854213022Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-01-22T11:35:53.855233902Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.01878ms grafana | logger=migrator t=2024-01-22T11:35:53.858914718Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-01-22T11:35:53.86003408Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.119012ms grafana | logger=migrator t=2024-01-22T11:35:53.863490154Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-01-22T11:35:53.864213281Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=722.827µs grafana | logger=migrator t=2024-01-22T11:35:53.868525844Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-01-22T11:35:53.869276782Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=750.758µs grafana | logger=migrator t=2024-01-22T11:35:53.872941328Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-01-22T11:35:53.87417857Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.236842ms grafana | logger=migrator t=2024-01-22T11:35:53.8791708Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-01-22T11:35:53.880240491Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.069411ms grafana | logger=migrator t=2024-01-22T11:35:53.885035138Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-01-22T11:35:53.886130939Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.095591ms grafana | logger=migrator t=2024-01-22T11:35:53.889587844Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-01-22T11:35:53.890293251Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=705.227µs grafana | logger=migrator t=2024-01-22T11:35:53.894597343Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-01-22T11:35:53.902922726Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.324513ms grafana | logger=migrator t=2024-01-22T11:35:53.906228449Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-01-22T11:35:53.906880836Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=654.967µs grafana | logger=migrator t=2024-01-22T11:35:53.910108698Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-01-22T11:35:53.910854855Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=747.247µs grafana | logger=migrator t=2024-01-22T11:35:53.914992837Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-01-22T11:35:53.915762624Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=769.557µs grafana | logger=migrator t=2024-01-22T11:35:53.918928236Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-01-22T11:35:53.919716323Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=787.707µs grafana | logger=migrator t=2024-01-22T11:35:53.922984186Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-01-22T11:35:53.923308919Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=324.653µs grafana | logger=migrator t=2024-01-22T11:35:53.927144887Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-01-22T11:35:53.927653132Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=507.925µs grafana | logger=migrator t=2024-01-22T11:35:53.930921185Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-01-22T11:35:53.930963575Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=43.69µs grafana | logger=migrator t=2024-01-22T11:35:53.934540141Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-01-22T11:35:53.938722882Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.181921ms grafana | logger=migrator t=2024-01-22T11:35:53.942016165Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-01-22T11:35:53.944566511Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.548136ms grafana | logger=migrator t=2024-01-22T11:35:53.948836563Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-01-22T11:35:53.948993725Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=157.532µs grafana | logger=migrator t=2024-01-22T11:35:53.95153078Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-01-22T11:35:53.953898004Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.366613ms grafana | logger=migrator t=2024-01-22T11:35:53.957326128Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-01-22T11:35:53.959781692Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.455404ms grafana | logger=migrator t=2024-01-22T11:35:53.964172486Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-01-22T11:35:53.964795792Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=624.996µs grafana | logger=migrator t=2024-01-22T11:35:53.967972254Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-01-22T11:35:53.968486969Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=514.305µs grafana | logger=migrator t=2024-01-22T11:35:53.972030294Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-01-22T11:35:53.973206966Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.176092ms grafana | logger=migrator t=2024-01-22T11:35:53.977600069Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-01-22T11:35:53.978820922Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.221232ms grafana | logger=migrator t=2024-01-22T11:35:53.982098974Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-01-22T11:35:53.982848671Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=749.427µs grafana | logger=migrator t=2024-01-22T11:35:53.986007653Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-01-22T11:35:53.986818161Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=810.008µs grafana | logger=migrator t=2024-01-22T11:35:53.991965322Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-01-22T11:35:53.992024013Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=59.311µs grafana | logger=migrator t=2024-01-22T11:35:53.995306876Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-01-22T11:35:53.995330946Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=34.451µs grafana | logger=migrator t=2024-01-22T11:35:53.99878633Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-01-22T11:35:54.002878931Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.097201ms grafana | logger=migrator t=2024-01-22T11:35:54.007330225Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-01-22T11:35:54.00986111Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.533665ms grafana | logger=migrator t=2024-01-22T11:35:54.013254024Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-22T11:35:54.013318395Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=59.081µs grafana | logger=migrator t=2024-01-22T11:35:54.01681098Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-01-22T11:35:54.017434816Z level=info msg="Migration successfully executed" id="create quota table v1" duration=623.516µs grafana | logger=migrator t=2024-01-22T11:35:54.02091487Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-01-22T11:35:54.021664238Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=748.938µs grafana | logger=migrator t=2024-01-22T11:35:54.027518276Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-01-22T11:35:54.027555146Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=38.9µs grafana | logger=migrator t=2024-01-22T11:35:54.031261823Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-01-22T11:35:54.032025171Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=762.458µs grafana | logger=migrator t=2024-01-22T11:35:54.035506445Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-01-22T11:35:54.036410934Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=904.129µs grafana | logger=migrator t=2024-01-22T11:35:54.040832418Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-01-22T11:35:54.043855808Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.02287ms grafana | logger=migrator t=2024-01-22T11:35:54.047411994Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-01-22T11:35:54.047436864Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=25.56µs grafana | logger=migrator t=2024-01-22T11:35:54.050883848Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-01-22T11:35:54.051753317Z level=info msg="Migration successfully executed" id="create session table" duration=865.519µs grafana | logger=migrator t=2024-01-22T11:35:54.056171471Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-01-22T11:35:54.056298722Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=127.481µs grafana | logger=migrator t=2024-01-22T11:35:54.060039499Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-01-22T11:35:54.060161321Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=122.262µs grafana | logger=migrator t=2024-01-22T11:35:54.064183041Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-01-22T11:35:54.064858647Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=674.976µs grafana | logger=migrator t=2024-01-22T11:35:54.068475503Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-01-22T11:35:54.0691597Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=683.497µs grafana | logger=migrator t=2024-01-22T11:35:54.073542824Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-01-22T11:35:54.073566214Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=23.3µs grafana | logger=migrator t=2024-01-22T11:35:54.076710095Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-01-22T11:35:54.076731476Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=22.051µs grafana | logger=migrator t=2024-01-22T11:35:54.0792136Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-01-22T11:35:54.084793176Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.579336ms grafana | logger=migrator t=2024-01-22T11:35:54.089355741Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-01-22T11:35:54.092308191Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.95214ms grafana | logger=migrator t=2024-01-22T11:35:54.095803315Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-01-22T11:35:54.095879616Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=76.781µs grafana | logger=migrator t=2024-01-22T11:35:54.099392351Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-01-22T11:35:54.099469001Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=72.79µs grafana | logger=migrator t=2024-01-22T11:35:54.103170519Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-01-22T11:35:54.10431823Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.147301ms grafana | logger=migrator t=2024-01-22T11:35:54.11238232Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-01-22T11:35:54.11240706Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=25.77µs grafana | logger=migrator t=2024-01-22T11:35:54.116472291Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-01-22T11:35:54.119459531Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=2.98712ms grafana | logger=migrator t=2024-01-22T11:35:54.131089726Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-01-22T11:35:54.131333669Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=269.263µs grafana | logger=migrator t=2024-01-22T11:35:54.135329949Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-01-22T11:35:54.138446929Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.11773ms grafana | logger=migrator t=2024-01-22T11:35:54.142914134Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-01-22T11:35:54.145989124Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.07484ms grafana | logger=migrator t=2024-01-22T11:35:54.149449829Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-01-22T11:35:54.149511529Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=62.04µs grafana | logger=migrator t=2024-01-22T11:35:54.152904433Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-01-22T11:35:54.153882573Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=977.72µs grafana | logger=migrator t=2024-01-22T11:35:54.158272577Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-01-22T11:35:54.159246926Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=974.109µs grafana | logger=migrator t=2024-01-22T11:35:54.163051874Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-01-22T11:35:54.165117555Z level=info msg="Migration successfully executed" id="create alert table v1" duration=2.065431ms grafana | logger=migrator t=2024-01-22T11:35:54.169928693Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-01-22T11:35:54.170957153Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.02867ms grafana | logger=migrator t=2024-01-22T11:35:54.174542899Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-22T11:35:54.175398067Z level=info msg="Migration successfully executed" id="add index alert state" duration=855.268µs grafana | logger=migrator t=2024-01-22T11:35:54.178960632Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-01-22T11:35:54.180375926Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.414844ms grafana | logger=migrator t=2024-01-22T11:35:54.185179664Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-22T11:35:54.185870041Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=702.697µs grafana | logger=migrator t=2024-01-22T11:35:54.189629839Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-01-22T11:35:54.190560428Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=928.819µs grafana | logger=migrator t=2024-01-22T11:35:54.1938338Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-22T11:35:54.194757289Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=923.789µs grafana | logger=migrator t=2024-01-22T11:35:54.199302385Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-22T11:35:54.213725198Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.423133ms grafana | logger=migrator t=2024-01-22T11:35:54.218002171Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-01-22T11:35:54.218539336Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=537.245µs grafana | logger=migrator t=2024-01-22T11:35:54.221861059Z 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-01-22T11:35:54.222563656Z 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=702.647µs grafana | logger=migrator t=2024-01-22T11:35:54.226795398Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-01-22T11:35:54.227416705Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=608.066µs grafana | logger=migrator t=2024-01-22T11:35:54.231256123Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-01-22T11:35:54.232202912Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=946.319µs grafana | logger=migrator t=2024-01-22T11:35:54.236123171Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-01-22T11:35:54.237305003Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.187162ms grafana | logger=migrator t=2024-01-22T11:35:54.241964289Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-01-22T11:35:54.245475714Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.510985ms grafana | logger=migrator t=2024-01-22T11:35:54.249171981Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-01-22T11:35:54.252631085Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.458684ms grafana | logger=migrator t=2024-01-22T11:35:54.255991309Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-01-22T11:35:54.259508034Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.516325ms grafana | logger=migrator t=2024-01-22T11:35:54.26414178Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-01-22T11:35:54.267878417Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.736117ms grafana | logger=migrator t=2024-01-22T11:35:54.272592084Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-01-22T11:35:54.274384912Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.804358ms grafana | logger=migrator t=2024-01-22T11:35:54.277701195Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-01-22T11:35:54.277723515Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=23.13µs grafana | logger=migrator t=2024-01-22T11:35:54.281158859Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-01-22T11:35:54.28119546Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=37.72µs grafana | logger=migrator t=2024-01-22T11:35:54.285759885Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-01-22T11:35:54.286453192Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=689.016µs grafana | logger=migrator t=2024-01-22T11:35:54.290061898Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-22T11:35:54.290999947Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=937.899µs grafana | logger=migrator t=2024-01-22T11:35:54.294184829Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-01-22T11:35:54.295549752Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.364284ms grafana | logger=migrator t=2024-01-22T11:35:54.302054337Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-01-22T11:35:54.303125987Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.07135ms grafana | logger=migrator t=2024-01-22T11:35:54.306300609Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-22T11:35:54.307230669Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=929.45µs grafana | logger=migrator t=2024-01-22T11:35:54.310335579Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-01-22T11:35:54.313934845Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.598976ms grafana | logger=migrator t=2024-01-22T11:35:54.318505641Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-01-22T11:35:54.322316119Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.809948ms grafana | logger=migrator t=2024-01-22T11:35:54.325577551Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-01-22T11:35:54.325773343Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=201.462µs grafana | logger=migrator t=2024-01-22T11:35:54.328827683Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-01-22T11:35:54.329708052Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=880.139µs grafana | logger=migrator t=2024-01-22T11:35:54.336663841Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-01-22T11:35:54.337953984Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.289903ms grafana | logger=migrator t=2024-01-22T11:35:54.341380088Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-01-22T11:35:54.347368148Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.98732ms grafana | logger=migrator t=2024-01-22T11:35:54.351018234Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-01-22T11:35:54.351119795Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=101.401µs grafana | logger=migrator t=2024-01-22T11:35:54.355952403Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-01-22T11:35:54.356886412Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=932.939µs grafana | logger=migrator t=2024-01-22T11:35:54.362096034Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-01-22T11:35:54.36367088Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.569286ms grafana | logger=migrator t=2024-01-22T11:35:54.375242925Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-22T11:35:54.375404256Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=162.111µs grafana | logger=migrator t=2024-01-22T11:35:54.381011842Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-22T11:35:54.382206384Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.186872ms grafana | logger=migrator t=2024-01-22T11:35:54.388111733Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-22T11:35:54.389510087Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.397934ms grafana | logger=migrator t=2024-01-22T11:35:54.393025522Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-01-22T11:35:54.394411626Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.377274ms grafana | logger=migrator t=2024-01-22T11:35:54.397774639Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-22T11:35:54.398657558Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=882.689µs grafana | logger=migrator t=2024-01-22T11:35:54.406553506Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-22T11:35:54.408057341Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.502425ms grafana | logger=migrator t=2024-01-22T11:35:54.414493165Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-22T11:35:54.416246373Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.758188ms grafana | logger=migrator t=2024-01-22T11:35:54.420322173Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-22T11:35:54.420427624Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=107.041µs grafana | logger=migrator t=2024-01-22T11:35:54.426898709Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-22T11:35:54.433504455Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.605016ms grafana | logger=migrator t=2024-01-22T11:35:54.438262852Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-22T11:35:54.439251251Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=988.259µs grafana | logger=migrator t=2024-01-22T11:35:54.444357212Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-22T11:35:54.448565464Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.208022ms grafana | logger=migrator t=2024-01-22T11:35:54.457510943Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-22T11:35:54.458522113Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.018139ms grafana | logger=migrator t=2024-01-22T11:35:54.46332336Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-22T11:35:54.465014567Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.693017ms grafana | logger=migrator t=2024-01-22T11:35:54.469680863Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-22T11:35:54.470605733Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=925.03µs grafana | logger=migrator t=2024-01-22T11:35:54.511023414Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-22T11:35:54.52768751Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.680846ms grafana | logger=migrator t=2024-01-22T11:35:54.532306456Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-22T11:35:54.532768661Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=461.995µs grafana | logger=migrator t=2024-01-22T11:35:54.53870935Z 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-01-22T11:35:54.540219525Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.515395ms grafana | logger=migrator t=2024-01-22T11:35:54.543429437Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-22T11:35:54.54372424Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=294.023µ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 | 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 | grafana | logger=migrator t=2024-01-22T11:35:54.548863191Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-01-22T11:35:54.549464647Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=601.716µs grafana | logger=migrator t=2024-01-22T11:35:54.552045563Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-22T11:35:54.552314935Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=269.182µs grafana | logger=migrator t=2024-01-22T11:35:54.555524687Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-22T11:35:54.561579648Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.05217ms grafana | logger=migrator t=2024-01-22T11:35:54.568633918Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-22T11:35:54.572638068Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.00696ms grafana | logger=migrator t=2024-01-22T11:35:54.57692146Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-22T11:35:54.578019911Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.102591ms grafana | logger=migrator t=2024-01-22T11:35:54.581331684Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-22T11:35:54.582167663Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=836.099µs grafana | logger=migrator t=2024-01-22T11:35:54.586757548Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-22T11:35:54.58699634Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=239.012µs grafana | logger=migrator t=2024-01-22T11:35:54.589902579Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-22T11:35:54.595778038Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.864679ms grafana | logger=migrator t=2024-01-22T11:35:54.602641196Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-22T11:35:54.604318973Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.677457ms grafana | logger=migrator t=2024-01-22T11:35:54.608789397Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-22T11:35:54.609122721Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=328.073µs grafana | logger=migrator t=2024-01-22T11:35:54.612481374Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-01-22T11:35:54.61305123Z level=info msg="Migration successfully executed" id="Move region to single row" duration=575.236µs grafana | logger=migrator t=2024-01-22T11:35:54.616631695Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-22T11:35:54.617601655Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=968.14µs grafana | logger=migrator t=2024-01-22T11:35:54.6231532Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-01-22T11:35:54.62411746Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=964.63µs grafana | logger=migrator t=2024-01-22T11:35:54.627527053Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-22T11:35:54.628662255Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.125442ms grafana | logger=migrator t=2024-01-22T11:35:54.635151259Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-22T11:35:54.636718855Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.566346ms grafana | logger=migrator t=2024-01-22T11:35:54.640750225Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-22T11:35:54.64221825Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.466785ms grafana | logger=migrator t=2024-01-22T11:35:54.646097028Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-22T11:35:54.647138189Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.036251ms grafana | logger=migrator t=2024-01-22T11:35:54.653414781Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-22T11:35:54.653488892Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=74.511µs grafana | logger=migrator t=2024-01-22T11:35:54.656501972Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-01-22T11:35:54.657375161Z level=info msg="Migration successfully executed" id="create test_data table" duration=873.419µs grafana | logger=migrator t=2024-01-22T11:35:54.660438661Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-22T11:35:54.661243909Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=805.098µs grafana | logger=migrator t=2024-01-22T11:35:54.668034457Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-22T11:35:54.669658883Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.620657ms grafana | logger=migrator t=2024-01-22T11:35:54.67344598Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-22T11:35:54.675138097Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.691827ms grafana | logger=migrator t=2024-01-22T11:35:54.679778623Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-22T11:35:54.680148117Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=370.004µs grafana | logger=migrator t=2024-01-22T11:35:54.685547811Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-22T11:35:54.686172747Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=624.946µs grafana | logger=migrator t=2024-01-22T11:35:54.690606891Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-01-22T11:35:54.690748103Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=147.022µs grafana | logger=migrator t=2024-01-22T11:35:54.694095456Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-01-22T11:35:54.694845223Z level=info msg="Migration successfully executed" id="create team table" duration=749.867µs grafana | logger=migrator t=2024-01-22T11:35:54.697830983Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-22T11:35:54.698755232Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=924.069µs grafana | logger=migrator t=2024-01-22T11:35:54.703789672Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-22T11:35:54.704743352Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=958.16µs grafana | logger=migrator t=2024-01-22T11:35:54.707854093Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-22T11:35:54.712509649Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.655087ms grafana | logger=migrator t=2024-01-22T11:35:54.71663299Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-22T11:35:54.716819912Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=192.852µs grafana | logger=migrator t=2024-01-22T11:35:54.722301806Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-22T11:35:54.723294886Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=992.76µs grafana | logger=migrator t=2024-01-22T11:35:54.726607649Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-22T11:35:54.727763451Z level=info msg="Migration successfully executed" id="create team member table" duration=1.155352ms grafana | logger=migrator t=2024-01-22T11:35:54.73175685Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-22T11:35:54.73268934Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=933.17µs grafana | logger=migrator t=2024-01-22T11:35:54.736573298Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-22T11:35:54.737634469Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.060941ms grafana | logger=migrator t=2024-01-22T11:35:54.743973702Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-22T11:35:54.744977612Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.00364ms grafana | logger=migrator t=2024-01-22T11:35:54.748458437Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-22T11:35:54.753319385Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.860538ms grafana | logger=migrator t=2024-01-22T11:35:54.757907461Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-22T11:35:54.763164453Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.256613ms grafana | logger=migrator t=2024-01-22T11:35:54.771268384Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-22T11:35:54.776303243Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.031719ms grafana | logger=migrator t=2024-01-22T11:35:54.784543615Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-22T11:35:54.786234942Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.691007ms grafana | logger=migrator t=2024-01-22T11:35:54.791941559Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-22T11:35:54.792941469Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=999.98µs grafana | logger=migrator t=2024-01-22T11:35:54.801326192Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-22T11:35:54.803017849Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.691327ms grafana | logger=migrator t=2024-01-22T11:35:54.807673856Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-22T11:35:54.809380283Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.705557ms grafana | logger=migrator t=2024-01-22T11:35:54.818220891Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-22T11:35:54.819391122Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.171112ms grafana | logger=migrator t=2024-01-22T11:35:54.85036085Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-22T11:35:54.852088297Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.727747ms grafana | logger=migrator t=2024-01-22T11:35:54.855906165Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-01-22T11:35:54.857524521Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.617616ms grafana | logger=migrator t=2024-01-22T11:35:54.862272029Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-22T11:35:54.863282389Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.00685ms grafana | logger=migrator t=2024-01-22T11:35:54.870303439Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-22T11:35:54.871159177Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=857.388µs grafana | logger=migrator t=2024-01-22T11:35:54.878318228Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-22T11:35:54.878786633Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=477.845µs grafana | logger=migrator t=2024-01-22T11:35:54.883380999Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-01-22T11:35:54.884595981Z level=info msg="Migration successfully executed" id="create tag table" duration=1.215442ms grafana | logger=migrator t=2024-01-22T11:35:54.889635381Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-22T11:35:54.890649851Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.01765ms grafana | logger=migrator t=2024-01-22T11:35:54.894442529Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-22T11:35:54.895167286Z level=info msg="Migration successfully executed" id="create login attempt table" duration=724.437µs grafana | logger=migrator t=2024-01-22T11:35:54.901969124Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-01-22T11:35:54.903755321Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.588225ms grafana | logger=migrator t=2024-01-22T11:35:54.911587699Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-22T11:35:54.913196775Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.599646ms grafana | logger=migrator t=2024-01-22T11:35:54.91769519Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-22T11:35:54.935354966Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.660196ms grafana | logger=migrator t=2024-01-22T11:35:54.939187944Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-22T11:35:54.939724619Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=536.465µs grafana | logger=migrator t=2024-01-22T11:35:54.945153333Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-22T11:35:54.946740399Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.586446ms grafana | logger=migrator t=2024-01-22T11:35:54.952737839Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-22T11:35:54.953169393Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=431.974µs grafana | logger=migrator t=2024-01-22T11:35:54.956578847Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-22T11:35:54.957475606Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=896.659µs grafana | logger=migrator t=2024-01-22T11:35:54.962600617Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-22T11:35:54.963388535Z level=info msg="Migration successfully executed" id="create user auth table" duration=787.778µs grafana | logger=migrator t=2024-01-22T11:35:54.966601356Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-22T11:35:54.967531306Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=932.17µs grafana | logger=migrator t=2024-01-22T11:35:54.971270583Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-22T11:35:54.971364874Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=94.781µs grafana | logger=migrator t=2024-01-22T11:35:54.97700719Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-22T11:35:54.982258972Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.254452ms grafana | logger=migrator t=2024-01-22T11:35:54.985221282Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-22T11:35:54.990238122Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.01675ms grafana | logger=migrator t=2024-01-22T11:35:54.993961479Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-22T11:35:54.998963818Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.001559ms grafana | logger=migrator t=2024-01-22T11:35:55.004003718Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-01-22T11:35:55.009036528Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.03251ms grafana | logger=migrator t=2024-01-22T11:35:55.013193409Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-01-22T11:35:55.014492202Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.298123ms grafana | logger=migrator t=2024-01-22T11:35:55.018829595Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-01-22T11:35:55.023940295Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.11037ms grafana | logger=migrator t=2024-01-22T11:35:55.028841203Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-22T11:35:55.030037265Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.195602ms grafana | logger=migrator t=2024-01-22T11:35:55.033460748Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-01-22T11:35:55.034346087Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=885.279µs grafana | logger=migrator t=2024-01-22T11:35:55.037967503Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-01-22T11:35:55.039225845Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.251822ms grafana | logger=migrator t=2024-01-22T11:35:55.045549577Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-01-22T11:35:55.047017232Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.466365ms grafana | logger=migrator t=2024-01-22T11:35:55.051615857Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-01-22T11:35:55.052667727Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.05275ms grafana | logger=migrator t=2024-01-22T11:35:55.057406304Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 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 | -------------- grafana | logger=migrator t=2024-01-22T11:35:55.058366973Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=960.369µs grafana | logger=migrator t=2024-01-22T11:35:55.064849997Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-01-22T11:35:55.070165149Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.313742ms grafana | logger=migrator t=2024-01-22T11:35:55.074264749Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-01-22T11:35:55.075205709Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=940.609µs grafana | logger=migrator t=2024-01-22T11:35:55.079774363Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-01-22T11:35:55.080693782Z level=info msg="Migration successfully executed" id="create cache_data table" duration=919.029µs grafana | logger=migrator t=2024-01-22T11:35:55.088382538Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-01-22T11:35:55.090362667Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.981369ms grafana | logger=migrator t=2024-01-22T11:35:55.094943322Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-01-22T11:35:55.095793311Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=844.229µs grafana | logger=migrator t=2024-01-22T11:35:55.100395986Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-01-22T11:35:55.101692678Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.294842ms grafana | logger=migrator t=2024-01-22T11:35:55.108005241Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-01-22T11:35:55.108104712Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=99.691µs grafana | logger=migrator t=2024-01-22T11:35:55.112754377Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-01-22T11:35:55.113347473Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=593.536µs grafana | logger=migrator t=2024-01-22T11:35:55.11918189Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-01-22T11:35:55.120351852Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.169962ms grafana | logger=migrator t=2024-01-22T11:35:55.12632218Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-22T11:35:55.128001417Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.677897ms grafana | logger=migrator t=2024-01-22T11:35:55.133813714Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-22T11:35:55.135796474Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.98132ms grafana | logger=migrator t=2024-01-22T11:35:55.140868293Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-22T11:35:55.140943604Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=75.471µs grafana | logger=migrator t=2024-01-22T11:35:55.1466248Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-22T11:35:55.1476114Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=986.95µs grafana | logger=migrator t=2024-01-22T11:35:55.154041053Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-22T11:35:55.155675939Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.633966ms grafana | logger=migrator t=2024-01-22T11:35:55.160417925Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-22T11:35:55.161445315Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.02697ms grafana | logger=migrator t=2024-01-22T11:35:55.167630426Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-22T11:35:55.169466074Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.838138ms grafana | logger=migrator t=2024-01-22T11:35:55.173963168Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-01-22T11:35:55.179706775Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.742917ms grafana | logger=migrator t=2024-01-22T11:35:55.184885266Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-01-22T11:35:55.185894666Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.00898ms grafana | logger=migrator t=2024-01-22T11:35:55.192643942Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-01-22T11:35:55.192980825Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=336.493µs grafana | logger=migrator t=2024-01-22T11:35:55.196871253Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-01-22T11:35:55.198419139Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.547496ms grafana | logger=migrator t=2024-01-22T11:35:55.20262899Z 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-01-22T11:35:55.204542459Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.913729ms grafana | logger=migrator t=2024-01-22T11:35:55.210011012Z 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-01-22T11:35:55.211138243Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.127041ms grafana | logger=migrator t=2024-01-22T11:35:55.215508146Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-22T11:35:55.215694998Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=184.032µs grafana | logger=migrator t=2024-01-22T11:35:55.218812219Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-01-22T11:35:55.219864339Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.0488ms grafana | logger=migrator t=2024-01-22T11:35:55.226132061Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-01-22T11:35:55.227161071Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.02792ms grafana | logger=migrator t=2024-01-22T11:35:55.231780786Z 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-01-22T11:35:55.235654904Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=3.874738ms grafana | logger=migrator t=2024-01-22T11:35:55.243556552Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-01-22T11:35:55.244649523Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.092981ms grafana | logger=migrator t=2024-01-22T11:35:55.24941598Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-01-22T11:35:55.258400208Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=8.985689ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-22T11:35:55.261995063Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-22T11:35:55.26267451Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=677.127µs grafana | logger=migrator t=2024-01-22T11:35:55.272314134Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-22T11:35:55.273998211Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.683887ms grafana | logger=migrator t=2024-01-22T11:35:55.281193432Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-01-22T11:35:55.333530356Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=52.343555ms grafana | logger=migrator t=2024-01-22T11:35:55.39200114Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-01-22T11:35:55.439517657Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=47.510947ms grafana | logger=migrator t=2024-01-22T11:35:55.444402515Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-22T11:35:55.447122121Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=2.718736ms grafana | logger=migrator t=2024-01-22T11:35:55.450917529Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-22T11:35:55.454828327Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=3.910788ms grafana | logger=migrator t=2024-01-22T11:35:55.46019915Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-01-22T11:35:55.468995946Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.801296ms grafana | logger=migrator t=2024-01-22T11:35:55.478028295Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-01-22T11:35:55.478932884Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=901.968µs grafana | logger=migrator t=2024-01-22T11:35:55.485865592Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-01-22T11:35:55.487486308Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.620406ms grafana | logger=migrator t=2024-01-22T11:35:55.492972272Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-01-22T11:35:55.493911391Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=938.739µs grafana | logger=migrator t=2024-01-22T11:35:55.499332984Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-01-22T11:35:55.500402454Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.0689ms grafana | logger=migrator t=2024-01-22T11:35:55.504677887Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-22T11:35:55.504812108Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=135.401µs grafana | logger=migrator t=2024-01-22T11:35:55.509837187Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-01-22T11:35:55.51830444Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=8.463753ms grafana | logger=migrator t=2024-01-22T11:35:55.523539342Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-01-22T11:35:55.52943685Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.897018ms grafana | logger=migrator t=2024-01-22T11:35:55.572045988Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-01-22T11:35:55.579837445Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=7.789717ms grafana | logger=migrator t=2024-01-22T11:35:55.583918345Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-01-22T11:35:55.584857004Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=938.509µs grafana | logger=migrator t=2024-01-22T11:35:55.590063645Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-01-22T11:35:55.591047135Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=982.59µs grafana | logger=migrator t=2024-01-22T11:35:55.595772761Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-01-22T11:35:55.605336495Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=9.564704ms grafana | logger=migrator t=2024-01-22T11:35:55.609843039Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-01-22T11:35:55.616120221Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.281392ms grafana | logger=migrator t=2024-01-22T11:35:55.621174311Z 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-01-22T11:35:55.622757027Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.590516ms grafana | logger=migrator t=2024-01-22T11:35:55.629012348Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-01-22T11:35:55.63532611Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.312912ms grafana | logger=migrator t=2024-01-22T11:35:55.639254138Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-01-22T11:35:55.6475642Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=8.306272ms grafana | logger=migrator t=2024-01-22T11:35:55.651459398Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-01-22T11:35:55.651578909Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=125.001µs grafana | logger=migrator t=2024-01-22T11:35:55.655935832Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-01-22T11:35:55.657606469Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.669977ms grafana | logger=migrator t=2024-01-22T11:35:55.663893401Z 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-01-22T11:35:55.664986681Z 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.09307ms grafana | logger=migrator t=2024-01-22T11:35:55.669726898Z 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-01-22T11:35:55.671847078Z 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=2.11978ms grafana | logger=migrator t=2024-01-22T11:35:55.680882497Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-22T11:35:55.680964208Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=65.041µs grafana | logger=migrator t=2024-01-22T11:35:55.684631644Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-01-22T11:35:55.693909535Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.278101ms grafana | logger=migrator t=2024-01-22T11:35:55.698021636Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-01-22T11:35:55.70350345Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=5.480744ms grafana | logger=migrator t=2024-01-22T11:35:55.709367527Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-01-22T11:35:55.715688539Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.317562ms grafana | logger=migrator t=2024-01-22T11:35:55.719724089Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-01-22T11:35:55.726245433Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.520844ms grafana | logger=migrator t=2024-01-22T11:35:55.729380124Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-01-22T11:35:55.735715916Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.335892ms grafana | logger=migrator t=2024-01-22T11:35:55.740791566Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-01-22T11:35:55.740865986Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=76.28µs grafana | logger=migrator t=2024-01-22T11:35:55.746517892Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-01-22T11:35:55.747545272Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.02433ms grafana | logger=migrator t=2024-01-22T11:35:55.752827264Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-01-22T11:35:55.759261767Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.434603ms grafana | logger=migrator t=2024-01-22T11:35:55.763327767Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-01-22T11:35:55.763379377Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=51.85µs grafana | logger=migrator t=2024-01-22T11:35:55.771113483Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-01-22T11:35:55.77987395Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.759757ms grafana | logger=migrator t=2024-01-22T11:35:55.784157532Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-01-22T11:35:55.785214382Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.05649ms grafana | logger=migrator t=2024-01-22T11:35:55.789938008Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-01-22T11:35:55.796134899Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.196601ms grafana | logger=migrator t=2024-01-22T11:35:55.801111928Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-01-22T11:35:55.801801275Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=689.247µs grafana | logger=migrator t=2024-01-22T11:35:55.807249869Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-01-22T11:35:55.808194588Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=944.359µs grafana | logger=migrator t=2024-01-22T11:35:55.812617961Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-01-22T11:35:55.822126564Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.509423ms grafana | logger=migrator t=2024-01-22T11:35:55.826375226Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-01-22T11:35:55.827117834Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=738.208µs grafana | logger=migrator t=2024-01-22T11:35:55.832932561Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-01-22T11:35:55.835192193Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=2.265042ms grafana | logger=migrator t=2024-01-22T11:35:55.840373804Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-01-22T11:35:55.841176112Z level=info msg="Migration successfully executed" id="create alert_image table" duration=802.458µs grafana | logger=migrator t=2024-01-22T11:35:55.845260252Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-01-22T11:35:55.846220081Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=960.149µs grafana | logger=migrator t=2024-01-22T11:35:55.852014328Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-01-22T11:35:55.852130459Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=116.541µs grafana | logger=migrator t=2024-01-22T11:35:55.856974457Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-01-22T11:35:55.858898826Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.930499ms prometheus | ts=2024-01-22T11:35:52.210Z 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-01-22T11:35:52.210Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" prometheus | ts=2024-01-22T11:35:52.210Z 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-01-22T11:35:52.210Z 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-01-22T11:35:52.210Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-01-22T11:35:52.210Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-01-22T11:35:52.217Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-01-22T11:35:52.218Z caller=main.go:1039 level=info msg="Starting TSDB ..." prometheus | ts=2024-01-22T11:35:52.220Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-01-22T11:35:52.220Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-01-22T11:35:52.222Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-01-22T11:35:52.222Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.75µs prometheus | ts=2024-01-22T11:35:52.222Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-01-22T11:35:52.222Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-01-22T11:35:52.222Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=27.641µs wal_replay_duration=310.076µs wbl_replay_duration=310ns total_replay_duration=369.527µs prometheus | ts=2024-01-22T11:35:52.225Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-01-22T11:35:52.226Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-01-22T11:35:52.226Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-22T11:35:52.227Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.540449ms db_storage=2.72µs remote_storage=3.04µs web_handler=550ns query_engine=2.02µs scrape=519.48µs scrape_sd=194.823µs notify=32.261µs notify_sd=13.26µs rules=2.64µs tracing=6.48µs prometheus | ts=2024-01-22T11:35:52.227Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-22T11:35:52.227Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-01-22T11:35:55.863316659Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-01-22T11:35:55.864970225Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.652306ms grafana | logger=migrator t=2024-01-22T11:35:55.871086055Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-22T11:35:55.871615761Z 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-01-22T11:35:55.877597989Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-01-22T11:35:55.878182135Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=578.786µs grafana | logger=migrator t=2024-01-22T11:35:55.882913952Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-01-22T11:35:55.884565928Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.651936ms grafana | logger=migrator t=2024-01-22T11:35:55.894428575Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-01-22T11:35:55.90509628Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=10.666305ms grafana | logger=migrator t=2024-01-22T11:35:55.908544194Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-01-22T11:35:55.90915977Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=612.886µs grafana | logger=migrator t=2024-01-22T11:35:55.94889986Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-01-22T11:35:55.950780128Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.881458ms grafana | logger=migrator t=2024-01-22T11:35:55.95706354Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-01-22T11:35:55.957818777Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=755.147µs grafana | logger=migrator t=2024-01-22T11:35:55.961490923Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-01-22T11:35:55.963387942Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.896689ms grafana | logger=migrator t=2024-01-22T11:35:55.967999798Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-01-22T11:35:55.969429712Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.429574ms grafana | logger=migrator t=2024-01-22T11:35:55.97437702Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-01-22T11:35:55.97442868Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=51.75µs grafana | logger=migrator t=2024-01-22T11:35:55.983880823Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-01-22T11:35:55.984053215Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=168.762µs grafana | logger=migrator t=2024-01-22T11:35:55.989034664Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-01-22T11:35:55.989395187Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=360.453µs grafana | logger=migrator t=2024-01-22T11:35:55.994860811Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-01-22T11:35:55.995820411Z level=info msg="Migration successfully executed" id="create data_keys table" duration=959.1µs grafana | logger=migrator t=2024-01-22T11:35:55.999563788Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-01-22T11:35:56.000438226Z level=info msg="Migration successfully executed" id="create secrets table" duration=873.208µs grafana | logger=migrator t=2024-01-22T11:35:56.00387085Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-01-22T11:35:56.049384412Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.513722ms grafana | logger=migrator t=2024-01-22T11:35:56.052366482Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-01-22T11:35:56.05920547Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.840578ms grafana | logger=migrator t=2024-01-22T11:35:56.06420986Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-01-22T11:35:56.064313501Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=103.561µs grafana | logger=migrator t=2024-01-22T11:35:56.06722438Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-01-22T11:35:56.111027966Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=43.802666ms grafana | logger=migrator t=2024-01-22T11:35:56.114103106Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-01-22T11:35:56.15970571Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.602944ms grafana | logger=migrator t=2024-01-22T11:35:56.165839761Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-01-22T11:35:56.167427907Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.594136ms grafana | logger=migrator t=2024-01-22T11:35:56.172509848Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-01-22T11:35:56.173649819Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.140471ms grafana | logger=migrator t=2024-01-22T11:35:56.17675567Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-01-22T11:35:56.176976612Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=220.242µs grafana | logger=migrator t=2024-01-22T11:35:56.179211984Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-01-22T11:35:56.179958532Z level=info msg="Migration successfully executed" id="create permission table" duration=746.728µs grafana | logger=migrator t=2024-01-22T11:35:56.184592678Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-01-22T11:35:56.185565497Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=972.039µs 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-01-22T11:36:08.753+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-22T11:36:08.756+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-22T11:36:10.147+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-22T11:36:10.250+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 88 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-22T11:36:11.478+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-22T11:36:11.492+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-22T11:36:11.492+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-22T11:36:11.492+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-01-22T11:36:11.588+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-22T11:36:11.588+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2770 ms policy-api | [2024-01-22T11:36:12.153+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-22T11:36:12.226+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-01-22T11:36:12.528+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-01-22T11:36:12.672+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-22T11:36:12.801+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-22T11:36:12.831+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-01-22T11:36:14.337+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-01-22T11:36:14.356+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 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-api | [2024-01-22T11:36:15.623+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-22T11:36:16.367+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-22T11:36:17.425+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@3c7b040f, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7f2163d3, org.springframework.security.web.context.SecurityContextPersistenceFilter@41737438, org.springframework.security.web.header.HeaderWriterFilter@6b56e8ee, org.springframework.security.web.authentication.logout.LogoutFilter@33684b87, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@397ff526, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2acacdf, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@674c9079, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@427faf19, org.springframework.security.web.session.SessionManagementFilter@249c96cf, org.springframework.security.web.access.ExceptionTranslationFilter@19544898, org.springframework.security.web.access.intercept.AuthorizationFilter@2763500e] policy-api | [2024-01-22T11:36:17.580+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-01-22T11:36:21.179+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-01-22T11:36:21.265+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-22T11:36:21.301+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-22T11:36:21.319+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 13.363 seconds (JVM running for 13.994) policy-api | [2024-01-22T11:36:24.855+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-22T11:36:24.855+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-22T11:36:24.858+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 3 ms policy-api | [2024-01-22T11:36:27.241+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-01-22T11:36:27.370+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-01-22T11:36:27.616+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2024-01-22T11:36:28.798+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-01-22T11:36:30.732+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-01-22T11:36:31.159+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-01-22T11:36:31.397+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-01-22T11:36:31.625+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-01-22T11:36:31.846+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-01-22T11:36:32.065+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-01-22T11:35:56.190290955Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-01-22T11:35:56.191987022Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.695766ms grafana | logger=migrator t=2024-01-22T11:35:56.195607557Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-01-22T11:35:56.197018312Z level=info msg="Migration successfully executed" id="create role table" duration=1.409074ms grafana | logger=migrator t=2024-01-22T11:35:56.200194003Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-01-22T11:35:56.207586297Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.391834ms grafana | logger=migrator t=2024-01-22T11:35:56.212407775Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-01-22T11:35:56.219782688Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.376533ms grafana | logger=migrator t=2024-01-22T11:35:56.223619036Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-01-22T11:35:56.224625156Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.00786ms grafana | logger=migrator t=2024-01-22T11:35:56.227842148Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-01-22T11:35:56.228888079Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.045401ms grafana | logger=migrator t=2024-01-22T11:35:56.233364923Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-01-22T11:35:56.234732437Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.368684ms grafana | logger=migrator t=2024-01-22T11:35:56.245926158Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-01-22T11:35:56.246901238Z level=info msg="Migration successfully executed" id="create team role table" duration=973.94µs grafana | logger=migrator t=2024-01-22T11:35:56.256823537Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-01-22T11:35:56.258583334Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.759447ms grafana | logger=migrator t=2024-01-22T11:35:56.269771795Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-01-22T11:35:56.272112789Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=2.336944ms grafana | logger=migrator t=2024-01-22T11:35:56.280734135Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-01-22T11:35:56.28224436Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.506125ms grafana | logger=migrator t=2024-01-22T11:35:56.293284129Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-01-22T11:35:56.295551842Z level=info msg="Migration successfully executed" id="create user role table" duration=2.266873ms grafana | logger=migrator t=2024-01-22T11:35:56.337078065Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-01-22T11:35:56.33953714Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=2.462135ms grafana | logger=migrator t=2024-01-22T11:35:56.349751922Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-01-22T11:35:56.352162176Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=2.413614ms grafana | logger=migrator t=2024-01-22T11:35:56.358785331Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-01-22T11:35:56.359953283Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.167792ms grafana | logger=migrator t=2024-01-22T11:35:56.367812851Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-01-22T11:35:56.369403987Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.590136ms grafana | logger=migrator t=2024-01-22T11:35:56.373413717Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-01-22T11:35:56.374587759Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.176332ms grafana | logger=migrator t=2024-01-22T11:35:56.377626119Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-01-22T11:35:56.37876549Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.140821ms grafana | logger=migrator t=2024-01-22T11:35:56.384111434Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-01-22T11:35:56.392481847Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.369983ms grafana | logger=migrator t=2024-01-22T11:35:56.395636158Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-01-22T11:35:56.39684588Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.208842ms grafana | logger=migrator t=2024-01-22T11:35:56.400109683Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-01-22T11:35:56.401237834Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.127351ms grafana | logger=migrator t=2024-01-22T11:35:56.406364825Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-01-22T11:35:56.408053242Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.686077ms grafana | logger=migrator t=2024-01-22T11:35:56.411750149Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-01-22T11:35:56.413296144Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.546195ms grafana | logger=migrator t=2024-01-22T11:35:56.416623817Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-01-22T11:35:56.417377015Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=752.678µs grafana | logger=migrator t=2024-01-22T11:35:56.422199163Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-01-22T11:35:56.424801319Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.600166ms grafana | logger=migrator t=2024-01-22T11:35:56.428334084Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-01-22T11:35:56.4380124Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.678686ms grafana | logger=migrator t=2024-01-22T11:35:56.441179052Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-01-22T11:35:56.449346323Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.169251ms 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 | grafana | logger=migrator t=2024-01-22T11:35:56.454872228Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-01-22T11:35:56.460469894Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.597266ms grafana | logger=migrator t=2024-01-22T11:35:56.463712266Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-01-22T11:35:56.473251651Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=9.537365ms grafana | logger=migrator t=2024-01-22T11:35:56.477469593Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-01-22T11:35:56.478274271Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=804.678µs grafana | logger=migrator t=2024-01-22T11:35:56.481654424Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-01-22T11:35:56.482312541Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=659.167µs grafana | logger=migrator t=2024-01-22T11:35:56.487325741Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-01-22T11:35:56.489152189Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.822088ms grafana | logger=migrator t=2024-01-22T11:35:56.49430106Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-01-22T11:35:56.494391571Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=90.661µs grafana | logger=migrator t=2024-01-22T11:35:56.498778085Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-01-22T11:35:56.498862495Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=84.28µs grafana | logger=migrator t=2024-01-22T11:35:56.504642923Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-01-22T11:35:56.505403071Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=760.138µs grafana | logger=migrator t=2024-01-22T11:35:56.510773834Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-01-22T11:35:56.511829705Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.057421ms grafana | logger=migrator t=2024-01-22T11:35:56.515231018Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-01-22T11:35:56.515902245Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=671.477µs grafana | logger=migrator t=2024-01-22T11:35:56.521501441Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-01-22T11:35:56.521736563Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=235.462µs grafana | logger=migrator t=2024-01-22T11:35:56.525821874Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-01-22T11:35:56.52641123Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=592.296µs grafana | logger=migrator t=2024-01-22T11:35:56.530288038Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-01-22T11:35:56.531197577Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=909.709µs grafana | logger=migrator t=2024-01-22T11:35:56.535718753Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-01-22T11:35:56.537621111Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.902049ms grafana | logger=migrator t=2024-01-22T11:35:56.541351049Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-01-22T11:35:56.549638071Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.285293ms grafana | logger=migrator t=2024-01-22T11:35:56.553434949Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-01-22T11:35:56.553501139Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=67.41µs grafana | logger=migrator t=2024-01-22T11:35:56.556679671Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-01-22T11:35:56.557352678Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=672.377µs grafana | logger=migrator t=2024-01-22T11:35:56.561962064Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-01-22T11:35:56.563867613Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.905359ms grafana | logger=migrator t=2024-01-22T11:35:56.570024734Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-01-22T11:35:56.571191545Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.166261ms grafana | logger=migrator t=2024-01-22T11:35:56.574867542Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-01-22T11:35:56.582974813Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.106711ms grafana | logger=migrator t=2024-01-22T11:35:56.587501268Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-01-22T11:35:56.588576569Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.074991ms grafana | logger=migrator t=2024-01-22T11:35:56.592031763Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-01-22T11:35:56.593170744Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.138461ms grafana | logger=migrator t=2024-01-22T11:35:56.597673259Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-22T11:35:56.630055422Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=32.382242ms grafana | logger=migrator t=2024-01-22T11:35:56.633856919Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-01-22T11:35:56.634532096Z level=info msg="Migration successfully executed" id="create correlation v2" duration=674.997µs grafana | logger=migrator t=2024-01-22T11:35:56.638133422Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-01-22T11:35:56.639002471Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=867.089µs grafana | logger=migrator t=2024-01-22T11:35:56.643853279Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-01-22T11:35:56.645807958Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.954629ms policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-22T11:35:56.649872729Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-01-22T11:35:56.651833608Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.963759ms grafana | logger=migrator t=2024-01-22T11:35:56.655742887Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-01-22T11:35:56.65600916Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=268.903µs grafana | logger=migrator t=2024-01-22T11:35:56.660430454Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-01-22T11:35:56.661314683Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=880.699µs grafana | logger=migrator t=2024-01-22T11:35:56.664913598Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-01-22T11:35:56.674842307Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.928639ms grafana | logger=migrator t=2024-01-22T11:35:56.678456543Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-01-22T11:35:56.679205221Z level=info msg="Migration successfully executed" id="create entity_events table" duration=748.418µs grafana | logger=migrator t=2024-01-22T11:35:56.690306221Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-01-22T11:35:56.691893467Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.587656ms grafana | logger=migrator t=2024-01-22T11:35:56.695652144Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-22T11:35:56.696119619Z 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-01-22T11:35:56.699570333Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-22T11:35:56.700040348Z 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-01-22T11:35:56.70426462Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-01-22T11:35:56.705504372Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.239542ms grafana | logger=migrator t=2024-01-22T11:35:56.709678284Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-01-22T11:35:56.711123678Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.444154ms grafana | logger=migrator t=2024-01-22T11:35:56.715879726Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-22T11:35:56.717055397Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.175741ms grafana | logger=migrator t=2024-01-22T11:35:56.720414701Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-22T11:35:56.721978166Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.562245ms grafana | logger=migrator t=2024-01-22T11:35:56.725843535Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-22T11:35:56.727588362Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.744857ms grafana | logger=migrator t=2024-01-22T11:35:56.732148327Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-22T11:35:56.73342314Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.274353ms grafana | logger=migrator t=2024-01-22T11:35:56.737081147Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-01-22T11:35:56.737863534Z level=info msg="Migration successfully executed" id="Drop public config table" duration=780.097µs grafana | logger=migrator t=2024-01-22T11:35:56.741870384Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-01-22T11:35:56.74351223Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.638746ms grafana | logger=migrator t=2024-01-22T11:35:56.748155057Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-22T11:35:56.749349019Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.193752ms grafana | logger=migrator t=2024-01-22T11:35:56.753605451Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-22T11:35:56.755326668Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.715687ms grafana | logger=migrator t=2024-01-22T11:35:56.759893114Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-01-22T11:35:56.761703082Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.809469ms grafana | logger=migrator t=2024-01-22T11:35:56.765168316Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-01-22T11:35:56.797893132Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.722046ms grafana | logger=migrator t=2024-01-22T11:35:56.801525688Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-01-22T11:35:56.808569278Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.04238ms grafana | logger=migrator t=2024-01-22T11:35:56.812929812Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-01-22T11:35:56.821621958Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.690756ms grafana | logger=migrator t=2024-01-22T11:35:56.825090943Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-01-22T11:35:56.825264474Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=173.661µs grafana | logger=migrator t=2024-01-22T11:35:56.828670978Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-01-22T11:35:56.835103262Z level=info msg="Migration successfully executed" id="add share column" duration=6.431274ms grafana | logger=migrator t=2024-01-22T11:35:56.838686418Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-01-22T11:35:56.839151322Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=464.814µs 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 | -------------- grafana | logger=migrator t=2024-01-22T11:35:56.844011561Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-01-22T11:35:56.84488397Z level=info msg="Migration successfully executed" id="create file table" duration=872.419µs grafana | logger=migrator t=2024-01-22T11:35:56.848474145Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-01-22T11:35:56.849703348Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.229493ms grafana | logger=migrator t=2024-01-22T11:35:56.853426245Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-01-22T11:35:56.854550456Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.125501ms grafana | logger=migrator t=2024-01-22T11:35:56.85893022Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-01-22T11:35:56.859693797Z level=info msg="Migration successfully executed" id="create file_meta table" duration=763.128µs grafana | logger=migrator t=2024-01-22T11:35:56.863142931Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-01-22T11:35:56.864401584Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.258153ms grafana | logger=migrator t=2024-01-22T11:35:56.869421834Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-01-22T11:35:56.869504635Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=80.661µs grafana | logger=migrator t=2024-01-22T11:35:56.874326523Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-01-22T11:35:56.874408304Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=82.821µs grafana | logger=migrator t=2024-01-22T11:35:56.877786637Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-01-22T11:35:56.878434103Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=647.546µs grafana | logger=migrator t=2024-01-22T11:35:56.881870158Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-01-22T11:35:56.882279712Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=406.444µs grafana | logger=migrator t=2024-01-22T11:35:56.886025119Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-22T11:35:56.887372752Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.347043ms grafana | logger=migrator t=2024-01-22T11:35:56.891834687Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-22T11:35:56.904330541Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=12.493514ms grafana | logger=migrator t=2024-01-22T11:35:56.90820367Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-22T11:35:56.908348121Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=143.321µs grafana | logger=migrator t=2024-01-22T11:35:56.911578893Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-22T11:35:56.912421502Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=842.119µs grafana | logger=migrator t=2024-01-22T11:35:56.915907766Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-22T11:35:56.916626283Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=719.457µs grafana | logger=migrator t=2024-01-22T11:35:56.92130214Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-22T11:35:56.921706014Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=406.454µs grafana | logger=migrator t=2024-01-22T11:35:56.92531291Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-22T11:35:56.925834805Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=521.115µs grafana | logger=migrator t=2024-01-22T11:35:56.929279939Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-22T11:35:56.938077417Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.799378ms grafana | logger=migrator t=2024-01-22T11:35:56.942724413Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-22T11:35:56.95140259Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.678537ms grafana | logger=migrator t=2024-01-22T11:35:56.954849754Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-22T11:35:56.956038526Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.188092ms grafana | logger=migrator t=2024-01-22T11:35:56.95943079Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-22T11:35:57.069190437Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=109.754757ms grafana | logger=migrator t=2024-01-22T11:35:57.074261995Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-22T11:35:57.075198725Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=936.64µs grafana | logger=migrator t=2024-01-22T11:35:57.078755127Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-22T11:35:57.08080645Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=2.050293ms grafana | logger=migrator t=2024-01-22T11:35:57.084789346Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-22T11:35:57.120355424Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.566828ms grafana | logger=migrator t=2024-01-22T11:35:57.124974957Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-22T11:35:57.125162089Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=186.092µs grafana | logger=migrator t=2024-01-22T11:35:57.127767029Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-22T11:35:57.127935051Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=168.122µs grafana | logger=migrator t=2024-01-22T11:35:57.131382501Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-22T11:35:57.131784285Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=404.924µs grafana | logger=migrator t=2024-01-22T11:35:57.136495069Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-22T11:35:57.137960196Z level=info msg="Migration successfully executed" id="create folder table" duration=1.464907ms grafana | logger=migrator t=2024-01-22T11:35:57.14172246Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-22T11:35:57.142973974Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.251034ms grafana | logger=migrator t=2024-01-22T11:35:57.146621616Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-22T11:35:57.148551948Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.925472ms grafana | logger=migrator t=2024-01-22T11:35:57.153403774Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-22T11:35:57.153477535Z level=info msg="Migration successfully executed" id="Update folder title length" duration=74.361µs grafana | logger=migrator t=2024-01-22T11:35:57.157164607Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-22T11:35:57.158457112Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.293985ms grafana | logger=migrator t=2024-01-22T11:35:57.162289186Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-22T11:35:57.163412759Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.123223ms grafana | logger=migrator t=2024-01-22T11:35:57.168148813Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-22T11:35:57.169390737Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.308735ms grafana | logger=migrator t=2024-01-22T11:35:57.172799156Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-22T11:35:57.173753117Z level=info msg="Migration successfully executed" id="create anon_device table" duration=952.931µs grafana | logger=migrator t=2024-01-22T11:35:57.17747575Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-22T11:35:57.179538944Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.062084ms grafana | logger=migrator t=2024-01-22T11:35:57.184168937Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-22T11:35:57.185453992Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.284565ms grafana | logger=migrator t=2024-01-22T11:35:57.189146064Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-22T11:35:57.189956723Z level=info msg="Migration successfully executed" id="create signing_key table" duration=810.479µs grafana | logger=migrator t=2024-01-22T11:35:57.193501024Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-22T11:35:57.194704128Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.204704ms grafana | logger=migrator t=2024-01-22T11:35:57.1992402Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-22T11:35:57.200793668Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.552488ms grafana | logger=migrator t=2024-01-22T11:35:57.207708837Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-22T11:35:57.208235193Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=527.566µs grafana | logger=migrator t=2024-01-22T11:35:57.211731654Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-22T11:35:57.225795665Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=14.064711ms grafana | logger=migrator t=2024-01-22T11:35:57.230771482Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-22T11:35:57.232580473Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=1.817701ms grafana | logger=migrator t=2024-01-22T11:35:57.237900764Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-22T11:35:57.239142348Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.241464ms grafana | logger=migrator t=2024-01-22T11:35:57.241809679Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-22T11:35:57.242721219Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=908.88µs grafana | logger=migrator t=2024-01-22T11:35:57.246585574Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-22T11:35:57.247351863Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=767.049µs grafana | logger=migrator t=2024-01-22T11:35:57.251861544Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-22T11:35:57.252138847Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=260.693µs grafana | logger=migrator t=2024-01-22T11:35:57.25501542Z level=info msg="migrations completed" performed=523 skipped=0 duration=4.038911829s grafana | logger=sqlstore t=2024-01-22T11:35:57.263777211Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-22T11:35:57.264036804Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-22T11:35:57.269058582Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-22T11:35:57.28722011Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-22T11:35:57.324120554Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-22T11:35:57.324182165Z level=info msg="Plugins loaded" count=55 duration=36.963145ms grafana | logger=query_data t=2024-01-22T11:35:57.328718587Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-22T11:35:57.340226959Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-22T11:35:57.344912523Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-22T11:35:57.34556524Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-22T11:35:57.345844624Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2024-01-22T11:35:57.346125897Z level=warn msg="No available receivers" 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 | grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-22T11:35:57.348348252Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-22T11:35:57.379148776Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-22T11:35:57.38120335Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-22T11:35:57.425260056Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-22T11:35:57.425303466Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-01-22T11:35:57.42561993Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-01-22T11:35:57.425972684Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=grafanaStorageLogger t=2024-01-22T11:35:57.426018394Z level=info msg="Storage starting" grafana | logger=http.server t=2024-01-22T11:35:57.428805816Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2024-01-22T11:35:57.456251371Z level=info msg="Update check succeeded" duration=30.219537ms grafana | logger=plugins.update.checker t=2024-01-22T11:35:57.51530035Z level=info msg="Update check succeeded" duration=88.939762ms grafana | logger=ngalert.state.manager t=2024-01-22T11:35:57.608177996Z level=info msg="State cache has been initialized" states=0 duration=182.554296ms grafana | logger=ngalert.scheduler t=2024-01-22T11:35:57.608298768Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-22T11:35:57.608664262Z level=info msg=starting first_tick=2024-01-22T11:36:00Z grafana | logger=sqlstore.transactions t=2024-01-22T11:35:57.710128167Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-01-22T11:35:57.725767257Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 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 2201241136010800u 1 2024-01-22 11:36:01 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:01 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:01 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:01 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:01 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:01 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:01 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:01 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:01 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:01 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:01 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:02 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:03 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:04 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:05 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:05 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:05 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:05 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:05 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:05 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:05 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:05 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:05 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2201241136010800u 1 2024-01-22 11:36:05 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:05 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:05 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:05 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:05 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:05 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:05 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:05 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:05 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:05 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:06 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:06 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:06 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2201241136010900u 1 2024-01-22 11:36:06 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2201241136011000u 1 2024-01-22 11:36:06 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2201241136011000u 1 2024-01-22 11:36:06 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2201241136011000u 1 2024-01-22 11:36:06 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2201241136011000u 1 2024-01-22 11:36:06 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2201241136011000u 1 2024-01-22 11:36:06 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2201241136011000u 1 2024-01-22 11:36:06 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2201241136011000u 1 2024-01-22 11:36:06 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2201241136011000u 1 2024-01-22 11:36:06 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2201241136011000u 1 2024-01-22 11:36:06 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2201241136011100u 1 2024-01-22 11:36:06 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2201241136011200u 1 2024-01-22 11:36:06 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2201241136011200u 1 2024-01-22 11:36:06 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2201241136011200u 1 2024-01-22 11:36:06 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2201241136011200u 1 2024-01-22 11:36:06 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 mariadb ... done Removing policy-db-migrator ... 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.rbBs2edKIL ]] + rsync -av /tmp/tmp.rbBs2edKIL/ /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,962 bytes received 95 bytes 2,694,114.00 bytes/sec total size is 1,346,312 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 2072 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14712394466399631409.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2174300692914064328.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15028712849826677201.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-dJ5A from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-dJ5A/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7996863128407387588.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config501343557584749487tmp 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/jenkins15794628524386539726.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins766890636202083399.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-dJ5A from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-dJ5A/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16510382559512877415.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16409253727592036895.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-dJ5A from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-dJ5A/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/jenkins17243902264628149236.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-dJ5A from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-dJ5A/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/248 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-14165 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 842 27441 0 3882 30868 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:b4:03:44 brd ff:ff:ff:ff:ff:ff inet 10.30.107.72/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86061sec preferred_lft 86061sec inet6 fe80::f816:3eff:feb4:344/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:d5:70:2f:bb 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-14165) 01/22/24 _x86_64_ (8 CPU) 11:33:01 LINUX RESTART (8 CPU) 11:34:00 tps rtps wtps bread/s bwrtn/s 11:35:01 121.95 26.47 95.48 2047.27 32609.21 11:36:01 374.71 21.68 353.03 2438.19 85739.50 11:37:01 79.80 0.48 79.32 45.19 22189.15 11:38:01 46.41 0.88 45.53 46.13 23615.70 Average: 155.59 12.44 143.15 1147.99 41005.28 11:34:00 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 29896356 31678800 3042864 9.24 79800 2004444 1438440 4.23 903584 1831696 146292 11:36:01 27976892 31510668 4962328 15.07 123116 3640296 3251552 9.57 1198088 3320536 1588 11:37:01 26665132 30232228 6274088 19.05 125776 3642848 4875648 14.35 2513344 3312836 104 11:38:01 28061316 31570860 4877904 14.81 126724 3623080 1502672 4.42 1209924 3247524 33696 Average: 28149924 31248139 4789296 14.54 113854 3227667 2767078 8.14 1456235 2928148 45420 11:34:00 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 ens3 70.86 47.29 1271.28 8.45 0.00 0.00 0.00 0.00 11:35:01 lo 1.05 1.05 0.11 0.11 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:36:01 ens3 285.15 183.76 8616.47 15.26 0.00 0.00 0.00 0.00 11:36:01 lo 9.20 9.20 0.84 0.84 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 vethdfc834f 0.40 0.57 0.05 0.30 0.00 0.00 0.00 0.00 11:37:01 ens3 6.00 5.27 1.17 1.38 0.00 0.00 0.00 0.00 11:37:01 lo 9.13 9.13 8.23 8.23 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 vethdfc834f 0.12 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:38:01 ens3 60.77 40.24 68.32 21.15 0.00 0.00 0.00 0.00 11:38:01 lo 9.18 9.18 0.74 0.74 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 Average: ens3 105.56 69.05 2484.51 11.55 0.00 0.00 0.00 0.00 Average: lo 7.11 7.11 2.47 2.47 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-14165) 01/22/24 _x86_64_ (8 CPU) 11:33:01 LINUX RESTART (8 CPU) 11:34:00 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 10.43 0.00 0.89 2.40 0.03 86.25 11:35:01 0 14.07 0.00 1.23 1.31 0.03 83.35 11:35:01 1 13.32 0.00 1.30 2.26 0.03 83.08 11:35:01 2 39.30 0.00 2.13 2.25 0.07 56.25 11:35:01 3 10.88 0.00 0.82 0.11 0.03 88.15 11:35:01 4 3.74 0.00 0.57 12.25 0.02 83.42 11:35:01 5 1.20 0.00 0.46 0.36 0.02 97.97 11:35:01 6 0.69 0.00 0.52 0.61 0.00 98.18 11:35:01 7 0.23 0.00 0.12 0.02 0.07 99.57 11:36:01 all 9.76 0.00 3.75 5.15 0.06 81.28 11:36:01 0 8.66 0.00 3.68 1.56 0.05 86.05 11:36:01 1 7.37 0.00 3.11 0.85 0.05 88.62 11:36:01 2 19.95 0.00 4.94 5.87 0.07 69.17 11:36:01 3 13.72 0.00 4.50 1.65 0.05 80.07 11:36:01 4 6.77 0.00 3.10 12.17 0.07 77.89 11:36:01 5 8.43 0.00 4.42 16.16 0.07 70.93 11:36:01 6 7.32 0.00 3.03 2.52 0.07 87.07 11:36:01 7 5.92 0.00 3.17 0.48 0.05 90.38 11:37:01 all 16.23 0.00 1.71 1.50 0.05 80.51 11:37:01 0 17.31 0.00 1.84 0.52 0.05 80.28 11:37:01 1 11.29 0.00 1.04 0.32 0.05 87.30 11:37:01 2 20.97 0.00 1.76 1.62 0.07 75.59 11:37:01 3 12.40 0.00 1.20 1.15 0.05 85.19 11:37:01 4 10.75 0.00 1.61 0.43 0.03 87.18 11:37:01 5 22.43 0.00 2.33 0.02 0.05 75.18 11:37:01 6 23.93 0.00 2.61 0.55 0.07 72.84 11:37:01 7 10.78 0.00 1.29 7.35 0.07 80.51 11:38:01 all 3.21 0.00 0.54 1.34 0.03 94.89 11:38:01 0 1.62 0.00 0.50 0.22 0.02 97.65 11:38:01 1 1.00 0.00 0.42 0.22 0.02 98.35 11:38:01 2 0.72 0.00 0.37 0.23 0.02 98.67 11:38:01 3 14.23 0.00 0.95 0.33 0.05 84.44 11:38:01 4 1.52 0.00 0.67 0.52 0.02 97.28 11:38:01 5 1.64 0.00 0.40 0.00 0.02 97.95 11:38:01 6 3.15 0.00 0.63 0.00 0.02 96.20 11:38:01 7 1.82 0.00 0.40 9.10 0.05 88.63 Average: all 9.90 0.00 1.71 2.59 0.04 85.75 Average: 0 10.42 0.00 1.81 0.90 0.04 86.83 Average: 1 8.27 0.00 1.46 0.92 0.04 89.31 Average: 2 20.31 0.00 2.29 2.48 0.05 74.87 Average: 3 12.80 0.00 1.86 0.81 0.05 84.49 Average: 4 5.68 0.00 1.48 6.35 0.03 86.45 Average: 5 8.37 0.00 1.89 4.08 0.04 85.62 Average: 6 8.72 0.00 1.69 0.92 0.04 88.63 Average: 7 4.65 0.00 1.23 4.24 0.06 89.81