Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-13961 (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-zUyL5LWcDPBq/agent.2136 SSH_AGENT_PID=2138 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_1257039240700514562.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_1257039240700514562.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/jenkins9072604667852470010.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-5Huk 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-5Huk/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-5Huk/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/jenkins71375433680482224.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/jenkins7976534804311172726.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.9d5xB8Yyxs ++ echo ROBOT_VENV=/tmp/tmp.9d5xB8Yyxs +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.9d5xB8Yyxs ++ source /tmp/tmp.9d5xB8Yyxs/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.9d5xB8Yyxs +++ 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.9d5xB8Yyxs/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.9d5xB8Yyxs) ' '!=' x ']' +++ PS1='(tmp.9d5xB8Yyxs) ' +++ 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.9d5xB8Yyxs/src/onap ++ rm -rf /tmp/tmp.9d5xB8Yyxs/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.9d5xB8Yyxs/bin/activate + '[' -z /tmp/tmp.9d5xB8Yyxs/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.9d5xB8Yyxs/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.9d5xB8Yyxs ++ 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.9d5xB8Yyxs/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.9d5xB8Yyxs) ' ++ '[' 'x(tmp.9d5xB8Yyxs) ' '!=' x ']' ++ PS1='(tmp.9d5xB8Yyxs) (tmp.9d5xB8Yyxs) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.2dI6m2JxoS + cd /tmp/tmp.2dI6m2JxoS + 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 mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 11 seconds prometheus Up 13 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 16 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:35:45 up 3 min, 0 users, load average: 2.45, 0.97, 0.37 Tasks: 177 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.1 us, 2.1 sy, 0.0 ni, 82.9 id, 3.8 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 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 c9c218c1fd88 policy-api 0.28% 979.6MiB / 31.41GiB 3.05% 1.04MB / 739kB 0B / 0B 51 52bce2824032 grafana 0.03% 53.99MiB / 31.41GiB 0.17% 19.2kB / 3.16kB 0B / 23.7MB 16 92617434aeee mariadb 0.08% 100.7MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.1MB / 67.5MB 25 bfa1d7aebbbc prometheus 0.01% 19.79MiB / 31.41GiB 0.06% 1.52kB / 158B 4.1kB / 0B 13 + echo + cd /tmp/tmp.2dI6m2JxoS + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.2dI6m2JxoS/output.xml Log: /tmp/tmp.2dI6m2JxoS/log.html Report: /tmp/tmp.2dI6m2JxoS/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:36:55 up 4 min, 0 users, load average: 1.10, 0.88, 0.38 Tasks: 175 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.2 us, 1.6 sy, 0.0 ni, 85.9 id, 3.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS c9c218c1fd88 policy-api 0.09% 994.3MiB / 31.41GiB 3.09% 7.32MB / 2.87MB 0B / 0B 52 52bce2824032 grafana 0.01% 55.73MiB / 31.41GiB 0.17% 20.3kB / 4.43kB 0B / 23.7MB 16 92617434aeee mariadb 0.02% 101.5MiB / 31.41GiB 0.32% 2.75MB / 7.35MB 11.1MB / 67.7MB 18 bfa1d7aebbbc prometheus 0.23% 25.53MiB / 31.41GiB 0.08% 38.1kB / 7.1kB 4.1kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus mariadb | 2024-01-21 11:35:17+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-21 11:35:17+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-21 11:35:17+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-21 11:35:18+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-21 11:35:18 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-21 11:35:18 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-21 11:35:18 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-21 11:35:19+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-21 11:35:19+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-21 11:35:19+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-21 11:35:19 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2024-01-21 11:35:19 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-21 11:35:19 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-21 11:35:19 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-21 11:35:19 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-21 11:35:19 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-21 11:35:19 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-21 11:35:19 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-21 11:35:19 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-21 11:35:19 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-21 11:35:19 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-21 11:35:19 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-21 11:35:19 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-21 11:35:19 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-01-21 11:35:19 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-21 11:35:19 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-21 11:35:19 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-21 11:35:19 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-21 11:35:19 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-21 11:35:20+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-21 11:35:22+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-21 11:35:22+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-01-21 11:35:22+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-01-21 11:35:22+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-01-21 11:35:23+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-01-21 11:35:23 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: Buffer pool(s) dump completed at 240121 11:35:23 mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: Shutdown completed; log sequence number 322160; transaction id 298 mariadb | 2024-01-21 11:35:23 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-01-21 11:35:23+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-01-21 11:35:23+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-01-21 11:35:23 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-21 11:35:23 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-21 11:35:23 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-21 11:35:23 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: log sequence number 322160; transaction id 299 mariadb | 2024-01-21 11:35:23 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-21 11:35:23 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-21 11:35:23 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-21 11:35:23 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-01-21 11:35:23 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-01-21 11:35:23 0 [Note] Server socket created on IP: '::'. mariadb | 2024-01-21 11:35:23 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-21 11:35:23 0 [Note] InnoDB: Buffer pool(s) load completed at 240121 11:35:23 mariadb | 2024-01-21 11:35:23 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-01-21 11:35:24 56 [Warning] Aborted connection 56 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=settings t=2024-01-21T11:35:16.678660298Z 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-21T11:35:16.67885805Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-21T11:35:16.67886844Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-21T11:35:16.67887201Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-21T11:35:16.67887503Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-21T11:35:16.67887783Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-21T11:35:16.6788806Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-21T11:35:16.67888347Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-21T11:35:16.67888659Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-21T11:35:16.67889124Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-21T11:35:16.67889412Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-21T11:35:16.67889688Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-21T11:35:16.67889971Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-21T11:35:16.67890445Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-21T11:35:16.67890754Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-21T11:35:16.67891021Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-21T11:35:16.67891381Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-21T11:35:16.67891658Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-21T11:35:16.67891929Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-21T11:35:16.679208193Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-21T11:35:16.679224844Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-21T11:35:16.67979334Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-21T11:35:16.680616859Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-21T11:35:16.681302376Z level=info msg="Migration successfully executed" id="create migration_log table" duration=685.037µs grafana | logger=migrator t=2024-01-21T11:35:16.684711082Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-21T11:35:16.685196997Z level=info msg="Migration successfully executed" id="create user table" duration=486.165µs grafana | logger=migrator t=2024-01-21T11:35:16.687892736Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-21T11:35:16.688412391Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=519.205µs grafana | logger=migrator t=2024-01-21T11:35:16.69294178Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-21T11:35:16.693502706Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=560.306µs grafana | logger=migrator t=2024-01-21T11:35:16.696804281Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-21T11:35:16.697880242Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.076181ms grafana | logger=migrator t=2024-01-21T11:35:16.701089446Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-21T11:35:16.702169428Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.077152ms grafana | logger=migrator t=2024-01-21T11:35:16.706923529Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-21T11:35:16.709771959Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.84756ms grafana | logger=migrator t=2024-01-21T11:35:16.712557779Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-21T11:35:16.713307507Z level=info msg="Migration successfully executed" id="create user table v2" duration=749.567µs grafana | logger=migrator t=2024-01-21T11:35:16.715798713Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-21T11:35:16.716552791Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=753.788µs grafana | logger=migrator t=2024-01-21T11:35:16.721199491Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-21T11:35:16.722609676Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.408475ms grafana | logger=migrator t=2024-01-21T11:35:16.726025302Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-21T11:35:16.726703369Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=677.297µs grafana | logger=migrator t=2024-01-21T11:35:16.729695991Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-21T11:35:16.730340038Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=643.797µs grafana | logger=migrator t=2024-01-21T11:35:16.734961617Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-21T11:35:16.736358382Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.395005ms grafana | logger=migrator t=2024-01-21T11:35:16.739593126Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-21T11:35:16.739629867Z level=info msg="Migration successfully executed" id="Update user table charset" duration=38.151µs grafana | logger=migrator t=2024-01-21T11:35:16.742336646Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-21T11:35:16.744132105Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.79559ms grafana | logger=migrator t=2024-01-21T11:35:16.748947046Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-21T11:35:16.74935834Z level=info msg="Migration successfully executed" id="Add missing user data" duration=409.144µs grafana | logger=migrator t=2024-01-21T11:35:16.752706266Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-01-21T11:35:16.754566246Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.85926ms grafana | logger=migrator t=2024-01-21T11:35:16.758192795Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-21T11:35:16.759422808Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.229553ms grafana | logger=migrator t=2024-01-21T11:35:16.762996116Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-21T11:35:16.764293759Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.297173ms grafana | logger=migrator t=2024-01-21T11:35:16.769120751Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-21T11:35:16.781559613Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.439102ms grafana | logger=migrator t=2024-01-21T11:35:16.78499259Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-21T11:35:16.785817049Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=825.529µs grafana | logger=migrator t=2024-01-21T11:35:16.789247905Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-21T11:35:16.790137005Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=888.8µs grafana | logger=migrator t=2024-01-21T11:35:16.795855136Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-21T11:35:16.796996458Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.143952ms grafana | logger=migrator t=2024-01-21T11:35:16.800464395Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-21T11:35:16.801680577Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.215822ms grafana | logger=migrator t=2024-01-21T11:35:16.805180915Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-21T11:35:16.806474019Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.278214ms grafana | logger=migrator t=2024-01-21T11:35:16.811589003Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-21T11:35:16.811622063Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=33.96µs grafana | logger=migrator t=2024-01-21T11:35:16.814867318Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-21T11:35:16.815684117Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=816.609µs grafana | logger=migrator t=2024-01-21T11:35:16.819027962Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-21T11:35:16.820184085Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.155683ms grafana | logger=migrator t=2024-01-21T11:35:16.8234631Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-21T11:35:16.824654642Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.191453ms grafana | logger=migrator t=2024-01-21T11:35:16.829312512Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-21T11:35:16.83010403Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=791.118µs grafana | logger=migrator t=2024-01-21T11:35:16.833331475Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-21T11:35:16.838933014Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.598459ms grafana | logger=migrator t=2024-01-21T11:35:16.842495252Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-21T11:35:16.843343871Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=847.889µs grafana | logger=migrator t=2024-01-21T11:35:16.847505716Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-21T11:35:16.848375725Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=869.789µs grafana | logger=migrator t=2024-01-21T11:35:16.851453778Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-21T11:35:16.852321797Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=867.939µs grafana | logger=migrator t=2024-01-21T11:35:16.855478441Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-21T11:35:16.85636985Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=896.909µs grafana | logger=migrator t=2024-01-21T11:35:16.861294692Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-21T11:35:16.862176622Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=881.62µs grafana | logger=migrator t=2024-01-21T11:35:16.865402266Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-21T11:35:16.865905392Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=504.986µs grafana | logger=migrator t=2024-01-21T11:35:16.869043885Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-21T11:35:16.869981255Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=936.74µs grafana | logger=migrator t=2024-01-21T11:35:16.875898588Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-21T11:35:16.876481974Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=582.916µs grafana | logger=migrator t=2024-01-21T11:35:16.880093393Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-21T11:35:16.881088103Z level=info msg="Migration successfully executed" id="create star table" duration=994.11µs grafana | logger=migrator t=2024-01-21T11:35:16.884696892Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-21T11:35:16.885614611Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=917.259µs grafana | logger=migrator t=2024-01-21T11:35:16.888724425Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-21T11:35:16.889512493Z level=info msg="Migration successfully executed" id="create org table v1" duration=787.718µs grafana | logger=migrator t=2024-01-21T11:35:16.895425536Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-01-21T11:35:16.896305765Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=889.029µs grafana | logger=migrator t=2024-01-21T11:35:16.8996072Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-21T11:35:16.900432959Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=822.739µs grafana | logger=migrator t=2024-01-21T11:35:16.903485972Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-21T11:35:16.904430502Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=944.73µs grafana | logger=migrator t=2024-01-21T11:35:16.907660066Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-21T11:35:16.908561196Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=900.81µs grafana | logger=migrator t=2024-01-21T11:35:16.913182605Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-21T11:35:16.914221106Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.039371ms grafana | logger=migrator t=2024-01-21T11:35:16.917638352Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-21T11:35:16.917683443Z level=info msg="Migration successfully executed" id="Update org table charset" duration=47.021µs grafana | logger=migrator t=2024-01-21T11:35:16.921265701Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-21T11:35:16.921319862Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=45.27µs grafana | logger=migrator t=2024-01-21T11:35:16.925214833Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-21T11:35:16.925561717Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=347.054µs grafana | logger=migrator t=2024-01-21T11:35:16.930246387Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-21T11:35:16.931369549Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.116802ms grafana | logger=migrator t=2024-01-21T11:35:16.934796815Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-21T11:35:16.936159729Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.321994ms grafana | logger=migrator t=2024-01-21T11:35:16.976373038Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-21T11:35:16.977853714Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.480475ms grafana | logger=migrator t=2024-01-21T11:35:16.98130859Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-21T11:35:16.982428592Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.119862ms grafana | logger=migrator t=2024-01-21T11:35:16.987914111Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-21T11:35:16.98874203Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=827.458µs grafana | logger=migrator t=2024-01-21T11:35:16.991747591Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-21T11:35:16.992675481Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=926.72µs grafana | logger=migrator t=2024-01-21T11:35:16.996016587Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-21T11:35:17.004387876Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.304668ms grafana | logger=migrator t=2024-01-21T11:35:17.009572443Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-21T11:35:17.01023337Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=657.867µs grafana | logger=migrator t=2024-01-21T11:35:17.013198763Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-21T11:35:17.0139025Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=703.597µs grafana | logger=migrator t=2024-01-21T11:35:17.016768782Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-21T11:35:17.017576281Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=806.999µs grafana | logger=migrator t=2024-01-21T11:35:17.023087191Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-21T11:35:17.023399835Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=312.704µs grafana | logger=migrator t=2024-01-21T11:35:17.026288337Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-21T11:35:17.027102636Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=813.899µs grafana | logger=migrator t=2024-01-21T11:35:17.032818089Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-21T11:35:17.03297812Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=159.741µs grafana | logger=migrator t=2024-01-21T11:35:17.036364128Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-21T11:35:17.039424512Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.064644ms grafana | logger=migrator t=2024-01-21T11:35:17.042834569Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-21T11:35:17.045728771Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.893382ms grafana | logger=migrator t=2024-01-21T11:35:17.048854426Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-21T11:35:17.050608175Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.753449ms grafana | logger=migrator t=2024-01-21T11:35:17.056260237Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-21T11:35:17.057040776Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=780.389µs grafana | logger=migrator t=2024-01-21T11:35:17.060171171Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-21T11:35:17.061985571Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.81417ms grafana | logger=migrator t=2024-01-21T11:35:17.065097885Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-01-21T11:35:17.066067416Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=973.431µs grafana | logger=migrator t=2024-01-21T11:35:17.071142182Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-21T11:35:17.071950451Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=803.019µs grafana | logger=migrator t=2024-01-21T11:35:17.075108835Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-21T11:35:17.075128626Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=20.541µs policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-01-21T11:35:30.999+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 30 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-21T11:35:31.002+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-21T11:35:32.271+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-21T11:35:32.360+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-21T11:35:33.403+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-21T11:35:33.416+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-21T11:35:33.416+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-21T11:35:33.416+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-01-21T11:35:33.493+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-21T11:35:33.494+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2435 ms policy-api | [2024-01-21T11:35:34.015+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-21T11:35:34.079+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-01-21T11:35:34.283+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-01-21T11:35:34.414+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-21T11:35:34.519+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-21T11:35:34.539+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-01-21T11:35:35.898+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-01-21T11:35:35.913+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-01-21T11:35:36.974+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-21T11:35:37.657+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-21T11:35:38.680+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-21T11:35:38.804+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-21T11:35:41.576+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-01-21T11:35:41.605+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-21T11:35:41.640+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-21T11:35:41.658+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.433 seconds (JVM running for 12.041) policy-api | [2024-01-21T11:35:48.102+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-21T11:35:48.102+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-21T11:35:48.104+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-01-21T11:35:50.721+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-01-21T11:35:50.838+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-01-21T11:35:51.094+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2024-01-21T11:35:52.167+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2024-01-21T11:35:53.930+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-01-21T11:35:54.303+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-01-21T11:35:54.539+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-21T11:35:54.771+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-01-21T11:35:54.998+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-01-21T11:35:55.218+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-01-21T11:35:17.078107209Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-21T11:35:17.078131969Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=26.12µs grafana | logger=migrator t=2024-01-21T11:35:17.084270807Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-21T11:35:17.08731627Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.042453ms grafana | logger=migrator t=2024-01-21T11:35:17.092168574Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-21T11:35:17.094932844Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.76462ms grafana | logger=migrator t=2024-01-21T11:35:17.097912477Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-21T11:35:17.099863359Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.950572ms grafana | logger=migrator t=2024-01-21T11:35:17.104317958Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-21T11:35:17.1063581Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.037592ms grafana | logger=migrator t=2024-01-21T11:35:17.10904337Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-21T11:35:17.109279523Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=236.873µs grafana | logger=migrator t=2024-01-21T11:35:17.112295556Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-21T11:35:17.113052614Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=756.728µs grafana | logger=migrator t=2024-01-21T11:35:17.115884856Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-21T11:35:17.116593643Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=708.627µs grafana | logger=migrator t=2024-01-21T11:35:17.121185034Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-21T11:35:17.121209644Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=25.54µs grafana | logger=migrator t=2024-01-21T11:35:17.124026235Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-21T11:35:17.124793094Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=766.489µs grafana | logger=migrator t=2024-01-21T11:35:17.127710576Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-21T11:35:17.128696647Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=985.611µs grafana | logger=migrator t=2024-01-21T11:35:17.133767443Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-21T11:35:17.14345823Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.688787ms grafana | logger=migrator t=2024-01-21T11:35:17.146388612Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-21T11:35:17.146849147Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=455.965µs grafana | logger=migrator t=2024-01-21T11:35:17.149578198Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-21T11:35:17.150171164Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=591.176µs grafana | logger=migrator t=2024-01-21T11:35:17.155093988Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-21T11:35:17.155916968Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=822.709µs grafana | logger=migrator t=2024-01-21T11:35:17.158959751Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-21T11:35:17.159490067Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=529.536µs grafana | logger=migrator t=2024-01-21T11:35:17.1624577Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-21T11:35:17.163297939Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=839.769µs grafana | logger=migrator t=2024-01-21T11:35:17.168294354Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-21T11:35:17.170344957Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.051713ms grafana | logger=migrator t=2024-01-21T11:35:17.173050747Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-21T11:35:17.173881726Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=830.649µs grafana | logger=migrator t=2024-01-21T11:35:17.176803428Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-01-21T11:35:17.17697926Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=174.192µs grafana | logger=migrator t=2024-01-21T11:35:17.182198747Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-01-21T11:35:17.182483621Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=291.034µs grafana | logger=migrator t=2024-01-21T11:35:17.185395853Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-01-21T11:35:17.186675757Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.279184ms grafana | logger=migrator t=2024-01-21T11:35:17.189913363Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-01-21T11:35:17.192106927Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.194365ms grafana | logger=migrator t=2024-01-21T11:35:17.194805167Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-01-21T11:35:17.195637836Z level=info msg="Migration successfully executed" id="create data_source table" duration=832.329µs prometheus | ts=2024-01-21T11:35:15.715Z 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-21T11:35:15.715Z 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-21T11:35:15.715Z 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-21T11:35:15.715Z 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-21T11:35:15.715Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-01-21T11:35:15.715Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-01-21T11:35:15.717Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-01-21T11:35:15.717Z caller=main.go:1039 level=info msg="Starting TSDB ..." prometheus | ts=2024-01-21T11:35:15.725Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-01-21T11:35:15.725Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.62µs prometheus | ts=2024-01-21T11:35:15.725Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-01-21T11:35:15.725Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-01-21T11:35:15.725Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=31.43µs wal_replay_duration=613.04µs wbl_replay_duration=190ns total_replay_duration=679.851µs prometheus | ts=2024-01-21T11:35:15.726Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-01-21T11:35:15.726Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-01-21T11:35:15.727Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-01-21T11:35:15.727Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-01-21T11:35:15.727Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-21T11:35:15.728Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=806.562µs db_storage=1.27µs remote_storage=1.36µs web_handler=850ns query_engine=1.1µs scrape=230.293µs scrape_sd=94.021µs notify=27.331µs notify_sd=9.58µs rules=1.62µs tracing=4.03µs prometheus | ts=2024-01-21T11:35:15.728Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-21T11:35:15.728Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-01-21T11:35:17.200024934Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-01-21T11:35:17.200778983Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=756.979µs grafana | logger=migrator t=2024-01-21T11:35:17.203708195Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-01-21T11:35:17.204509344Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=800.829µs grafana | logger=migrator t=2024-01-21T11:35:17.207389366Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-01-21T11:35:17.208110424Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=721.047µs grafana | logger=migrator t=2024-01-21T11:35:17.2123643Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-01-21T11:35:17.213072298Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=707.888µs grafana | logger=migrator t=2024-01-21T11:35:17.215881849Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-01-21T11:35:17.227244705Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=11.364176ms grafana | logger=migrator t=2024-01-21T11:35:17.231205908Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-01-21T11:35:17.231817545Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=611.337µs grafana | logger=migrator t=2024-01-21T11:35:17.234182961Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-01-21T11:35:17.234789978Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=603.387µs grafana | logger=migrator t=2024-01-21T11:35:17.238846923Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-01-21T11:35:17.239665552Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=818.399µs grafana | logger=migrator t=2024-01-21T11:35:17.242744726Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-01-21T11:35:17.243304692Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=559.756µs grafana | logger=migrator t=2024-01-21T11:35:17.246670119Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-01-21T11:35:17.250679013Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=4.008254ms grafana | logger=migrator t=2024-01-21T11:35:17.255036192Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-01-21T11:35:17.257290457Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.255105ms grafana | logger=migrator t=2024-01-21T11:35:17.26029382Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-01-21T11:35:17.26032192Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=28.76µs grafana | logger=migrator t=2024-01-21T11:35:17.263418284Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-01-21T11:35:17.263597836Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=180.842µs grafana | logger=migrator t=2024-01-21T11:35:17.266195285Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-01-21T11:35:17.268415319Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.219704ms grafana | logger=migrator t=2024-01-21T11:35:17.272504704Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-01-21T11:35:17.272695666Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=190.522µs grafana | logger=migrator t=2024-01-21T11:35:17.275893362Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-01-21T11:35:17.276062924Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=169.271µs grafana | logger=migrator t=2024-01-21T11:35:17.279438791Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-01-21T11:35:17.283087771Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.64864ms grafana | logger=migrator t=2024-01-21T11:35:17.28660066Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-01-21T11:35:17.286887633Z level=info msg="Migration successfully executed" id="Update uid value" duration=287.453µs grafana | logger=migrator t=2024-01-21T11:35:17.332864081Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-01-21T11:35:17.333618759Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=755.248µs grafana | logger=migrator t=2024-01-21T11:35:17.336647242Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-01-21T11:35:17.337228059Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=580.537µs grafana | logger=migrator t=2024-01-21T11:35:17.340485965Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-01-21T11:35:17.341570307Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.083962ms grafana | logger=migrator t=2024-01-21T11:35:17.345701372Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-01-21T11:35:17.347041237Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.339275ms grafana | logger=migrator t=2024-01-21T11:35:17.350089371Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-01-21T11:35:17.351376725Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.286834ms grafana | logger=migrator t=2024-01-21T11:35:17.3545506Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-01-21T11:35:17.355410309Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=858.739µs grafana | logger=migrator t=2024-01-21T11:35:17.36085813Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-01-21T11:35:17.361652308Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=793.488µs grafana | logger=migrator t=2024-01-21T11:35:17.364751522Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-01-21T11:35:17.36544575Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=694.208µs grafana | logger=migrator t=2024-01-21T11:35:17.369590026Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-01-21T11:35:17.370393025Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=803.089µs grafana | logger=migrator t=2024-01-21T11:35:17.373791942Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-01-21T11:35:17.385260329Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.467177ms grafana | logger=migrator t=2024-01-21T11:35:17.388494105Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-01-21T11:35:17.38900425Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=512.166µs grafana | logger=migrator t=2024-01-21T11:35:17.392648741Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-01-21T11:35:17.393233947Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=585.216µs grafana | logger=migrator t=2024-01-21T11:35:17.39623693Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-01-21T11:35:17.397649676Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.412026ms grafana | logger=migrator t=2024-01-21T11:35:17.401530369Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-01-21T11:35:17.402955304Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.424335ms grafana | logger=migrator t=2024-01-21T11:35:17.40713828Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-01-21T11:35:17.407511084Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=375.614µs grafana | logger=migrator t=2024-01-21T11:35:17.410509548Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-01-21T11:35:17.411168935Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=658.997µs grafana | logger=migrator t=2024-01-21T11:35:17.414807605Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-01-21T11:35:17.414847756Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=50.351µs grafana | logger=migrator t=2024-01-21T11:35:17.419238844Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-01-21T11:35:17.423323199Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.083875ms grafana | logger=migrator t=2024-01-21T11:35:17.426962269Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-01-21T11:35:17.429577948Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.616149ms grafana | logger=migrator t=2024-01-21T11:35:17.432795784Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-01-21T11:35:17.432969076Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=173.582µs grafana | logger=migrator t=2024-01-21T11:35:17.436241782Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-01-21T11:35:17.439064883Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.822821ms grafana | logger=migrator t=2024-01-21T11:35:17.442923545Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-01-21T11:35:17.445419743Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.494418ms grafana | logger=migrator t=2024-01-21T11:35:17.448543337Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-01-21T11:35:17.449185464Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=641.867µs grafana | logger=migrator t=2024-01-21T11:35:17.452514671Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-01-21T11:35:17.453018297Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=503.436µs grafana | logger=migrator t=2024-01-21T11:35:17.45691507Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-01-21T11:35:17.457597807Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=683.977µs grafana | logger=migrator t=2024-01-21T11:35:17.460709012Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-01-21T11:35:17.46145708Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=747.778µs grafana | logger=migrator t=2024-01-21T11:35:17.465361383Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-01-21T11:35:17.466128761Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=767.068µs grafana | logger=migrator t=2024-01-21T11:35:17.469504789Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-01-21T11:35:17.470318748Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=813.619µs grafana | logger=migrator t=2024-01-21T11:35:17.473574743Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-01-21T11:35:17.473637044Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=63.091µs grafana | logger=migrator t=2024-01-21T11:35:17.476783829Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-01-21T11:35:17.476807569Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=24.27µs grafana | logger=migrator t=2024-01-21T11:35:17.480908825Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-01-21T11:35:17.483525814Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.617629ms grafana | logger=migrator t=2024-01-21T11:35:17.486612688Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-01-21T11:35:17.489162506Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.549419ms grafana | logger=migrator t=2024-01-21T11:35:17.492388051Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-21T11:35:17.492449002Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=61.351µs grafana | logger=migrator t=2024-01-21T11:35:17.496378815Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-01-21T11:35:17.497001532Z level=info msg="Migration successfully executed" id="create quota table v1" duration=622.327µs grafana | logger=migrator t=2024-01-21T11:35:17.499794013Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-01-21T11:35:17.500571702Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=777.129µs grafana | logger=migrator t=2024-01-21T11:35:17.503544855Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-01-21T11:35:17.503568475Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=24.57µs grafana | logger=migrator t=2024-01-21T11:35:17.505959101Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-01-21T11:35:17.506600628Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=641.407µs grafana | logger=migrator t=2024-01-21T11:35:17.510690613Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-01-21T11:35:17.511489182Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=798.059µs grafana | logger=migrator t=2024-01-21T11:35:17.514465545Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-01-21T11:35:17.517240166Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.769811ms grafana | logger=migrator t=2024-01-21T11:35:17.520203088Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-01-21T11:35:17.520229709Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=27.381µs grafana | logger=migrator t=2024-01-21T11:35:17.524111442Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-01-21T11:35:17.52484289Z level=info msg="Migration successfully executed" id="create session table" duration=730.798µs grafana | logger=migrator t=2024-01-21T11:35:17.528138836Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-01-21T11:35:17.528220357Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=87.281µs grafana | logger=migrator t=2024-01-21T11:35:17.531338771Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-01-21T11:35:17.531418232Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=79.781µs grafana | logger=migrator t=2024-01-21T11:35:17.535234974Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-01-21T11:35:17.536216205Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=980.711µs grafana | logger=migrator t=2024-01-21T11:35:17.539612913Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-01-21T11:35:17.540595554Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=982.261µs grafana | logger=migrator t=2024-01-21T11:35:17.54387668Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-01-21T11:35:17.54391585Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=36.73µs grafana | logger=migrator t=2024-01-21T11:35:17.547267987Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-01-21T11:35:17.547303537Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=44.48µs grafana | logger=migrator t=2024-01-21T11:35:17.551256461Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-01-21T11:35:17.554188573Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.931612ms grafana | logger=migrator t=2024-01-21T11:35:17.557211177Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-01-21T11:35:17.560151319Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.939682ms grafana | logger=migrator t=2024-01-21T11:35:17.56295034Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-01-21T11:35:17.563031001Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=81.091µs grafana | logger=migrator t=2024-01-21T11:35:17.566874184Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-01-21T11:35:17.566948704Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=74.891µs grafana | logger=migrator t=2024-01-21T11:35:17.569846196Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-01-21T11:35:17.570545444Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=699.128µs grafana | logger=migrator t=2024-01-21T11:35:17.574952543Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-01-21T11:35:17.574990363Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=38.96µs grafana | logger=migrator t=2024-01-21T11:35:17.578208559Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-01-21T11:35:17.583000221Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.788622ms grafana | logger=migrator t=2024-01-21T11:35:17.587094877Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-01-21T11:35:17.587324689Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=232.492µs grafana | logger=migrator t=2024-01-21T11:35:17.590532915Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-01-21T11:35:17.593506417Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.973222ms grafana | logger=migrator t=2024-01-21T11:35:17.596525201Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-01-21T11:35:17.599468103Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=2.942612ms grafana | logger=migrator t=2024-01-21T11:35:17.602958042Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-01-21T11:35:17.603025752Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=66.19µs grafana | logger=migrator t=2024-01-21T11:35:17.605973535Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-01-21T11:35:17.606840155Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=866.32µs grafana | logger=migrator t=2024-01-21T11:35:17.609807338Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-01-21T11:35:17.610587596Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=779.878µs grafana | logger=migrator t=2024-01-21T11:35:17.614651281Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-01-21T11:35:17.616215698Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.567117ms grafana | logger=migrator t=2024-01-21T11:35:17.619283512Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:17.620544346Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.256344ms grafana | logger=migrator t=2024-01-21T11:35:17.62456685Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-21T11:35:17.625330399Z level=info msg="Migration successfully executed" id="add index alert state" duration=763.159µs grafana | logger=migrator t=2024-01-21T11:35:17.629349873Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-01-21T11:35:17.630611697Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.261314ms grafana | logger=migrator t=2024-01-21T11:35:17.633976234Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-21T11:35:17.634894824Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=918.67µs grafana | logger=migrator t=2024-01-21T11:35:17.638910999Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-01-21T11:35:17.640527106Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.618827ms grafana | logger=migrator t=2024-01-21T11:35:17.678136942Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-21T11:35:17.679537167Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.400885ms grafana | logger=migrator t=2024-01-21T11:35:17.682810303Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-21T11:35:17.698266834Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=15.458401ms grafana | logger=migrator t=2024-01-21T11:35:17.701208656Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-01-21T11:35:17.701633041Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=422.525µs grafana | logger=migrator t=2024-01-21T11:35:17.706230922Z 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-21T11:35:17.707106271Z 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=870.349µs grafana | logger=migrator t=2024-01-21T11:35:17.710183966Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-01-21T11:35:17.710452339Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=263.792µs grafana | logger=migrator t=2024-01-21T11:35:17.71330241Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-01-21T11:35:17.713792285Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=490.035µs grafana | logger=migrator t=2024-01-21T11:35:17.718556908Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-01-21T11:35:17.719593779Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.036801ms grafana | logger=migrator t=2024-01-21T11:35:17.722911836Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-01-21T11:35:17.726350724Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.438148ms grafana | logger=migrator t=2024-01-21T11:35:17.730393918Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-01-21T11:35:17.733809526Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.415458ms grafana | logger=migrator t=2024-01-21T11:35:17.738276496Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-01-21T11:35:17.741770974Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.493958ms grafana | logger=migrator t=2024-01-21T11:35:17.744666256Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-01-21T11:35:17.748095364Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.428698ms grafana | logger=migrator t=2024-01-21T11:35:17.750979846Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-01-21T11:35:17.751840625Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=863.06µs grafana | logger=migrator t=2024-01-21T11:35:17.756643678Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-01-21T11:35:17.756688129Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=51.261µs grafana | logger=migrator t=2024-01-21T11:35:17.760106946Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-01-21T11:35:17.760145727Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=40.481µs grafana | logger=migrator t=2024-01-21T11:35:17.762629304Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-01-21T11:35:17.763780907Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.150443ms grafana | logger=migrator t=2024-01-21T11:35:17.76858475Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-21T11:35:17.769411749Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=829.709µs grafana | logger=migrator t=2024-01-21T11:35:17.773629676Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-01-21T11:35:17.774350344Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=721.738µs grafana | logger=migrator t=2024-01-21T11:35:17.777271256Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-01-21T11:35:17.778462019Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.190333ms grafana | logger=migrator t=2024-01-21T11:35:17.78312026Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-21T11:35:17.784645567Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.524097ms grafana | logger=migrator t=2024-01-21T11:35:17.787507579Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-01-21T11:35:17.791115899Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.592119ms grafana | logger=migrator t=2024-01-21T11:35:17.793524305Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-01-21T11:35:17.797090155Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.56542ms policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:17.802205741Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-01-21T11:35:17.802387123Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=176.822µs grafana | logger=migrator t=2024-01-21T11:35:17.806471478Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-01-21T11:35:17.807277387Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=805.579µs grafana | logger=migrator t=2024-01-21T11:35:17.811546044Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-01-21T11:35:17.812321593Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=775.529µs grafana | logger=migrator t=2024-01-21T11:35:17.815207875Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-01-21T11:35:17.821337902Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.131447ms grafana | logger=migrator t=2024-01-21T11:35:17.825719951Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-01-21T11:35:17.825783971Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=64.85µs grafana | logger=migrator t=2024-01-21T11:35:17.828455101Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-01-21T11:35:17.829443512Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=975.48µs grafana | logger=migrator t=2024-01-21T11:35:17.833022061Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-01-21T11:35:17.834436277Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.414156ms grafana | logger=migrator t=2024-01-21T11:35:17.840553224Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-21T11:35:17.840634775Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=82.151µs grafana | logger=migrator t=2024-01-21T11:35:17.843570708Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-21T11:35:17.844322156Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=751.218µs grafana | logger=migrator t=2024-01-21T11:35:17.847806504Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-21T11:35:17.84920334Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.396246ms grafana | logger=migrator t=2024-01-21T11:35:17.858061038Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-01-21T11:35:17.859404543Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.350635ms grafana | logger=migrator t=2024-01-21T11:35:17.863452317Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-21T11:35:17.864784962Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.332215ms grafana | logger=migrator t=2024-01-21T11:35:17.867586763Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-21T11:35:17.868520013Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=932.83µs grafana | logger=migrator t=2024-01-21T11:35:17.872590468Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-21T11:35:17.873571229Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=983.981µs grafana | logger=migrator t=2024-01-21T11:35:17.876554612Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-21T11:35:17.876585292Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=31.67µs grafana | logger=migrator t=2024-01-21T11:35:17.879645276Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-21T11:35:17.883746621Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.098865ms grafana | logger=migrator t=2024-01-21T11:35:17.887983808Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-21T11:35:17.888761316Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=777.268µs grafana | logger=migrator t=2024-01-21T11:35:17.894972485Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-21T11:35:17.900606437Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.635282ms grafana | logger=migrator t=2024-01-21T11:35:17.903410238Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-21T11:35:17.904379149Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=964.501µs grafana | logger=migrator t=2024-01-21T11:35:17.909685477Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-21T11:35:17.910561377Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=875.45µs grafana | logger=migrator t=2024-01-21T11:35:17.913640971Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-21T11:35:17.914782064Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.139393ms grafana | logger=migrator t=2024-01-21T11:35:17.920552787Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-21T11:35:17.935946437Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.40231ms grafana | logger=migrator t=2024-01-21T11:35:17.940839901Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-21T11:35:17.941303456Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=463.595µs grafana | logger=migrator t=2024-01-21T11:35:17.944535292Z 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-21T11:35:17.945128829Z 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=593.297µs grafana | logger=migrator t=2024-01-21T11:35:17.949988072Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-21T11:35:17.950413727Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=425.745µs grafana | logger=migrator t=2024-01-21T11:35:17.953978186Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:17.954816276Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=837.92µs grafana | logger=migrator t=2024-01-21T11:35:17.957672377Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-21T11:35:17.957992751Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=311.863µs grafana | logger=migrator t=2024-01-21T11:35:17.961505229Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-21T11:35:17.965736386Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.232317ms grafana | logger=migrator t=2024-01-21T11:35:17.969961143Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-21T11:35:17.973885696Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.924143ms grafana | logger=migrator t=2024-01-21T11:35:17.9769474Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-21T11:35:17.978107313Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.164733ms grafana | logger=migrator t=2024-01-21T11:35:17.98234678Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-21T11:35:17.98331559Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=968.76µs grafana | logger=migrator t=2024-01-21T11:35:17.986519516Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-21T11:35:17.986860799Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=341.003µs grafana | logger=migrator t=2024-01-21T11:35:17.990199076Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-21T11:35:17.994687546Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.48803ms grafana | logger=migrator t=2024-01-21T11:35:18.047328147Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-21T11:35:18.048181485Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=856.078µs grafana | logger=migrator t=2024-01-21T11:35:18.051364704Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-21T11:35:18.051524065Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=160.531µs grafana | logger=migrator t=2024-01-21T11:35:18.054205709Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-01-21T11:35:18.054601813Z level=info msg="Migration successfully executed" id="Move region to single row" duration=396.784µs grafana | logger=migrator t=2024-01-21T11:35:18.058934202Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-21T11:35:18.0598199Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=885.958µs grafana | logger=migrator t=2024-01-21T11:35:18.063560664Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-01-21T11:35:18.064452442Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=892.368µs grafana | logger=migrator t=2024-01-21T11:35:18.068544949Z 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-21T11:35:18.069475808Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=930.349µs grafana | logger=migrator t=2024-01-21T11:35:18.072014981Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-21T11:35:18.072938639Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=923.268µs grafana | logger=migrator t=2024-01-21T11:35:18.075952736Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-21T11:35:18.076802974Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=850.178µs grafana | logger=migrator t=2024-01-21T11:35:18.081245865Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-21T11:35:18.082268934Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.017619ms grafana | logger=migrator t=2024-01-21T11:35:18.085305792Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-21T11:35:18.085376502Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=71.51µs grafana | logger=migrator t=2024-01-21T11:35:18.087963216Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-01-21T11:35:18.088740253Z level=info msg="Migration successfully executed" id="create test_data table" duration=776.867µs grafana | logger=migrator t=2024-01-21T11:35:18.094339913Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-21T11:35:18.095609115Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.271132ms grafana | logger=migrator t=2024-01-21T11:35:18.10168699Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-21T11:35:18.102640709Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=953.809µs grafana | logger=migrator t=2024-01-21T11:35:18.105213532Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-21T11:35:18.106220841Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.006949ms grafana | logger=migrator t=2024-01-21T11:35:18.109010516Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-21T11:35:18.109227528Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=217.022µs grafana | logger=migrator t=2024-01-21T11:35:18.113271385Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-21T11:35:18.113647078Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=382.953µs grafana | logger=migrator t=2024-01-21T11:35:18.117689855Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-01-21T11:35:18.117781376Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=91.991µs grafana | logger=migrator t=2024-01-21T11:35:18.122061535Z level=info msg="Executing migration" id="create team table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:18.123028843Z level=info msg="Migration successfully executed" id="create team table" duration=974.469µs grafana | logger=migrator t=2024-01-21T11:35:18.126062521Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-21T11:35:18.127537404Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.475093ms grafana | logger=migrator t=2024-01-21T11:35:18.133119585Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-21T11:35:18.134554078Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.427623ms grafana | logger=migrator t=2024-01-21T11:35:18.137463104Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-21T11:35:18.141763823Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.300669ms grafana | logger=migrator t=2024-01-21T11:35:18.146832209Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-21T11:35:18.147005371Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=173.492µs grafana | logger=migrator t=2024-01-21T11:35:18.157024032Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-21T11:35:18.158738007Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.716655ms grafana | logger=migrator t=2024-01-21T11:35:18.16349286Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-21T11:35:18.164190867Z level=info msg="Migration successfully executed" id="create team member table" duration=698.027µs grafana | logger=migrator t=2024-01-21T11:35:18.169808968Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-21T11:35:18.171343482Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.534664ms grafana | logger=migrator t=2024-01-21T11:35:18.177090454Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-21T11:35:18.178566117Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.475783ms grafana | logger=migrator t=2024-01-21T11:35:18.181365482Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-21T11:35:18.182267571Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=901.598µs grafana | logger=migrator t=2024-01-21T11:35:18.188037283Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-21T11:35:18.195295619Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.257946ms grafana | logger=migrator t=2024-01-21T11:35:18.200650337Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-21T11:35:18.203787915Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.138028ms grafana | logger=migrator t=2024-01-21T11:35:18.207540729Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-21T11:35:18.21204074Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.499891ms grafana | logger=migrator t=2024-01-21T11:35:18.215889835Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-21T11:35:18.216724673Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=834.738µs grafana | logger=migrator t=2024-01-21T11:35:18.222811918Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-21T11:35:18.224561764Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.749086ms grafana | logger=migrator t=2024-01-21T11:35:18.228345868Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-21T11:35:18.229919543Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.557015ms grafana | logger=migrator t=2024-01-21T11:35:18.235077799Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-21T11:35:18.236082229Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=999.879µs grafana | logger=migrator t=2024-01-21T11:35:18.241665689Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-21T11:35:18.243175793Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.517024ms grafana | logger=migrator t=2024-01-21T11:35:18.24726331Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-21T11:35:18.248673393Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.409603ms grafana | logger=migrator t=2024-01-21T11:35:18.252428787Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-01-21T11:35:18.253293134Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=863.927µs grafana | logger=migrator t=2024-01-21T11:35:18.258170109Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-21T11:35:18.259732183Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.553834ms grafana | logger=migrator t=2024-01-21T11:35:18.264758098Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-21T11:35:18.265244883Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=486.705µs grafana | logger=migrator t=2024-01-21T11:35:18.270731332Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-21T11:35:18.270950644Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=214.872µs grafana | logger=migrator t=2024-01-21T11:35:18.275059982Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-01-21T11:35:18.276080341Z level=info msg="Migration successfully executed" id="create tag table" duration=1.022219ms grafana | logger=migrator t=2024-01-21T11:35:18.279803145Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-21T11:35:18.280700773Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=891.718µs grafana | logger=migrator t=2024-01-21T11:35:18.285409975Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-21T11:35:18.286091662Z level=info msg="Migration successfully executed" id="create login attempt table" duration=681.027µs grafana | logger=migrator t=2024-01-21T11:35:18.289285591Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-01-21T11:35:18.290192429Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=906.608µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-01-21T11:35:18.292993315Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-21T11:35:18.293842342Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=848.977µs grafana | logger=migrator t=2024-01-21T11:35:18.297733088Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-21T11:35:18.316020493Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.287355ms grafana | logger=migrator t=2024-01-21T11:35:18.319714697Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-21T11:35:18.320386883Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=670.766µs grafana | logger=migrator t=2024-01-21T11:35:18.324012206Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-21T11:35:18.324905614Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=893.058µs grafana | logger=migrator t=2024-01-21T11:35:18.330984939Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-21T11:35:18.331294982Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=309.613µs grafana | logger=migrator t=2024-01-21T11:35:18.334974065Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-21T11:35:18.335863303Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=887.828µs grafana | logger=migrator t=2024-01-21T11:35:18.340632816Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-21T11:35:18.341762296Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.12956ms grafana | logger=migrator t=2024-01-21T11:35:18.347366437Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-21T11:35:18.348433937Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.0678ms grafana | logger=migrator t=2024-01-21T11:35:18.351552995Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-21T11:35:18.351705157Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=154.172µs grafana | logger=migrator t=2024-01-21T11:35:18.356764933Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-21T11:35:18.36195682Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.191247ms grafana | logger=migrator t=2024-01-21T11:35:18.364528303Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-21T11:35:18.36966904Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.138387ms grafana | logger=migrator t=2024-01-21T11:35:18.409568081Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-21T11:35:18.417703275Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=8.134474ms grafana | logger=migrator t=2024-01-21T11:35:18.422228106Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-01-21T11:35:18.425819419Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=3.590933ms grafana | logger=migrator t=2024-01-21T11:35:18.433105535Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-01-21T11:35:18.434075744Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=972.999µs grafana | logger=migrator t=2024-01-21T11:35:18.438546054Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-01-21T11:35:18.447034591Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.483797ms grafana | logger=migrator t=2024-01-21T11:35:18.450605314Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-21T11:35:18.451433221Z level=info msg="Migration successfully executed" id="create server_lock table" duration=830.618µs grafana | logger=migrator t=2024-01-21T11:35:18.455857921Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-01-21T11:35:18.457251994Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.392513ms grafana | logger=migrator t=2024-01-21T11:35:18.46127081Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-01-21T11:35:18.462646063Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.374983ms grafana | logger=migrator t=2024-01-21T11:35:18.46677016Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-01-21T11:35:18.467764279Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=993.769µs grafana | logger=migrator t=2024-01-21T11:35:18.473469881Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-01-21T11:35:18.475532529Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=2.063098ms grafana | logger=migrator t=2024-01-21T11:35:18.481563064Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-01-21T11:35:18.483465181Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.901777ms grafana | logger=migrator t=2024-01-21T11:35:18.493942496Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-01-21T11:35:18.501691807Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.747331ms grafana | logger=migrator t=2024-01-21T11:35:18.505083418Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-01-21T11:35:18.505766654Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=685.556µs grafana | logger=migrator t=2024-01-21T11:35:18.510780289Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-01-21T11:35:18.511310844Z level=info msg="Migration successfully executed" id="create cache_data table" duration=530.575µs grafana | logger=migrator t=2024-01-21T11:35:18.514673574Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-01-21T11:35:18.516306629Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.632205ms grafana | logger=migrator t=2024-01-21T11:35:18.519424547Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-01-21T11:35:18.520727419Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.303352ms policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:18.525719465Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-01-21T11:35:18.526654023Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=934.189µs grafana | logger=migrator t=2024-01-21T11:35:18.529403528Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-01-21T11:35:18.529469268Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=66µs grafana | logger=migrator t=2024-01-21T11:35:18.53292113Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-01-21T11:35:18.533023681Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=103.111µs grafana | logger=migrator t=2024-01-21T11:35:18.537142568Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-01-21T11:35:18.538804973Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.660405ms grafana | logger=migrator t=2024-01-21T11:35:18.542721109Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-21T11:35:18.543683917Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=962.498µs grafana | logger=migrator t=2024-01-21T11:35:18.546425812Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-21T11:35:18.54734575Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=919.118µs grafana | logger=migrator t=2024-01-21T11:35:18.552175884Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-21T11:35:18.552276665Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=101.521µs grafana | logger=migrator t=2024-01-21T11:35:18.554558946Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-21T11:35:18.555998779Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.437223ms grafana | logger=migrator t=2024-01-21T11:35:18.559132707Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-21T11:35:18.560410989Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.281232ms grafana | logger=migrator t=2024-01-21T11:35:18.565380824Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-21T11:35:18.567271771Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.891627ms grafana | logger=migrator t=2024-01-21T11:35:18.570849964Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-21T11:35:18.571807983Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=957.599µs grafana | logger=migrator t=2024-01-21T11:35:18.575446135Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-01-21T11:35:18.584221655Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.77501ms grafana | logger=migrator t=2024-01-21T11:35:18.588211681Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-01-21T11:35:18.588858447Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=646.906µs grafana | logger=migrator t=2024-01-21T11:35:18.594124585Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-01-21T11:35:18.594256766Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=132.531µs grafana | logger=migrator t=2024-01-21T11:35:18.599005009Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-01-21T11:35:18.600415182Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.409843ms grafana | logger=migrator t=2024-01-21T11:35:18.605256066Z 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-21T11:35:18.607367575Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=2.104829ms grafana | logger=migrator t=2024-01-21T11:35:18.611383601Z 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-21T11:35:18.613051806Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.668115ms grafana | logger=migrator t=2024-01-21T11:35:18.618355704Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-21T11:35:18.618419605Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=64.451µs grafana | logger=migrator t=2024-01-21T11:35:18.621325391Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-01-21T11:35:18.622403411Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.07833ms grafana | logger=migrator t=2024-01-21T11:35:18.628359765Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-01-21T11:35:18.62999931Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.641165ms grafana | logger=migrator t=2024-01-21T11:35:18.633568862Z 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-21T11:35:18.634642812Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.07463ms grafana | logger=migrator t=2024-01-21T11:35:18.637939852Z 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-21T11:35:18.639190163Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.250191ms grafana | logger=migrator t=2024-01-21T11:35:18.64650337Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-01-21T11:35:18.656830223Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=10.317853ms grafana | logger=migrator t=2024-01-21T11:35:18.662301743Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-01-21T11:35:18.663400413Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.09651ms grafana | logger=migrator t=2024-01-21T11:35:18.667345359Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-21T11:35:18.668424288Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.078729ms grafana | logger=migrator t=2024-01-21T11:35:18.673260662Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-01-21T11:35:18.709625942Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.36535ms grafana | logger=migrator t=2024-01-21T11:35:18.785772922Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-01-21T11:35:18.826793874Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.023902ms grafana | logger=migrator t=2024-01-21T11:35:18.832604887Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-21T11:35:18.83410512Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.499093ms grafana | logger=migrator t=2024-01-21T11:35:18.841155344Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-21T11:35:18.843475955Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=2.320311ms grafana | logger=migrator t=2024-01-21T11:35:18.847009127Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-01-21T11:35:18.852045063Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.036506ms grafana | logger=migrator t=2024-01-21T11:35:18.855594646Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-01-21T11:35:18.856353512Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=758.476µs grafana | logger=migrator t=2024-01-21T11:35:18.862041374Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-01-21T11:35:18.863042033Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.000139ms grafana | logger=migrator t=2024-01-21T11:35:18.869587412Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-01-21T11:35:18.871271588Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.683766ms grafana | logger=migrator t=2024-01-21T11:35:18.8760079Z 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-21T11:35:18.87709494Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.08664ms grafana | logger=migrator t=2024-01-21T11:35:18.883574049Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-21T11:35:18.8837271Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=145.571µs grafana | logger=migrator t=2024-01-21T11:35:18.888164771Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-01-21T11:35:18.897548846Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.380855ms grafana | logger=migrator t=2024-01-21T11:35:18.901902985Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-01-21T11:35:18.906021402Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.118027ms grafana | logger=migrator t=2024-01-21T11:35:18.910837786Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-01-21T11:35:18.920875397Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=10.044051ms grafana | logger=migrator t=2024-01-21T11:35:18.92442636Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-01-21T11:35:18.925094956Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=668.946µs grafana | logger=migrator t=2024-01-21T11:35:18.931906007Z 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-21T11:35:18.933558812Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.652855ms grafana | logger=migrator t=2024-01-21T11:35:18.939151543Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-01-21T11:35:18.946461069Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.312276ms grafana | logger=migrator t=2024-01-21T11:35:18.950448095Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-01-21T11:35:18.956622141Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.171646ms grafana | logger=migrator t=2024-01-21T11:35:18.959490927Z 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-21T11:35:18.961413875Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.922438ms grafana | logger=migrator t=2024-01-21T11:35:18.966924935Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-01-21T11:35:18.974681405Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.75706ms grafana | logger=migrator t=2024-01-21T11:35:18.97857049Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-01-21T11:35:18.985276101Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.704901ms grafana | logger=migrator t=2024-01-21T11:35:18.988729773Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-01-21T11:35:18.988804593Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=74.39µs grafana | logger=migrator t=2024-01-21T11:35:18.995196011Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-01-21T11:35:18.996763405Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.567554ms grafana | logger=migrator t=2024-01-21T11:35:19.001609519Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.002985082Z 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.376473ms grafana | logger=migrator t=2024-01-21T11:35:19.006869257Z 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-21T11:35:19.0082901Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.420113ms grafana | logger=migrator t=2024-01-21T11:35:19.013176474Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-21T11:35:19.013268275Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=90.47µs grafana | logger=migrator t=2024-01-21T11:35:19.017432622Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-01-21T11:35:19.024264484Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.831372ms grafana | logger=migrator t=2024-01-21T11:35:19.027735955Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-01-21T11:35:19.032273146Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.536921ms grafana | logger=migrator t=2024-01-21T11:35:19.037233351Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-01-21T11:35:19.043531328Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.297427ms grafana | logger=migrator t=2024-01-21T11:35:19.0470196Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-01-21T11:35:19.053735071Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.713031ms grafana | logger=migrator t=2024-01-21T11:35:19.056489706Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-01-21T11:35:19.063254477Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.759461ms grafana | logger=migrator t=2024-01-21T11:35:19.0681166Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-01-21T11:35:19.068203921Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=87.631µs grafana | logger=migrator t=2024-01-21T11:35:19.071758303Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-01-21T11:35:19.072457229Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=698.536µs grafana | logger=migrator t=2024-01-21T11:35:19.076690408Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-01-21T11:35:19.085614848Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.92364ms grafana | logger=migrator t=2024-01-21T11:35:19.089535684Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-01-21T11:35:19.089631244Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=93.181µs grafana | logger=migrator t=2024-01-21T11:35:19.094519099Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-01-21T11:35:19.101045748Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.526359ms grafana | logger=migrator t=2024-01-21T11:35:19.103672972Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-01-21T11:35:19.104739741Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.066479ms grafana | logger=migrator t=2024-01-21T11:35:19.109266952Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-01-21T11:35:19.115952753Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.683841ms grafana | logger=migrator t=2024-01-21T11:35:19.144134668Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-01-21T11:35:19.145364879Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.229081ms grafana | logger=migrator t=2024-01-21T11:35:19.150636037Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-01-21T11:35:19.151753747Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.11738ms grafana | logger=migrator t=2024-01-21T11:35:19.155817974Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-01-21T11:35:19.162966538Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.149794ms grafana | logger=migrator t=2024-01-21T11:35:19.167810482Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-01-21T11:35:19.168505078Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=694.206µs grafana | logger=migrator t=2024-01-21T11:35:19.172141941Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-01-21T11:35:19.173198741Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.05637ms grafana | logger=migrator t=2024-01-21T11:35:19.180367566Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-01-21T11:35:19.181101953Z level=info msg="Migration successfully executed" id="create alert_image table" duration=734.347µs grafana | logger=migrator t=2024-01-21T11:35:19.187355649Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-01-21T11:35:19.189015034Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.661375ms grafana | logger=migrator t=2024-01-21T11:35:19.192263714Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-01-21T11:35:19.192352715Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=89.401µs grafana | logger=migrator t=2024-01-21T11:35:19.196712744Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-01-21T11:35:19.197680832Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=967.898µs grafana | logger=migrator t=2024-01-21T11:35:19.203403614Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 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 grafana | logger=migrator t=2024-01-21T11:35:19.204409913Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.006549ms grafana | logger=migrator t=2024-01-21T11:35:19.208632742Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-21T11:35:19.209011395Z 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-21T11:35:19.213053532Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-01-21T11:35:19.213435415Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=381.463µs grafana | logger=migrator t=2024-01-21T11:35:19.219339459Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-01-21T11:35:19.220904493Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.561694ms grafana | logger=migrator t=2024-01-21T11:35:19.225109481Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-01-21T11:35:19.23276509Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.655089ms grafana | logger=migrator t=2024-01-21T11:35:19.236383373Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-01-21T11:35:19.236967198Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=583.515µs grafana | logger=migrator t=2024-01-21T11:35:19.241824222Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-01-21T11:35:19.243291506Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.463314ms grafana | logger=migrator t=2024-01-21T11:35:19.249035978Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-01-21T11:35:19.250496681Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.459673ms grafana | logger=migrator t=2024-01-21T11:35:19.255430395Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-01-21T11:35:19.256536005Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.10518ms grafana | logger=migrator t=2024-01-21T11:35:19.259444071Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-01-21T11:35:19.261020306Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.572685ms grafana | logger=migrator t=2024-01-21T11:35:19.267346883Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-01-21T11:35:19.267389893Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=44.92µs grafana | logger=migrator t=2024-01-21T11:35:19.271177778Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-01-21T11:35:19.271274839Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=97.701µs grafana | logger=migrator t=2024-01-21T11:35:19.277982939Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-01-21T11:35:19.278493504Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=510.175µs grafana | logger=migrator t=2024-01-21T11:35:19.28360495Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-01-21T11:35:19.285123404Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.517144ms grafana | logger=migrator t=2024-01-21T11:35:19.290811746Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-01-21T11:35:19.292056667Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.244301ms grafana | logger=migrator t=2024-01-21T11:35:19.295275086Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-01-21T11:35:19.340798118Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.522722ms grafana | logger=migrator t=2024-01-21T11:35:19.343751895Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-01-21T11:35:19.35093177Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.178995ms grafana | logger=migrator t=2024-01-21T11:35:19.356168617Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-01-21T11:35:19.356362579Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=193.622µs grafana | logger=migrator t=2024-01-21T11:35:19.359326756Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-01-21T11:35:19.405206001Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=45.878415ms grafana | logger=migrator t=2024-01-21T11:35:19.40842219Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-01-21T11:35:19.457512174Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=49.090464ms grafana | logger=migrator t=2024-01-21T11:35:19.460576692Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-01-21T11:35:19.461139837Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=563.735µs grafana | logger=migrator t=2024-01-21T11:35:19.500195251Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-01-21T11:35:19.500988738Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=792.877µs grafana | logger=migrator t=2024-01-21T11:35:19.508517826Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-01-21T11:35:19.508669577Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=150.851µs grafana | logger=migrator t=2024-01-21T11:35:19.517574868Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-01-21T11:35:19.518191354Z level=info msg="Migration successfully executed" id="create permission table" duration=616.116µs grafana | logger=migrator t=2024-01-21T11:35:19.527823441Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-01-21T11:35:19.529379425Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.555654ms grafana | logger=migrator t=2024-01-21T11:35:19.537071074Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 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 grafana | logger=migrator t=2024-01-21T11:35:19.538743489Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.671165ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.547722831Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-01-21T11:35:19.550428895Z level=info msg="Migration successfully executed" id="create role table" duration=2.709514ms grafana | logger=migrator t=2024-01-21T11:35:19.560075673Z level=info msg="Executing migration" id="add column display_name" 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 grafana | logger=migrator t=2024-01-21T11:35:19.572633766Z level=info msg="Migration successfully executed" id="add column display_name" duration=12.554793ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.578421479Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.590930732Z level=info msg="Migration successfully executed" id="add column group_name" duration=12.508313ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.593764357Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-01-21T11:35:19.594722696Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=957.699µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.599957704Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-01-21T11:35:19.601599338Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.639434ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.605325072Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.607525572Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=2.19903ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.610999544Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-21T11:35:19.611820411Z level=info msg="Migration successfully executed" id="create team role table" duration=820.217µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.616900987Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-21T11:35:19.618593192Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.690785ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.621897442Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.624027722Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=2.12877ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.627512043Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-21T11:35:19.628610043Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.10031ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.633472817Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-21T11:35:19.634399136Z level=info msg="Migration successfully executed" id="create user role table" duration=921.259µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.639092848Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.640961845Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.869297ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.646153162Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-01-21T11:35:19.647846307Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.692415ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.653990043Z level=info msg="Executing migration" id="add index user_role.user_id" 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 grafana | logger=migrator t=2024-01-21T11:35:19.655073052Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.083659ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.660967876Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.662182447Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.213731ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.665241455Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-21T11:35:19.667110491Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.865286ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.670676364Z level=info msg="Executing migration" id="add index builtin_role.name" 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 grafana | logger=migrator t=2024-01-21T11:35:19.671836404Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.15995ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.677540716Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.686473187Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.933351ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.690594804Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-01-21T11:35:19.692432091Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.837207ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.696973452Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.698221383Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.248671ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.701995467Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-01-21T11:35:19.703112917Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.11745ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.708060012Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-01-21T11:35:19.709206992Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.14835ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.712646744Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.713467791Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=820.517µs policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.719852869Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-21T11:35:19.72105836Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.205381ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.725901094Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-01-21T11:35:19.737458908Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.559774ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.739916191Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.745647243Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.730442ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.748144725Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.753777746Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.632961ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-01-21T11:35:19.757665001Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-01-21T11:35:19.763294002Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.628351ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-01-21T11:35:19.765831275Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-01-21T11:35:19.766689423Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=857.948µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.769218036Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.769929102Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=710.756µs policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.773897398Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-21T11:35:19.774771236Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=873.588µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.777311369Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-01-21T11:35:19.77740647Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=94.581µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.779805642Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.779834492Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=29.961µs policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.78410502Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-01-21T11:35:19.784550875Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=445.864µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.787123238Z level=info msg="Executing migration" id="dashboard permissions" 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)) grafana | logger=migrator t=2024-01-21T11:35:19.787644453Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=521.435µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.789948343Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.790477238Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=528.875µs policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.793146332Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-01-21T11:35:19.793347804Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=201.242µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.797845005Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-01-21T11:35:19.798161128Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=315.923µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.800827022Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.801443688Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=616.186µs policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.804076541Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-01-21T11:35:19.8049757Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=898.839µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.809518321Z level=info msg="Executing migration" id="add column org_id in query_history_star" 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)) grafana | logger=migrator t=2024-01-21T11:35:19.816181681Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=6.66228ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.847674596Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.847903618Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=228.462µs policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.850770394Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-01-21T11:35:19.852251507Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.479833ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.855580148Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-01-21T11:35:19.856877259Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.296491ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.862972585Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.864859592Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.886148ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.86807554Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-21T11:35:19.876734789Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.660139ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.879744436Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 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) grafana | logger=migrator t=2024-01-21T11:35:19.880625284Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=879.498µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.884862462Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.886385146Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.520714ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.889649126Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-21T11:35:19.920207073Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.559117ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.925025446Z level=info msg="Executing migration" id="create correlation v2" 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) grafana | logger=migrator t=2024-01-21T11:35:19.926048695Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.021909ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.929212194Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.930458345Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.245951ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.933647974Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-01-21T11:35:19.934927195Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.278611ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.939661908Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.94090423Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.242362ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.943998628Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-21T11:35:19.944331281Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=332.183µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.947408219Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-01-21T11:35:19.948223376Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=814.637µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.95303754Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.961536547Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.498287ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.964699145Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-01-21T11:35:19.965546073Z level=info msg="Migration successfully executed" id="create entity_events table" duration=846.458µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.970498758Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-01-21T11:35:19.971487357Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=988.099µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.974652305Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.9751951Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.978353129Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-01-21T11:35:19.978892474Z 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" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.983155912Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-01-21T11:35:19.984508974Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.352072ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.990301417Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:19.991833511Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.530894ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:19.995387023Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-01-21T11:35:19.99724666Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.860587ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.002471257Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.003669128Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.197621ms grafana | logger=migrator t=2024-01-21T11:35:20.00683659Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-21T11:35:20.007978444Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.141544ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.01096051Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-01-21T11:35:20.012105923Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.143653ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.017137827Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.018017217Z level=info msg="Migration successfully executed" id="Drop public config table" duration=878.69µs policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.0210915Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-01-21T11:35:20.022177352Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.082782ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.027333648Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-01-21T11:35:20.0293313Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.997252ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.032495894Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.033743878Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.247674ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.03672325Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-21T11:35:20.037974284Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.250743ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.042983518Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.073331027Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=30.347539ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.076253949Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-01-21T11:35:20.083946192Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.689053ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.087325989Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-21T11:35:20.093436585Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.110296ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.098215547Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.09851813Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=302.143µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.101632314Z level=info msg="Executing migration" id="add share column" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-21T11:35:20.112376761Z level=info msg="Migration successfully executed" id="add share column" duration=10.744627ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.115456204Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.115686257Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=230.853µs policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.117791759Z level=info msg="Executing migration" id="create file table" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-01-21T11:35:20.118574888Z level=info msg="Migration successfully executed" id="create file table" duration=781.679µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.124564083Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.125788387Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.224174ms policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.128970321Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-01-21T11:35:20.130906943Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.934222ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.134270599Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-01-21T11:35:20.135067528Z level=info msg="Migration successfully executed" id="create file_meta table" duration=797.979µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.139258224Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.140556618Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.298324ms policy-db-migrator | msg grafana | logger=migrator t=2024-01-21T11:35:20.145259389Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-01-21T11:35:20.145397711Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=137.812µs policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.148828058Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-01-21T11:35:20.14897937Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=126.192µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.153185536Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-01-21T11:35:20.154179947Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.079431ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.157692005Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.158204401Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=511.886µs policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.162093953Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-21T11:35:20.163476448Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.383985ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.173451367Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-21T11:35:20.184417127Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=10.96613ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.189018087Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.189196519Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=176.242µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.192640687Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-21T11:35:20.19382379Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.183173ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.197418269Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.197902285Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=484.706µs policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.202429014Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-01-21T11:35:20.202885749Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=456.485µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.20660695Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 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)) grafana | logger=migrator t=2024-01-21T11:35:20.207432859Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=825.499µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.211284201Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.222472103Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.188302ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.225667988Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-01-21T11:35:20.234260972Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.591594ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.238384127Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.239191206Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=804.698µs policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.242408311Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-01-21T11:35:20.349798344Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=107.391013ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.353672777Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 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)) grafana | logger=migrator t=2024-01-21T11:35:20.354637477Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=964.29µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.359340808Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.36126051Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.919021ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.365423365Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-01-21T11:35:20.399240595Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=33.81829ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-21T11:35:20.404381151Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | grafana | logger=migrator t=2024-01-21T11:35:20.404587443Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=205.922µs policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=migrator t=2024-01-21T11:35:20.408386384Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | name version grafana | logger=migrator t=2024-01-21T11:35:20.408818029Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=426.155µs policy-db-migrator | policyadmin 1200 grafana | logger=migrator t=2024-01-21T11:35:20.412617711Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-01-21T11:35:20.413061066Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=445.105µs policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:23 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.416842287Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.417772337Z level=info msg="Migration successfully executed" id="create folder table" duration=929.39µs policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.422010773Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.423224647Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.213694ms policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.426901737Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.428200261Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.298204ms policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.432781361Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.432807731Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.34µs policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.436435461Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.438442833Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.006832ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.442272175Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.443383177Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.110742ms policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.446913316Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.448130689Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.214913ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.452292174Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.453241015Z level=info msg="Migration successfully executed" id="create anon_device table" duration=948µs policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.456841864Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.458110738Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.262764ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.462645298Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-21T11:35:20.463868921Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.221234ms policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.467579801Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.468946546Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.365935ms policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.472818409Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.474835101Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.015762ms policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.479782275Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.481018698Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.236273ms policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:24 grafana | logger=migrator t=2024-01-21T11:35:20.484588737Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.484976872Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=388.735µs policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.521118176Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.532937425Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.820229ms policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.537473235Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.538303574Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=831.399µs policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.541496159Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.542784553Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.286064ms policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.546255521Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.547382323Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.125822ms policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.552374128Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.553266198Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=894.22µs policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.558031399Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.558405534Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=375.135µs policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=migrator t=2024-01-21T11:35:20.56168321Z level=info msg="migrations completed" performed=523 skipped=0 duration=3.881095011s policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=sqlstore t=2024-01-21T11:35:20.573157725Z level=info msg="Created default admin" user=admin policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=sqlstore t=2024-01-21T11:35:20.573428628Z level=info msg="Created default organization" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=secrets t=2024-01-21T11:35:20.577872537Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=plugin.store t=2024-01-21T11:35:20.594798761Z level=info msg="Loading plugins..." policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=local.finder t=2024-01-21T11:35:20.629808114Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-21T11:35:20.629890645Z level=info msg="Plugins loaded" count=55 duration=35.092514ms grafana | logger=query_data t=2024-01-21T11:35:20.633440674Z level=info msg="Query Service initialization" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=live.push_http t=2024-01-21T11:35:20.637115024Z level=info msg="Live Push Gateway initialization" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=ngalert.migration t=2024-01-21T11:35:20.644536905Z level=info msg=Starting policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=ngalert.migration orgID=1 t=2024-01-21T11:35:20.645541386Z level=info msg="Migrating alerts for organisation" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=ngalert.migration orgID=1 t=2024-01-21T11:35:20.646040271Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=ngalert.migration orgID=1 t=2024-01-21T11:35:20.646508176Z level=warn msg="No available receivers" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-21T11:35:20.652815155Z level=info msg="Completed legacy migration" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:25 grafana | logger=infra.usagestats.collector t=2024-01-21T11:35:20.695086757Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=provisioning.datasources t=2024-01-21T11:35:20.697526844Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=provisioning.alerting t=2024-01-21T11:35:20.710740598Z level=info msg="starting to provision alerting" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=provisioning.alerting t=2024-01-21T11:35:20.710761409Z level=info msg="finished to provision alerting" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=ngalert.state.manager t=2024-01-21T11:35:20.712311665Z level=info msg="Warming state cache for startup" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=ngalert.multiorg.alertmanager t=2024-01-21T11:35:20.713503898Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=grafanaStorageLogger t=2024-01-21T11:35:20.713819692Z level=info msg="Storage starting" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=http.server t=2024-01-21T11:35:20.715129016Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=grafana.update.checker t=2024-01-21T11:35:20.754460936Z level=info msg="Update check succeeded" duration=43.460985ms policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=ngalert.state.manager t=2024-01-21T11:35:20.806467724Z level=info msg="State cache has been initialized" states=0 duration=94.150879ms policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=ngalert.scheduler t=2024-01-21T11:35:20.806554685Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=ticker t=2024-01-21T11:35:20.806641986Z level=info msg=starting first_tick=2024-01-21T11:35:30Z policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=plugins.update.checker t=2024-01-21T11:35:20.809244305Z level=info msg="Update check succeeded" duration=98.345274ms policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=sqlstore.transactions t=2024-01-21T11:35:20.872399835Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 grafana | logger=infra.usagestats t=2024-01-21T11:36:46.724340807Z level=info msg="Usage stats are ready to report" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:26 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2101241135230800u 1 2024-01-21 11:35:27 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:27 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:27 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:27 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:27 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:27 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:27 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:28 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:28 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:28 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:28 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:28 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:28 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2101241135230900u 1 2024-01-21 11:35:28 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2101241135231000u 1 2024-01-21 11:35:28 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2101241135231000u 1 2024-01-21 11:35:28 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2101241135231000u 1 2024-01-21 11:35:28 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2101241135231000u 1 2024-01-21 11:35:28 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2101241135231000u 1 2024-01-21 11:35:28 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2101241135231000u 1 2024-01-21 11:35:28 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2101241135231000u 1 2024-01-21 11:35:28 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2101241135231000u 1 2024-01-21 11:35:28 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2101241135231000u 1 2024-01-21 11:35:28 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2101241135231100u 1 2024-01-21 11:35:28 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2101241135231200u 1 2024-01-21 11:35:28 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2101241135231200u 1 2024-01-21 11:35:28 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2101241135231200u 1 2024-01-21 11:35:28 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2101241135231200u 1 2024-01-21 11:35:28 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing policy-db-migrator ... done Removing grafana ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.2dI6m2JxoS ]] + rsync -av /tmp/tmp.2dI6m2JxoS/ /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,347,047 bytes received 95 bytes 2,694,284.00 bytes/sec total size is 1,346,397 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 2138 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/jenkins11967293962064403449.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16096379555276343325.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/jenkins1424259941930870229.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-5Huk from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-5Huk/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8881586092770806068.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config14474238980921710782tmp 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/jenkins16350204720760713572.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13813089830297128469.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-5Huk from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-5Huk/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16993295340914269267.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3467630982009054128.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-5Huk 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-5Huk/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/jenkins11961512433387662281.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-5Huk 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-5Huk/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/247 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-13961 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 821 27467 0 3878 30890 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:31:ba:d1 brd ff:ff:ff:ff:ff:ff inet 10.30.107.70/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86058sec preferred_lft 86058sec inet6 fe80::f816:3eff:fe31:bad1/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:1e:26:9e:dc 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-13961) 01/21/24 _x86_64_ (8 CPU) 11:32:24 LINUX RESTART (8 CPU) 11:33:02 tps rtps wtps bread/s bwrtn/s 11:34:01 116.74 36.75 79.99 1716.44 29639.44 11:35:01 144.08 23.17 120.92 2772.40 36746.67 11:36:01 364.11 13.10 351.01 804.23 79088.70 11:37:01 16.66 0.05 16.61 9.60 22902.98 11:38:01 75.67 1.93 73.74 111.98 26754.32 Average: 143.54 14.93 128.61 1080.78 39057.58 11:33:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30103048 31724908 2836172 8.61 70624 1860288 1410556 4.15 847592 1693772 179004 11:35:01 28319280 31667944 4619940 14.03 105296 3500488 1565768 4.61 985768 3239104 1438364 11:36:01 26908588 30473176 6030632 18.31 125728 3638724 4650576 13.68 2267724 3313480 100 11:37:01 26862708 30454412 6076512 18.45 125840 3665536 4655184 13.70 2298204 3327684 25936 11:38:01 28069888 31591968 4869332 14.78 130796 3627716 1522424 4.48 1191004 3252680 46936 Average: 28052702 31182482 4886518 14.83 111657 3258550 2760902 8.12 1518058 2965344 338068 11:33:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 ens3 80.57 57.49 1072.31 11.23 0.00 0.00 0.00 0.00 11:34:01 lo 1.42 1.42 0.15 0.15 0.00 0.00 0.00 0.00 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 br-c05c0483230a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 309.90 205.28 9127.49 19.34 0.00 0.00 0.00 0.00 11:35:01 lo 9.33 9.33 0.86 0.86 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 br-c05c0483230a 3.62 4.13 5.93 2.53 0.00 0.00 0.00 0.00 11:36:01 vethd8e9a30 114.93 94.65 46.22 119.06 0.00 0.00 0.00 0.01 11:36:01 vethe35d14f 0.50 0.80 0.06 0.32 0.00 0.00 0.00 0.00 11:36:01 veth7e0b71f 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 11:37:01 br-c05c0483230a 1.80 2.10 0.15 0.20 0.00 0.00 0.00 0.00 11:37:01 vethd8e9a30 1.08 1.20 0.53 0.08 0.00 0.00 0.00 0.00 11:37:01 vethe35d14f 0.27 0.23 0.02 0.01 0.00 0.00 0.00 0.00 11:37:01 veth7e0b71f 0.80 1.10 0.11 0.59 0.00 0.00 0.00 0.00 11:38:01 ens3 782.34 529.30 11021.42 110.58 0.00 0.00 0.00 0.00 11:38:01 lo 33.99 33.99 10.41 10.41 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 96.08 67.05 2068.78 11.99 0.00 0.00 0.00 0.00 Average: lo 6.03 6.03 2.02 2.02 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-13961) 01/21/24 _x86_64_ (8 CPU) 11:32:24 LINUX RESTART (8 CPU) 11:33:02 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 10.16 0.00 0.83 2.48 0.03 86.49 11:34:01 0 5.48 0.00 0.37 0.08 0.02 94.04 11:34:01 1 20.70 0.00 1.19 1.72 0.05 76.33 11:34:01 2 12.96 0.00 1.46 0.42 0.03 85.12 11:34:01 3 3.92 0.00 0.46 0.47 0.02 95.13 11:34:01 4 3.85 0.00 0.53 0.39 0.07 95.16 11:34:01 5 1.87 0.00 0.48 13.63 0.03 83.99 11:34:01 6 16.40 0.00 1.10 2.16 0.05 80.29 11:34:01 7 16.14 0.00 1.04 1.00 0.03 81.78 11:35:01 all 11.77 0.00 2.37 2.56 0.05 83.25 11:35:01 0 10.28 0.00 2.71 0.05 0.05 86.91 11:35:01 1 13.27 0.00 2.51 0.91 0.05 83.26 11:35:01 2 5.79 0.00 1.90 0.22 0.03 92.06 11:35:01 3 4.41 0.00 2.61 0.65 0.03 92.29 11:35:01 4 6.20 0.00 1.83 0.97 0.03 90.97 11:35:01 5 3.89 0.00 1.39 12.20 0.05 82.47 11:35:01 6 17.92 0.00 2.66 3.52 0.08 75.81 11:35:01 7 32.51 0.00 3.37 1.97 0.07 62.09 11:36:01 all 16.95 0.00 2.41 4.77 0.06 75.82 11:36:01 0 15.81 0.00 1.91 1.37 0.05 80.86 11:36:01 1 14.60 0.00 1.84 0.84 0.05 82.68 11:36:01 2 19.93 0.00 2.78 0.84 0.05 76.39 11:36:01 3 18.80 0.00 3.17 17.88 0.07 60.09 11:36:01 4 22.04 0.00 2.93 0.59 0.05 74.39 11:36:01 5 15.70 0.00 2.43 5.01 0.05 76.81 11:36:01 6 18.68 0.00 2.46 0.98 0.07 77.81 11:36:01 7 10.15 0.00 1.74 10.60 0.05 77.46 11:37:01 all 0.44 0.00 0.14 1.21 0.03 98.18 11:37:01 0 1.02 0.00 0.22 0.00 0.00 98.77 11:37:01 1 0.17 0.00 0.07 0.00 0.03 99.73 11:37:01 2 0.27 0.00 0.13 0.00 0.02 99.58 11:37:01 3 0.87 0.00 0.15 0.00 0.12 98.87 11:37:01 4 0.58 0.00 0.15 0.00 0.02 99.25 11:37:01 5 0.22 0.00 0.17 0.00 0.02 99.60 11:37:01 6 0.12 0.00 0.13 0.02 0.03 99.70 11:37:01 7 0.25 0.00 0.12 9.69 0.02 89.92 11:38:01 all 8.12 0.00 0.60 1.86 0.03 89.39 11:38:01 0 1.38 0.00 0.35 0.22 0.02 98.03 11:38:01 1 9.36 0.00 0.49 0.17 0.03 89.96 11:38:01 2 2.42 0.00 0.50 0.52 0.00 96.56 11:38:01 3 2.83 0.00 0.32 0.03 0.02 96.80 11:38:01 4 37.42 0.00 1.47 0.87 0.03 60.21 11:38:01 5 2.92 0.00 0.60 0.03 0.07 96.38 11:38:01 6 1.42 0.00 0.47 1.07 0.02 97.03 11:38:01 7 7.22 0.00 0.60 11.98 0.05 80.15 Average: all 9.48 0.00 1.27 2.57 0.04 86.64 Average: 0 6.79 0.00 1.11 0.35 0.03 91.72 Average: 1 11.59 0.00 1.22 0.72 0.04 86.43 Average: 2 8.24 0.00 1.35 0.40 0.03 89.99 Average: 3 6.16 0.00 1.34 3.80 0.05 88.65 Average: 4 14.05 0.00 1.38 0.56 0.04 83.97 Average: 5 4.93 0.00 1.01 6.14 0.04 87.88 Average: 6 10.86 0.00 1.36 1.54 0.05 86.19 Average: 7 13.21 0.00 1.37 7.08 0.04 78.30