Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-4613 (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-8D488IxVBjHL/agent.2143 SSH_AGENT_PID=2145 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_17438556895976081570.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_17438556895976081570.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/jenkins15430441754093552822.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-FaBS 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-FaBS/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-FaBS/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.39 botocore==1.34.39 bs4==0.0.2 cachetools==5.3.2 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.5.0 docker==4.2.2 dogpile.cache==1.3.1 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.27.0 httplib2==0.22.0 identify==2.5.34 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.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.0.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.0 pytz==2024.1 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.2 typing_extensions==4.9.0 tzdata==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/jenkins7910544098634184111.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/jenkins7258582392957133789.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.ytnVYIR9T3 ++ echo ROBOT_VENV=/tmp/tmp.ytnVYIR9T3 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.ytnVYIR9T3 ++ source /tmp/tmp.ytnVYIR9T3/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.ytnVYIR9T3 +++ 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.ytnVYIR9T3/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.ytnVYIR9T3) ' '!=' x ']' +++ PS1='(tmp.ytnVYIR9T3) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.ytnVYIR9T3/src/onap ++ rm -rf /tmp/tmp.ytnVYIR9T3/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==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.ytnVYIR9T3/bin/activate + '[' -z /tmp/tmp.ytnVYIR9T3/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.ytnVYIR9T3/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.ytnVYIR9T3 ++ 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.ytnVYIR9T3/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.ytnVYIR9T3) ' ++ '[' 'x(tmp.ytnVYIR9T3) ' '!=' x ']' ++ PS1='(tmp.ytnVYIR9T3) (tmp.ytnVYIR9T3) ' ++ 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.Co7zTuotsb + cd /tmp/tmp.Co7zTuotsb + 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:7567a7c70a3c1d75aeeedc968d1304174a16651e55a60d1fb132a05e1e63a054 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... 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 grafana Up 10 seconds policy-api Up 12 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:36:18 up 4 min, 0 users, load average: 1.93, 0.93, 0.38 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.3 us, 1.9 sy, 0.0 ni, 84.1 id, 3.6 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 6cb99fc994b7 grafana 0.17% 52.58MiB / 31.41GiB 0.16% 17.9kB / 3.55kB 0B / 23.8MB 14 18cb0c7627e0 policy-api 0.11% 925.9MiB / 31.41GiB 2.88% 1.04MB / 739kB 0B / 0B 51 78187bb4e4e9 mariadb 0.01% 100.8MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 65MB 27 9e3be820e812 prometheus 0.00% 18.72MiB / 31.41GiB 0.06% 852B / 0B 127kB / 0B 13 + echo + cd /tmp/tmp.Co7zTuotsb + 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.Co7zTuotsb/output.xml Log: /tmp/tmp.Co7zTuotsb/log.html Report: /tmp/tmp.Co7zTuotsb/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 grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:29 up 5 min, 0 users, load average: 0.66, 0.76, 0.36 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.8 us, 1.5 sy, 0.0 ni, 86.5 id, 3.0 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 grafana Up About a minute policy-api 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 6cb99fc994b7 grafana 0.03% 53.3MiB / 31.41GiB 0.17% 18.6kB / 4.38kB 0B / 23.8MB 14 18cb0c7627e0 policy-api 0.12% 976.5MiB / 31.41GiB 3.04% 7.32MB / 2.87MB 0B / 0B 52 78187bb4e4e9 mariadb 0.02% 101.5MiB / 31.41GiB 0.32% 2.75MB / 7.36MB 11MB / 65.2MB 18 9e3be820e812 prometheus 0.00% 23.97MiB / 31.41GiB 0.07% 37.6kB / 7.16kB 127kB / 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 grafana, policy-api, policy-db-migrator, mariadb, prometheus mariadb | 2024-02-11 11:35:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-11 11:35:48+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-02-11 11:35:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-11 11:35:49+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-02-11 11:35:49 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-11 11:35:49 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-11 11:35:49 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-02-11 11:35:50+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-02-11 11:35:50+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-02-11 11:35:50+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-02-11 11:35:50 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-02-11 11:35:50 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-11 11:35:50 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-11 11:35:50 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-11 11:35:50 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-11 11:35:50 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-11 11:35:50 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-11 11:35:50 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-11 11:35:50 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-11 11:35:50 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-11 11:35:50 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-11 11:35:50 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-11 11:35:50 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-11 11:35:50 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-02-11 11:35:50 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-11 11:35:50 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=settings t=2024-02-11T11:35:52.908532886Z level=info msg="Starting Grafana" version=10.3.1 commit=00a22ff8b28550d593ec369ba3da1b25780f0a4a branch=HEAD compiled=2024-01-22T18:40:42Z grafana | logger=settings t=2024-02-11T11:35:52.908727327Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-11T11:35:52.908733987Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-11T11:35:52.908737837Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-11T11:35:52.908741067Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-11T11:35:52.908743857Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-11T11:35:52.908746837Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-11T11:35:52.908749727Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-11T11:35:52.908753077Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-11T11:35:52.908757437Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-11T11:35:52.908760707Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-11T11:35:52.908765197Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-11T11:35:52.908768747Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-11T11:35:52.908773847Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-11T11:35:52.908777187Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-11T11:35:52.908780667Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-11T11:35:52.908784167Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-11T11:35:52.908787547Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-11T11:35:52.908790917Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-11T11:35:52.909039069Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-11T11:35:52.909058739Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-02-11T11:35:52.909637913Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-02-11T11:35:52.910465948Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-02-11T11:35:52.911149813Z level=info msg="Migration successfully executed" id="create migration_log table" duration=683.555µs grafana | logger=migrator t=2024-02-11T11:35:52.915084148Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-02-11T11:35:52.915564621Z level=info msg="Migration successfully executed" id="create user table" duration=480.633µs grafana | logger=migrator t=2024-02-11T11:35:52.922447805Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-02-11T11:35:52.923575522Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.127267ms grafana | logger=migrator t=2024-02-11T11:35:52.926995064Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-02-11T11:35:52.928026711Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.032167ms grafana | logger=migrator t=2024-02-11T11:35:52.931349793Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-02-11T11:35:52.932041227Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=689.154µs grafana | logger=migrator t=2024-02-11T11:35:52.939591456Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-02-11T11:35:52.940595712Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.004586ms grafana | logger=migrator t=2024-02-11T11:35:52.943830592Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-02-11T11:35:52.94959441Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=5.767467ms prometheus | ts=2024-02-11T11:35:51.886Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-02-11T11:35:51.886Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" prometheus | ts=2024-02-11T11:35:51.886Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-02-11T11:35:51.886Z caller=main.go:594 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-02-11T11:35:51.886Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-02-11T11:35:51.886Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-02-11T11:35:51.891Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-02-11T11:35:51.892Z caller=main.go:1039 level=info msg="Starting TSDB ..." prometheus | ts=2024-02-11T11:35:51.894Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-02-11T11:35:51.894Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-02-11T11:35:51.897Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-02-11T11:35:51.897Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.41µs prometheus | ts=2024-02-11T11:35:51.897Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-02-11T11:35:51.898Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-02-11T11:35:51.898Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=347.102µs wal_replay_duration=411.193µs wbl_replay_duration=200ns total_replay_duration=985.246µs prometheus | ts=2024-02-11T11:35:51.901Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-02-11T11:35:51.901Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-02-11T11:35:51.901Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-02-11T11:35:51.902Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.175759ms db_storage=1.96µs remote_storage=1.66µs web_handler=400ns query_engine=660ns scrape=270.781µs scrape_sd=167.232µs notify=37.08µs notify_sd=19.001µs rules=1.45µs tracing=4.75µs prometheus | ts=2024-02-11T11:35:51.902Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-02-11T11:35:51.902Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-02-11T11:35:52.953056503Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-02-11T11:35:52.953794227Z level=info msg="Migration successfully executed" id="create user table v2" duration=737.504µs grafana | logger=migrator t=2024-02-11T11:35:52.956937227Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-02-11T11:35:52.957663902Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=726.495µs grafana | logger=migrator t=2024-02-11T11:35:52.963095077Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-02-11T11:35:52.964722177Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.62608ms grafana | logger=migrator t=2024-02-11T11:35:52.971556931Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-02-11T11:35:52.972233165Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=675.584µs grafana | logger=migrator t=2024-02-11T11:35:52.975493287Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-02-11T11:35:52.976400032Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=902.885µs grafana | logger=migrator t=2024-02-11T11:35:52.980253847Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-02-11T11:35:52.981963128Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.735101ms grafana | logger=migrator t=2024-02-11T11:35:52.98541761Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-02-11T11:35:52.98544747Z level=info msg="Migration successfully executed" id="Update user table charset" duration=25.28µs grafana | logger=migrator t=2024-02-11T11:35:52.990715225Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-02-11T11:35:52.991899692Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.184068ms grafana | logger=migrator t=2024-02-11T11:35:52.995570606Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-02-11T11:35:52.996101519Z level=info msg="Migration successfully executed" id="Add missing user data" duration=530.713µs grafana | logger=migrator t=2024-02-11T11:35:52.999639922Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-02-11T11:35:53.001099462Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.516641ms policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:53.004640679Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-02-11T11:35:53.005414149Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=773.34µs grafana | logger=migrator t=2024-02-11T11:35:53.056695161Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-02-11T11:35:53.05856855Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.872719ms grafana | logger=migrator t=2024-02-11T11:35:53.062154817Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-02-11T11:35:53.072397623Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.243556ms grafana | logger=migrator t=2024-02-11T11:35:53.075645187Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-02-11T11:35:53.076207834Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=563.277µs grafana | logger=migrator t=2024-02-11T11:35:53.079407617Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-02-11T11:35:53.080025183Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=615.866µs grafana | logger=migrator t=2024-02-11T11:35:53.085250387Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-02-11T11:35:53.086465699Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.215222ms grafana | logger=migrator t=2024-02-11T11:35:53.090405211Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-11T11:35:53.091639183Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.233422ms grafana | logger=migrator t=2024-02-11T11:35:53.132174903Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-11T11:35:53.133406886Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.233953ms grafana | logger=migrator t=2024-02-11T11:35:53.137894793Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-11T11:35:53.137931764Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=38.761µs grafana | logger=migrator t=2024-02-11T11:35:53.187089523Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-02-11T11:35:53.188393667Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.305124ms grafana | logger=migrator t=2024-02-11T11:35:53.254932916Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-11T11:35:53.25624921Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.316404ms grafana | logger=migrator t=2024-02-11T11:35:53.263530265Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-11T11:35:53.264700588Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.170113ms grafana | logger=migrator t=2024-02-11T11:35:53.2697255Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-11T11:35:53.270848742Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.123152ms grafana | logger=migrator t=2024-02-11T11:35:53.277348119Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-11T11:35:53.28330571Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.956681ms grafana | logger=migrator t=2024-02-11T11:35:53.286654956Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-02-11T11:35:53.287419454Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=764.108µs grafana | logger=migrator t=2024-02-11T11:35:53.290654567Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-11T11:35:53.291407245Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=752.517µs grafana | logger=migrator t=2024-02-11T11:35:53.294579117Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-11T11:35:53.295633219Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.052472ms grafana | logger=migrator t=2024-02-11T11:35:53.303355239Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-11T11:35:53.304624582Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.260963ms grafana | logger=migrator t=2024-02-11T11:35:53.31126927Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-11T11:35:53.312617145Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.348905ms grafana | logger=migrator t=2024-02-11T11:35:53.346419616Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-11T11:35:53.347099803Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=679.927µs grafana | logger=migrator t=2024-02-11T11:35:53.353070735Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-11T11:35:53.35445766Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=1.386215ms grafana | logger=migrator t=2024-02-11T11:35:53.361507233Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-11T11:35:53.36215825Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=650.447µs grafana | logger=migrator t=2024-02-11T11:35:53.366754577Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-11T11:35:53.368146252Z level=info msg="Migration successfully executed" id="create star table" duration=1.397425ms grafana | logger=migrator t=2024-02-11T11:35:53.373416408Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-11T11:35:53.374264786Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=848.158µs grafana | logger=migrator t=2024-02-11T11:35:53.379482281Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-11T11:35:53.380269939Z level=info msg="Migration successfully executed" id="create org table v1" duration=784.258µs policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-02-11T11:35:53.386061829Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-02-11T11:35:53.387347453Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.285354ms mariadb | 2024-02-11 11:35:50 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-11 11:35:50 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-11 11:35:50 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-02-11 11:35:51+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-02-11 11:35:53+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-02-11 11:35:53+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-02-11 11:35:53+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-02-11 11:35:53+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;' grafana | logger=migrator t=2024-02-11T11:35:53.393286115Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-11T11:35:53.395878562Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=2.592007ms grafana | logger=migrator t=2024-02-11T11:35:53.401613052Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-11T11:35:53.402588652Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=974.94µs grafana | logger=migrator t=2024-02-11T11:35:53.406133478Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-11T11:35:53.407293401Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.158043ms grafana | logger=migrator t=2024-02-11T11:35:53.411495814Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-11T11:35:53.412859259Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.363265ms grafana | logger=migrator t=2024-02-11T11:35:53.418037353Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-11T11:35:53.418071784Z level=info msg="Migration successfully executed" id="Update org table charset" duration=31.391µs grafana | logger=migrator t=2024-02-11T11:35:53.424499021Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-11T11:35:53.424524071Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=26.301µs grafana | logger=migrator t=2024-02-11T11:35:53.42828503Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-11T11:35:53.428662914Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=381.124µs grafana | logger=migrator t=2024-02-11T11:35:53.433891948Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-11T11:35:53.434766018Z level=info msg="Migration successfully executed" id="create dashboard table" duration=873.509µs grafana | logger=migrator t=2024-02-11T11:35:53.439693329Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-11T11:35:53.44070368Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.010241ms grafana | logger=migrator t=2024-02-11T11:35:53.445714441Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-02-11T11:35:53.447213197Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.498426ms grafana | logger=migrator t=2024-02-11T11:35:53.450993467Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-02-11T11:35:53.451697265Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=703.378µs grafana | logger=migrator t=2024-02-11T11:35:53.455492264Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-02-11T11:35:53.456499434Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.00345ms grafana | logger=migrator t=2024-02-11T11:35:53.461682698Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-02-11T11:35:53.462495517Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=812.759µs grafana | logger=migrator t=2024-02-11T11:35:53.466956894Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-02-11T11:35:53.47714364Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=10.186727ms grafana | logger=migrator t=2024-02-11T11:35:53.481248613Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-02-11T11:35:53.481778178Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=529.325µs grafana | logger=migrator t=2024-02-11T11:35:53.487501888Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-02-11T11:35:53.488990184Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.488026ms grafana | logger=migrator t=2024-02-11T11:35:53.494826394Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-02-11T11:35:53.496125027Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.297493ms grafana | logger=migrator t=2024-02-11T11:35:53.499960208Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-02-11T11:35:53.500352292Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=391.634µs grafana | logger=migrator t=2024-02-11T11:35:53.503689997Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-02-11T11:35:53.504678827Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=994.15µs grafana | logger=migrator t=2024-02-11T11:35:53.509360836Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-02-11T11:35:53.509427037Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=67.141µs grafana | logger=migrator t=2024-02-11T11:35:53.514223267Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-02-11T11:35:53.517134767Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.90829ms grafana | logger=migrator t=2024-02-11T11:35:53.520990277Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-02-11T11:35:53.522722546Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.731659ms grafana | logger=migrator t=2024-02-11T11:35:53.52790833Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-02-11T11:35:53.531083763Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=3.174493ms grafana | logger=migrator t=2024-02-11T11:35:53.535780402Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-02-11T11:35:53.536676531Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=898.089µs grafana | logger=migrator t=2024-02-11T11:35:53.543717404Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-02-11T11:35:53.54709461Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.375356ms grafana | logger=migrator t=2024-02-11T11:35:53.556114674Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-02-11T11:35:53.556959603Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=844.739µs 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;' 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 | -------------- mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-02-11 11:35:54+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-02-11 11:35:54 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-02-11 11:35:54 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-02-11 11:35:54 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-02-11 11:35:54 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-11 11:35:54 0 [Note] InnoDB: Buffer pool(s) dump completed at 240211 11:35:54 mariadb | 2024-02-11 11:35:54 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-02-11 11:35:54 0 [Note] InnoDB: Shutdown completed; log sequence number 349525; transaction id 298 mariadb | 2024-02-11 11:35:54 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-02-11 11:35:54+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-02-11 11:35:54+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-02-11 11:35:54 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-02-11 11:35:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-11 11:35:54 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-11 11:35:54 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-11 11:35:54 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-11 11:35:54 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-11 11:35:54 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-11 11:35:54 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-11 11:35:54 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-11 11:35:54 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-11 11:35:55 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-11 11:35:55 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-11 11:35:55 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-11 11:35:55 0 [Note] InnoDB: log sequence number 349525; transaction id 299 mariadb | 2024-02-11 11:35:55 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-11 11:35:55 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-11 11:35:55 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-11 11:35:55 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-02-11 11:35:55 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-02-11 11:35:55 0 [Note] Server socket created on IP: '::'. mariadb | 2024-02-11 11:35:55 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-02-11 11:35:55 0 [Note] InnoDB: Buffer pool(s) load completed at 240211 11:35:55 mariadb | 2024-02-11 11:35:55 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-02-11 11:35:55 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2024-02-11T11:35:53.560689051Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-02-11T11:35:53.561924905Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.234504ms grafana | logger=migrator t=2024-02-11T11:35:53.56629287Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-02-11T11:35:53.566396761Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=105.131µs grafana | logger=migrator t=2024-02-11T11:35:53.574354454Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-02-11T11:35:53.574379204Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=25.16µs grafana | logger=migrator t=2024-02-11T11:35:53.580770512Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-02-11T11:35:53.583668312Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.89737ms grafana | logger=migrator t=2024-02-11T11:35:53.590731555Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-02-11T11:35:53.592592655Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.86082ms grafana | logger=migrator t=2024-02-11T11:35:53.601581729Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-02-11T11:35:53.60461341Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.031001ms grafana | logger=migrator t=2024-02-11T11:35:53.61033154Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-02-11T11:35:53.612467852Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.136182ms grafana | logger=migrator t=2024-02-11T11:35:53.622264774Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-02-11T11:35:53.622582938Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=318.374µs grafana | logger=migrator t=2024-02-11T11:35:53.632685413Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-02-11T11:35:53.633941457Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.254934ms grafana | logger=migrator t=2024-02-11T11:35:53.638386013Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-02-11T11:35:53.639546215Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.160222ms grafana | logger=migrator t=2024-02-11T11:35:53.649846352Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-02-11T11:35:53.649917283Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=74.401µs grafana | logger=migrator t=2024-02-11T11:35:53.653643192Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-02-11T11:35:53.654902615Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.258733ms grafana | logger=migrator t=2024-02-11T11:35:53.663931339Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-02-11T11:35:53.664621867Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=690.078µs grafana | logger=migrator t=2024-02-11T11:35:53.671510589Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-11T11:35:53.681793876Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=10.290257ms grafana | logger=migrator t=2024-02-11T11:35:53.688369604Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-02-11T11:35:53.68890083Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=530.596µs grafana | logger=migrator t=2024-02-11T11:35:53.697183836Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-02-11T11:35:53.698689323Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.505257ms grafana | logger=migrator t=2024-02-11T11:35:53.703515492Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-02-11T11:35:53.704978718Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.462406ms grafana | logger=migrator t=2024-02-11T11:35:53.712482576Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-02-11T11:35:53.71282468Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=342.114µs grafana | logger=migrator t=2024-02-11T11:35:53.764714761Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-02-11T11:35:53.765367279Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=646.137µs grafana | logger=migrator t=2024-02-11T11:35:53.770135128Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-02-11T11:35:53.773597754Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.461996ms grafana | logger=migrator t=2024-02-11T11:35:53.780771929Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-02-11T11:35:53.781586977Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=815.058µs grafana | logger=migrator t=2024-02-11T11:35:53.791098187Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-02-11T11:35:53.79145541Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=356.593µs grafana | logger=migrator t=2024-02-11T11:35:53.796834517Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-02-11T11:35:53.7971941Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=351.313µs grafana | logger=migrator t=2024-02-11T11:35:53.803326294Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-02-11T11:35:53.804665389Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.338575ms grafana | logger=migrator t=2024-02-11T11:35:53.81252818Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-02-11T11:35:53.815880896Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.351796ms grafana | logger=migrator t=2024-02-11T11:35:53.822945539Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-02-11T11:35:53.823852408Z level=info msg="Migration successfully executed" id="create data_source table" duration=906.569µ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.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-02-11T11:36:03.042+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-02-11T11:36:03.045+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-02-11T11:36:04.435+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-02-11T11:36:04.524+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces. policy-api | [2024-02-11T11:36:05.569+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-02-11T11:36:05.585+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-11T11:36:05.586+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-02-11T11:36:05.587+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-02-11T11:36:05.669+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-02-11T11:36:05.670+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2570 ms policy-api | [2024-02-11T11:36:06.179+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-02-11T11:36:06.296+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-02-11T11:36:06.521+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-02-11T11:36:06.651+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-02-11T11:36:06.754+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-02-11T11:36:06.775+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-02-11T11:36:08.091+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-02-11T11:36:08.103+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-02-11T11:36:09.175+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-02-11T11:36:09.878+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-02-11T11:36:10.811+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@13b666b4, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@793af433, org.springframework.security.web.context.SecurityContextPersistenceFilter@54c3bae, org.springframework.security.web.header.HeaderWriterFilter@2dca3c72, org.springframework.security.web.authentication.logout.LogoutFilter@1192d1f5, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@43ee4942, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@68a0a4ae, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2692910f, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@644a12be, org.springframework.security.web.session.SessionManagementFilter@7473cf13, org.springframework.security.web.access.ExceptionTranslationFilter@10ac5a14, org.springframework.security.web.access.intercept.AuthorizationFilter@5e4874ae] policy-api | [2024-02-11T11:36:10.923+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-02-11T11:36:13.936+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-02-11T11:36:13.967+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-11T11:36:14.006+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-02-11T11:36:14.023+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.763 seconds (JVM running for 12.384) policy-api | [2024-02-11T11:36:21.350+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-02-11T11:36:21.350+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-02-11T11:36:21.351+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-02-11T11:36:23.975+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-02-11T11:36:24.097+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-02-11T11:36:24.394+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-02-11T11:36:25.570+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-02-11T11:36:27.548+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-02-11T11:36:27.977+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-02-11T11:36:28.196+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-02-11T11:36:28.427+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-02-11T11:36:28.707+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-02-11T11:36:28.918+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-02-11T11:35:53.830091544Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-02-11T11:35:53.831331987Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.240143ms grafana | logger=migrator t=2024-02-11T11:35:53.836679963Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-02-11T11:35:53.837786314Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.107161ms grafana | logger=migrator t=2024-02-11T11:35:53.845373813Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-02-11T11:35:53.846559605Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.185532ms grafana | logger=migrator t=2024-02-11T11:35:53.853086114Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-02-11T11:35:53.854386957Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.305383ms grafana | logger=migrator t=2024-02-11T11:35:53.859747483Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-02-11T11:35:53.868261502Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.514639ms grafana | logger=migrator t=2024-02-11T11:35:53.878984204Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-02-11T11:35:53.88042841Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.443976ms grafana | logger=migrator t=2024-02-11T11:35:53.886305251Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-02-11T11:35:53.887620534Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.314633ms grafana | logger=migrator t=2024-02-11T11:35:53.896701789Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-02-11T11:35:53.898018573Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.316504ms grafana | logger=migrator t=2024-02-11T11:35:53.904645782Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-02-11T11:35:53.90540696Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=760.538µs grafana | logger=migrator t=2024-02-11T11:35:53.909780435Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-02-11T11:35:53.91210201Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.321055ms grafana | logger=migrator t=2024-02-11T11:35:53.918927571Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-02-11T11:35:53.921509198Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.579887ms grafana | logger=migrator t=2024-02-11T11:35:53.925858673Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-02-11T11:35:53.925889934Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=32.921µs grafana | logger=migrator t=2024-02-11T11:35:53.930562192Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-02-11T11:35:53.930797885Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=232.013µs grafana | logger=migrator t=2024-02-11T11:35:53.936745807Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-02-11T11:35:53.939066162Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.319885ms grafana | logger=migrator t=2024-02-11T11:35:53.944460447Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-02-11T11:35:53.94470025Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=234.253µs grafana | logger=migrator t=2024-02-11T11:35:53.949845713Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-02-11T11:35:53.950182147Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=335.964µs grafana | logger=migrator t=2024-02-11T11:35:53.957286691Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-02-11T11:35:53.96101651Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.728969ms grafana | logger=migrator t=2024-02-11T11:35:53.967920382Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-02-11T11:35:53.968170885Z level=info msg="Migration successfully executed" id="Update uid value" duration=250.203µs grafana | logger=migrator t=2024-02-11T11:35:53.974227838Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-02-11T11:35:53.975562682Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.334334ms grafana | logger=migrator t=2024-02-11T11:35:53.981346673Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-02-11T11:35:53.982683356Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.331113ms grafana | logger=migrator t=2024-02-11T11:35:53.99168902Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-02-11T11:35:53.992826032Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.135112ms grafana | logger=migrator t=2024-02-11T11:35:53.997703663Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-02-11T11:35:53.998969807Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.271404ms grafana | logger=migrator t=2024-02-11T11:35:54.004081Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-02-11T11:35:54.004947109Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=865.449µs grafana | logger=migrator t=2024-02-11T11:35:54.013061133Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-02-11T11:35:54.014429617Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.368714ms grafana | logger=migrator t=2024-02-11T11:35:54.020496621Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-02-11T11:35:54.021691593Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.194852ms grafana | logger=migrator t=2024-02-11T11:35:54.027960938Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-02-11T11:35:54.029209631Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.256423ms grafana | logger=migrator t=2024-02-11T11:35:54.034339585Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-02-11T11:35:54.035528387Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.188702ms grafana | logger=migrator t=2024-02-11T11:35:54.042726692Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-02-11T11:35:54.053867478Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.139096ms grafana | logger=migrator t=2024-02-11T11:35:54.05895585Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-02-11T11:35:54.059467256Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=511.196µs grafana | logger=migrator t=2024-02-11T11:35:54.064939022Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-02-11T11:35:54.066201656Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.254474ms grafana | logger=migrator t=2024-02-11T11:35:54.071865735Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-02-11T11:35:54.073236738Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.370833ms grafana | logger=migrator t=2024-02-11T11:35:54.08114519Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-02-11T11:35:54.082485495Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.340175ms grafana | logger=migrator t=2024-02-11T11:35:54.089252185Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-02-11T11:35:54.089912642Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=659.467µs grafana | logger=migrator t=2024-02-11T11:35:54.098043256Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-02-11T11:35:54.099028087Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=983.971µs grafana | logger=migrator t=2024-02-11T11:35:54.106702366Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-02-11T11:35:54.106735816Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=39.03µs grafana | logger=migrator t=2024-02-11T11:35:54.115066493Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-02-11T11:35:54.119090135Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.023032ms grafana | logger=migrator t=2024-02-11T11:35:54.126071977Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-02-11T11:35:54.128538753Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.466156ms grafana | logger=migrator t=2024-02-11T11:35:54.137652737Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-02-11T11:35:54.13786707Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=213.743µs grafana | logger=migrator t=2024-02-11T11:35:54.143971124Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-02-11T11:35:54.147919825Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.948141ms grafana | logger=migrator t=2024-02-11T11:35:54.15229941Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-02-11T11:35:54.154847337Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.547357ms grafana | logger=migrator t=2024-02-11T11:35:54.161418775Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-02-11T11:35:54.162133702Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=714.507µs grafana | logger=migrator t=2024-02-11T11:35:54.17249708Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-02-11T11:35:54.17350607Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=1.0107ms grafana | logger=migrator t=2024-02-11T11:35:54.179218859Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-02-11T11:35:54.180469973Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.252514ms grafana | logger=migrator t=2024-02-11T11:35:54.187501026Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-02-11T11:35:54.188435106Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=934.69µs grafana | logger=migrator t=2024-02-11T11:35:54.192327706Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-02-11T11:35:54.193349556Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.016ms grafana | logger=migrator t=2024-02-11T11:35:54.199437159Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-02-11T11:35:54.20038472Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=947.521µs grafana | logger=migrator t=2024-02-11T11:35:54.209998799Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-02-11T11:35:54.210193891Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=194.552µs grafana | logger=migrator t=2024-02-11T11:35:54.218036113Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-02-11T11:35:54.218073183Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=38.54µs grafana | logger=migrator t=2024-02-11T11:35:54.223580291Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-02-11T11:35:54.228032557Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.419096ms grafana | logger=migrator t=2024-02-11T11:35:54.23506554Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-02-11T11:35:54.237713048Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.647178ms grafana | logger=migrator t=2024-02-11T11:35:54.244838182Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-02-11T11:35:54.244935223Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=62.291µs grafana | logger=migrator t=2024-02-11T11:35:54.252141247Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-02-11T11:35:54.25330661Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.166193ms grafana | logger=migrator t=2024-02-11T11:35:54.257624134Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-02-11T11:35:54.258961209Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.336215ms grafana | logger=migrator t=2024-02-11T11:35:54.265807079Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-02-11T11:35:54.26583146Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=25.201µs grafana | logger=migrator t=2024-02-11T11:35:54.273817263Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-02-11T11:35:54.274976574Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.158581ms grafana | logger=migrator t=2024-02-11T11:35:54.279061807Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-02-11T11:35:54.280495722Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.430434ms grafana | logger=migrator t=2024-02-11T11:35:54.286287822Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-02-11T11:35:54.289175413Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.88723ms grafana | logger=migrator t=2024-02-11T11:35:54.33035167Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-02-11T11:35:54.33039131Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=41.38µs grafana | logger=migrator t=2024-02-11T11:35:54.338225942Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-02-11T11:35:54.339718308Z level=info msg="Migration successfully executed" id="create session table" duration=1.489416ms grafana | logger=migrator t=2024-02-11T11:35:54.344154283Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-02-11T11:35:54.344379316Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=224.393µs grafana | logger=migrator t=2024-02-11T11:35:54.348517829Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-02-11T11:35:54.34859574Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=78.521µs grafana | logger=migrator t=2024-02-11T11:35:54.352987555Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-02-11T11:35:54.353593251Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=608.916µs grafana | logger=migrator t=2024-02-11T11:35:54.357356561Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-02-11T11:35:54.358335901Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=978.83µs grafana | logger=migrator t=2024-02-11T11:35:54.362131501Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-02-11T11:35:54.362166641Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=36.36µs grafana | logger=migrator t=2024-02-11T11:35:54.368377785Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-02-11T11:35:54.368413256Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=36.531µs grafana | logger=migrator t=2024-02-11T11:35:54.372570728Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-02-11T11:35:54.377289128Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.71219ms grafana | logger=migrator t=2024-02-11T11:35:54.381652384Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-02-11T11:35:54.384581954Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.92932ms grafana | logger=migrator t=2024-02-11T11:35:54.387909718Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-02-11T11:35:54.387989939Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=77.351µs grafana | logger=migrator t=2024-02-11T11:35:54.392075691Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-02-11T11:35:54.392165522Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=90.271µs grafana | logger=migrator t=2024-02-11T11:35:54.396684539Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-02-11T11:35:54.397680079Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=994.32µs grafana | logger=migrator t=2024-02-11T11:35:54.403208917Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-02-11T11:35:54.403247207Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=39.41µs grafana | logger=migrator t=2024-02-11T11:35:54.407452372Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-02-11T11:35:54.412290741Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.837759ms grafana | logger=migrator t=2024-02-11T11:35:54.416741508Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-02-11T11:35:54.416900069Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=158.691µs grafana | logger=migrator t=2024-02-11T11:35:54.420474676Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-02-11T11:35:54.424450508Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.974332ms grafana | logger=migrator t=2024-02-11T11:35:54.428123856Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-02-11T11:35:54.431796354Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.672628ms grafana | logger=migrator t=2024-02-11T11:35:54.436402722Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-02-11T11:35:54.436464773Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=62.201µs grafana | logger=migrator t=2024-02-11T11:35:54.441436194Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-02-11T11:35:54.442338083Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=901.269µs grafana | logger=migrator t=2024-02-11T11:35:54.445981811Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-02-11T11:35:54.447212434Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.230533ms grafana | logger=migrator t=2024-02-11T11:35:54.452470499Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-02-11T11:35:54.454016435Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.545056ms grafana | logger=migrator t=2024-02-11T11:35:54.457531282Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-02-11T11:35:54.458399901Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=868.169µs grafana | logger=migrator t=2024-02-11T11:35:54.463014719Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-02-11T11:35:54.463782397Z level=info msg="Migration successfully executed" id="add index alert state" duration=767.538µs grafana | logger=migrator t=2024-02-11T11:35:54.467890499Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-02-11T11:35:54.469276274Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.385325ms grafana | logger=migrator t=2024-02-11T11:35:54.473075083Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-02-11T11:35:54.473656819Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=581.206µs grafana | logger=migrator t=2024-02-11T11:35:54.477176796Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-02-11T11:35:54.477994074Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=816.518µs grafana | logger=migrator t=2024-02-11T11:35:54.482929476Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-02-11T11:35:54.483704434Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=773.768µs grafana | logger=migrator t=2024-02-11T11:35:54.48720242Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-02-11T11:35:54.499810061Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.607271ms grafana | logger=migrator t=2024-02-11T11:35:54.503078795Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-02-11T11:35:54.50352027Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=444.484µs grafana | logger=migrator t=2024-02-11T11:35:54.50747383Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-02-11T11:35:54.50840862Z 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=934.55µs grafana | logger=migrator t=2024-02-11T11:35:54.511736675Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-02-11T11:35:54.511992117Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=255.362µs grafana | logger=migrator t=2024-02-11T11:35:54.515760266Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-02-11T11:35:54.516581125Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=819.899µs grafana | logger=migrator t=2024-02-11T11:35:54.521277813Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-02-11T11:35:54.522323575Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.045212ms grafana | logger=migrator t=2024-02-11T11:35:54.526063254Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-02-11T11:35:54.529501319Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.437815ms grafana | logger=migrator t=2024-02-11T11:35:54.532793323Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-02-11T11:35:54.53623862Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.442047ms grafana | logger=migrator t=2024-02-11T11:35:54.549687079Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-02-11T11:35:54.555191296Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=5.503377ms grafana | logger=migrator t=2024-02-11T11:35:54.567273012Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-02-11T11:35:54.572375315Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=5.099753ms grafana | logger=migrator t=2024-02-11T11:35:54.583796894Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-02-11T11:35:54.584679303Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=882.089µs grafana | logger=migrator t=2024-02-11T11:35:54.59696401Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-02-11T11:35:54.59700068Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=37.63µs grafana | logger=migrator t=2024-02-11T11:35:54.606692792Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-02-11T11:35:54.606729872Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=36.24µs grafana | logger=migrator t=2024-02-11T11:35:54.620793508Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-02-11T11:35:54.621887419Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.093651ms grafana | logger=migrator t=2024-02-11T11:35:54.635364799Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-11T11:35:54.636765754Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.400365ms grafana | logger=migrator t=2024-02-11T11:35:54.663571852Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-02-11T11:35:54.664711675Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.142263ms grafana | logger=migrator t=2024-02-11T11:35:54.669773497Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-02-11T11:35:54.670873909Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.098052ms grafana | logger=migrator t=2024-02-11T11:35:54.67776803Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-11T11:35:54.6786596Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=891µs grafana | logger=migrator t=2024-02-11T11:35:54.684259038Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-02-11T11:35:54.689976507Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.714189ms grafana | logger=migrator t=2024-02-11T11:35:54.695078929Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-02-11T11:35:54.698645747Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.566368ms grafana | logger=migrator t=2024-02-11T11:35:54.703423146Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-02-11T11:35:54.703600338Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=175.942µs grafana | logger=migrator t=2024-02-11T11:35:54.709366838Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-02-11T11:35:54.710178917Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=811.639µs grafana | logger=migrator t=2024-02-11T11:35:54.716841396Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-02-11T11:35:54.718059389Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.216523ms grafana | logger=migrator t=2024-02-11T11:35:54.72392524Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-02-11T11:35:54.72974611Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.8202ms grafana | logger=migrator t=2024-02-11T11:35:54.733134625Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-02-11T11:35:54.733196906Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=62.741µs grafana | logger=migrator t=2024-02-11T11:35:54.736239087Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-02-11T11:35:54.737069216Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=829.539µs grafana | logger=migrator t=2024-02-11T11:35:54.741980877Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-02-11T11:35:54.743353212Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.371585ms grafana | logger=migrator t=2024-02-11T11:35:54.747912929Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-02-11T11:35:54.74806241Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=147.892µs grafana | logger=migrator t=2024-02-11T11:35:54.751614058Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-02-11T11:35:54.752368725Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=755.607µs grafana | logger=migrator t=2024-02-11T11:35:54.756347436Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-02-11T11:35:54.757200966Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=851.349µs grafana | logger=migrator t=2024-02-11T11:35:54.764267739Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-02-11T11:35:54.765580423Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.309884ms grafana | logger=migrator t=2024-02-11T11:35:54.827746208Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-02-11T11:35:54.829108572Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.362144ms grafana | logger=migrator t=2024-02-11T11:35:54.832583398Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-02-11T11:35:54.834068504Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.484386ms grafana | logger=migrator t=2024-02-11T11:35:54.838571551Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-02-11T11:35:54.840031316Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.431135ms grafana | logger=migrator t=2024-02-11T11:35:54.845742865Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-02-11T11:35:54.845763585Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=21.37µs grafana | logger=migrator t=2024-02-11T11:35:54.851252022Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-02-11T11:35:54.857880052Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.62631ms grafana | logger=migrator t=2024-02-11T11:35:54.862705621Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-02-11T11:35:54.863532331Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=826.43µs grafana | logger=migrator t=2024-02-11T11:35:54.868769384Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-02-11T11:35:54.872790946Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.019562ms grafana | logger=migrator t=2024-02-11T11:35:54.90872572Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-02-11T11:35:54.909536328Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=813.808µs grafana | logger=migrator t=2024-02-11T11:35:54.915641902Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-02-11T11:35:54.916600151Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=958.25µs grafana | logger=migrator t=2024-02-11T11:35:54.922443203Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-02-11T11:35:54.924100449Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.663657ms grafana | logger=migrator t=2024-02-11T11:35:54.930571186Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-02-11T11:35:54.945384051Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.813035ms grafana | logger=migrator t=2024-02-11T11:35:54.9502071Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-02-11T11:35:54.950836827Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=630.697µs grafana | logger=migrator t=2024-02-11T11:35:54.957296774Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-02-11T11:35:54.958239214Z 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=942.07µs grafana | logger=migrator t=2024-02-11T11:35:54.963947983Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-02-11T11:35:54.964237376Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=286.773µs grafana | logger=migrator t=2024-02-11T11:35:54.969858164Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-02-11T11:35:54.970660383Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=801.869µs grafana | logger=migrator t=2024-02-11T11:35:54.976683166Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-02-11T11:35:54.976945438Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=262.342µs grafana | logger=migrator t=2024-02-11T11:35:54.982986701Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-02-11T11:35:54.989911354Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.923673ms grafana | logger=migrator t=2024-02-11T11:35:54.996136688Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-02-11T11:35:55.002428093Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=6.291215ms grafana | logger=migrator t=2024-02-11T11:35:55.006501456Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-02-11T11:35:55.007456376Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=955.06µs grafana | logger=migrator t=2024-02-11T11:35:55.013098604Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-02-11T11:35:55.013957583Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=858.869µs grafana | logger=migrator t=2024-02-11T11:35:55.019210978Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-02-11T11:35:55.019455091Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=244.313µs grafana | logger=migrator t=2024-02-11T11:35:55.024420843Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-02-11T11:35:55.031377325Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.956002ms grafana | logger=migrator t=2024-02-11T11:35:55.037609791Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-02-11T11:35:55.03847945Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=871.219µs grafana | logger=migrator t=2024-02-11T11:35:55.044849367Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-02-11T11:35:55.045126139Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=276.642µs grafana | logger=migrator t=2024-02-11T11:35:55.049862289Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-02-11T11:35:55.050417825Z level=info msg="Migration successfully executed" id="Move region to single row" duration=553.466µs grafana | logger=migrator t=2024-02-11T11:35:55.056557709Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-02-11T11:35:55.05754832Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=989.711µs grafana | logger=migrator t=2024-02-11T11:35:55.066830797Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-02-11T11:35:55.067676615Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=845.768µs grafana | logger=migrator t=2024-02-11T11:35:55.076181554Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-11T11:35:55.077898713Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.715109ms grafana | logger=migrator t=2024-02-11T11:35:55.085891177Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-11T11:35:55.086741545Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=850.128µs grafana | logger=migrator t=2024-02-11T11:35:55.092045491Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-02-11T11:35:55.09386135Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.815919ms grafana | logger=migrator t=2024-02-11T11:35:55.097628369Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-02-11T11:35:55.09865451Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.027821ms grafana | logger=migrator t=2024-02-11T11:35:55.103188257Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-02-11T11:35:55.103327239Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=138.612µs grafana | logger=migrator t=2024-02-11T11:35:55.106727714Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-02-11T11:35:55.108061519Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.332425ms grafana | logger=migrator t=2024-02-11T11:35:55.111442984Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-02-11T11:35:55.112727567Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.286363ms grafana | logger=migrator t=2024-02-11T11:35:55.119138935Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-02-11T11:35:55.120060414Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=921.899µs grafana | logger=migrator t=2024-02-11T11:35:55.123331558Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-02-11T11:35:55.124957125Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.624427ms grafana | logger=migrator t=2024-02-11T11:35:55.128726555Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-02-11T11:35:55.129161159Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=433.794µs grafana | logger=migrator t=2024-02-11T11:35:55.132352042Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-02-11T11:35:55.132775448Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=423.276µs grafana | logger=migrator t=2024-02-11T11:35:55.137248074Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-02-11T11:35:55.137419916Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=172.552µs grafana | logger=migrator t=2024-02-11T11:35:55.13968938Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-02-11T11:35:55.140873053Z level=info msg="Migration successfully executed" id="create team table" duration=1.180593ms grafana | logger=migrator t=2024-02-11T11:35:55.144133267Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-02-11T11:35:55.145756763Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.622966ms grafana | logger=migrator t=2024-02-11T11:35:55.150504113Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-02-11T11:35:55.151433532Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=928.919µs grafana | logger=migrator t=2024-02-11T11:35:55.154443824Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-02-11T11:35:55.161727341Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.281207ms grafana | logger=migrator t=2024-02-11T11:35:55.164722302Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-02-11T11:35:55.164907424Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=183.222µs grafana | logger=migrator t=2024-02-11T11:35:55.169781625Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-02-11T11:35:55.17122482Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.441285ms grafana | logger=migrator t=2024-02-11T11:35:55.174811848Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-02-11T11:35:55.17599587Z level=info msg="Migration successfully executed" id="create team member table" duration=1.185802ms grafana | logger=migrator t=2024-02-11T11:35:55.179191963Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-02-11T11:35:55.180138964Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=946.911µs grafana | logger=migrator t=2024-02-11T11:35:55.183437968Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-02-11T11:35:55.184406578Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=968.04µs grafana | logger=migrator t=2024-02-11T11:35:55.18938181Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-02-11T11:35:55.19033821Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=956.62µs grafana | logger=migrator t=2024-02-11T11:35:55.193516143Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-02-11T11:35:55.200586257Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.053494ms grafana | logger=migrator t=2024-02-11T11:35:55.203938182Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-02-11T11:35:55.207194586Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.255964ms grafana | logger=migrator t=2024-02-11T11:35:55.211526132Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-02-11T11:35:55.2161126Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.585918ms grafana | logger=migrator t=2024-02-11T11:35:55.219674338Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-02-11T11:35:55.220609767Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=934.609µs grafana | logger=migrator t=2024-02-11T11:35:55.224230904Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-02-11T11:35:55.225198885Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=965.911µs grafana | logger=migrator t=2024-02-11T11:35:55.229813283Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-02-11T11:35:55.230893025Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.079122ms grafana | logger=migrator t=2024-02-11T11:35:55.234448652Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-02-11T11:35:55.235475412Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.02629ms grafana | logger=migrator t=2024-02-11T11:35:55.242092852Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-02-11T11:35:55.243084133Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=990.75µs grafana | logger=migrator t=2024-02-11T11:35:55.245948392Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-02-11T11:35:55.246931622Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=981.1µs grafana | logger=migrator t=2024-02-11T11:35:55.250070076Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-02-11T11:35:55.251032216Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=962.2µs grafana | logger=migrator t=2024-02-11T11:35:55.254726194Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-02-11T11:35:55.255707855Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=980.201µs grafana | logger=migrator t=2024-02-11T11:35:55.26107795Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-02-11T11:35:55.261660677Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=582.197µs grafana | logger=migrator t=2024-02-11T11:35:55.267885752Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-02-11T11:35:55.268400698Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=514.066µs grafana | logger=migrator t=2024-02-11T11:35:55.272096906Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-02-11T11:35:55.273296969Z level=info msg="Migration successfully executed" id="create tag table" duration=1.199293ms grafana | logger=migrator t=2024-02-11T11:35:55.276548803Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-02-11T11:35:55.277546923Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=997.84µs grafana | logger=migrator t=2024-02-11T11:35:55.280559584Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-02-11T11:35:55.281310813Z level=info msg="Migration successfully executed" id="create login attempt table" duration=751.039µs grafana | logger=migrator t=2024-02-11T11:35:55.287415777Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-02-11T11:35:55.288454827Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.0387ms grafana | logger=migrator t=2024-02-11T11:35:55.29154294Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-02-11T11:35:55.29248837Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=945.09µs grafana | logger=migrator t=2024-02-11T11:35:55.295790815Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-11T11:35:55.31358628Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.795605ms grafana | logger=migrator t=2024-02-11T11:35:55.318053268Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-02-11T11:35:55.318631594Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=578.636µs grafana | logger=migrator t=2024-02-11T11:35:55.320632865Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-02-11T11:35:55.321351972Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=719.097µs grafana | logger=migrator t=2024-02-11T11:35:55.324292422Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-02-11T11:35:55.324645146Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=351.054µs grafana | logger=migrator t=2024-02-11T11:35:55.329630949Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-02-11T11:35:55.330479967Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=847.228µs grafana | logger=migrator t=2024-02-11T11:35:55.334014924Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-02-11T11:35:55.335199267Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.184643ms grafana | logger=migrator t=2024-02-11T11:35:55.338534732Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-02-11T11:35:55.339480421Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=945.569µs grafana | logger=migrator t=2024-02-11T11:35:55.343918678Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-02-11T11:35:55.34410795Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=189.132µs grafana | logger=migrator t=2024-02-11T11:35:55.347174062Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-02-11T11:35:55.352461397Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.286705ms grafana | logger=migrator t=2024-02-11T11:35:55.355304687Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-02-11T11:35:55.360383211Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.077934ms grafana | logger=migrator t=2024-02-11T11:35:55.367850859Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-02-11T11:35:55.373825542Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.976643ms grafana | logger=migrator t=2024-02-11T11:35:55.376693341Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-02-11T11:35:55.382174369Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.481068ms grafana | logger=migrator t=2024-02-11T11:35:55.385199631Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-02-11T11:35:55.386221531Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.02185ms grafana | logger=migrator t=2024-02-11T11:35:55.390296284Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-02-11T11:35:55.395364887Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.067873ms grafana | logger=migrator t=2024-02-11T11:35:55.398302217Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-02-11T11:35:55.399177307Z level=info msg="Migration successfully executed" id="create server_lock table" duration=873.11µs grafana | logger=migrator t=2024-02-11T11:35:55.402469851Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-02-11T11:35:55.403438111Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=966.12µs grafana | logger=migrator t=2024-02-11T11:35:55.408211251Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-02-11T11:35:55.40906763Z level=info msg="Migration successfully executed" id="create user auth token table" duration=855.739µs grafana | logger=migrator t=2024-02-11T11:35:55.454056081Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-02-11T11:35:55.455598378Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.543917ms grafana | logger=migrator t=2024-02-11T11:35:55.461213916Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-02-11T11:35:55.462790612Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.578846ms grafana | logger=migrator t=2024-02-11T11:35:55.468137009Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-02-11T11:35:55.4691922Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.053161ms grafana | logger=migrator t=2024-02-11T11:35:55.472435534Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-02-11T11:35:55.477744819Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.306945ms grafana | logger=migrator t=2024-02-11T11:35:55.480771631Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-02-11T11:35:55.481827092Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.056451ms grafana | logger=migrator t=2024-02-11T11:35:55.486566032Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-02-11T11:35:55.48737454Z level=info msg="Migration successfully executed" id="create cache_data table" duration=807.078µs grafana | logger=migrator t=2024-02-11T11:35:55.490432142Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-02-11T11:35:55.491999389Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.567037ms grafana | logger=migrator t=2024-02-11T11:35:55.495567086Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-02-11T11:35:55.496950821Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.382755ms grafana | logger=migrator t=2024-02-11T11:35:55.501652799Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-02-11T11:35:55.50264637Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=993.101µs grafana | logger=migrator t=2024-02-11T11:35:55.505693212Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-02-11T11:35:55.505834994Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=141.472µs grafana | logger=migrator t=2024-02-11T11:35:55.508134468Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-02-11T11:35:55.50829641Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=161.572µs grafana | logger=migrator t=2024-02-11T11:35:55.51217723Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-02-11T11:35:55.513024908Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=847.668µs grafana | logger=migrator t=2024-02-11T11:35:55.517751058Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-11T11:35:55.518809829Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.058471ms grafana | logger=migrator t=2024-02-11T11:35:55.521798601Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-11T11:35:55.523381097Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.580936ms grafana | logger=migrator t=2024-02-11T11:35:55.526868833Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-11T11:35:55.527094906Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=223.253µs grafana | logger=migrator t=2024-02-11T11:35:55.53230313Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-11T11:35:55.533262151Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=957.351µs grafana | logger=migrator t=2024-02-11T11:35:55.536364643Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-11T11:35:55.537311423Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=946.6µs grafana | logger=migrator t=2024-02-11T11:35:55.540163383Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-11T11:35:55.541164443Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.00055ms grafana | logger=migrator t=2024-02-11T11:35:55.545680991Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-11T11:35:55.546696851Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.01637ms grafana | logger=migrator t=2024-02-11T11:35:55.550113457Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-02-11T11:35:55.555797407Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.6817ms grafana | logger=migrator t=2024-02-11T11:35:55.560579976Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-02-11T11:35:55.561516677Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=936.661µs grafana | logger=migrator t=2024-02-11T11:35:55.564307576Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-02-11T11:35:55.564473228Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=163.002µs grafana | logger=migrator t=2024-02-11T11:35:55.567091805Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-02-11T11:35:55.567965444Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=870.909µs grafana | logger=migrator t=2024-02-11T11:35:55.571877215Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-02-11T11:35:55.572900146Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.022821ms grafana | logger=migrator t=2024-02-11T11:35:55.577223741Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-02-11T11:35:55.578274422Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.050491ms grafana | logger=migrator t=2024-02-11T11:35:55.582264994Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-11T11:35:55.582407225Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=141.911µs grafana | logger=migrator t=2024-02-11T11:35:55.585896651Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-02-11T11:35:55.587343127Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.444746ms grafana | logger=migrator t=2024-02-11T11:35:55.591283208Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-02-11T11:35:55.592716494Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.432035ms grafana | logger=migrator t=2024-02-11T11:35:55.596977258Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-02-11T11:35:55.598017679Z 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.040081ms grafana | logger=migrator t=2024-02-11T11:35:55.601056221Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-02-11T11:35:55.602096361Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.03961ms grafana | logger=migrator t=2024-02-11T11:35:55.605427356Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-02-11T11:35:55.611175876Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.74792ms grafana | logger=migrator t=2024-02-11T11:35:55.615553142Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-02-11T11:35:55.616533082Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=979.95µs grafana | logger=migrator t=2024-02-11T11:35:55.62006231Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-02-11T11:35:55.621684836Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.620236ms grafana | logger=migrator t=2024-02-11T11:35:55.626055442Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-02-11T11:35:55.66211053Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.056788ms grafana | logger=migrator t=2024-02-11T11:35:55.665690608Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-02-11T11:35:55.699438451Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=33.743663ms grafana | logger=migrator t=2024-02-11T11:35:55.704273182Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-02-11T11:35:55.705323922Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.051141ms grafana | logger=migrator t=2024-02-11T11:35:55.709622368Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-02-11T11:35:55.710692489Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.069721ms grafana | logger=migrator t=2024-02-11T11:35:55.715048464Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-02-11T11:35:55.720834365Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.784591ms grafana | logger=migrator t=2024-02-11T11:35:55.724659715Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-02-11T11:35:55.731354664Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.693519ms grafana | logger=migrator t=2024-02-11T11:35:55.736979473Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-02-11T11:35:55.738008495Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.028702ms grafana | logger=migrator t=2024-02-11T11:35:55.743159959Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-02-11T11:35:55.744918807Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.758208ms grafana | logger=migrator t=2024-02-11T11:35:55.74905025Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-02-11T11:35:55.750772208Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.721338ms grafana | logger=migrator t=2024-02-11T11:35:55.754621559Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-02-11T11:35:55.755839791Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.217452ms grafana | logger=migrator t=2024-02-11T11:35:55.7614841Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-11T11:35:55.761646332Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=161.962µs grafana | logger=migrator t=2024-02-11T11:35:55.76905539Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-02-11T11:35:55.777604149Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=8.550229ms grafana | logger=migrator t=2024-02-11T11:35:55.781362738Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-02-11T11:35:55.787662844Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.298236ms grafana | logger=migrator t=2024-02-11T11:35:55.793208782Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-02-11T11:35:55.799452748Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.243236ms grafana | logger=migrator t=2024-02-11T11:35:55.804061956Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-02-11T11:35:55.805064667Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.002711ms grafana | logger=migrator t=2024-02-11T11:35:55.808917677Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-02-11T11:35:55.810049128Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.131221ms grafana | logger=migrator t=2024-02-11T11:35:55.816039942Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-02-11T11:35:55.824865134Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.826372ms grafana | logger=migrator t=2024-02-11T11:35:55.828379121Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-02-11T11:35:55.834493965Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.114334ms grafana | logger=migrator t=2024-02-11T11:35:55.839302845Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-02-11T11:35:55.840486057Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.182692ms grafana | logger=migrator t=2024-02-11T11:35:55.844974045Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-02-11T11:35:55.85127028Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.306615ms grafana | logger=migrator t=2024-02-11T11:35:55.855301833Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-02-11T11:35:55.861986643Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.6852ms grafana | logger=migrator t=2024-02-11T11:35:55.865711951Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-02-11T11:35:55.865801402Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=87.761µs grafana | logger=migrator t=2024-02-11T11:35:55.8702954Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-02-11T11:35:55.871459432Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.162102ms grafana | logger=migrator t=2024-02-11T11:35:55.876422754Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-02-11T11:35:55.878243163Z 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.82084ms grafana | logger=migrator t=2024-02-11T11:35:55.882880361Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-02-11T11:35:55.884292826Z 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.414965ms grafana | logger=migrator t=2024-02-11T11:35:55.88935158Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-11T11:35:55.889512421Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=159.381µs grafana | logger=migrator t=2024-02-11T11:35:55.893456252Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-02-11T11:35:55.900298574Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.840532ms grafana | logger=migrator t=2024-02-11T11:35:55.903978992Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-02-11T11:35:55.91047613Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.497248ms grafana | logger=migrator t=2024-02-11T11:35:55.915690785Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-02-11T11:35:55.922514687Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.822692ms grafana | logger=migrator t=2024-02-11T11:35:55.926112614Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-02-11T11:35:55.932526861Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.408657ms grafana | logger=migrator t=2024-02-11T11:35:55.936629575Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-02-11T11:35:55.942962161Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.329036ms grafana | logger=migrator t=2024-02-11T11:35:55.94761685Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-02-11T11:35:55.947772181Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=154.341µs grafana | logger=migrator t=2024-02-11T11:35:55.951260107Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-02-11T11:35:55.952104876Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=844.039µs grafana | logger=migrator t=2024-02-11T11:35:55.958464122Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-02-11T11:35:55.965449836Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.985704ms grafana | logger=migrator t=2024-02-11T11:35:55.971686321Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-02-11T11:35:55.971844173Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=157.662µs grafana | logger=migrator t=2024-02-11T11:35:55.975567341Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-02-11T11:35:55.982145411Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.57832ms grafana | logger=migrator t=2024-02-11T11:35:55.985968101Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-02-11T11:35:55.987149164Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.181273ms grafana | logger=migrator t=2024-02-11T11:35:56.038817424Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-02-11T11:35:56.048572696Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.757832ms grafana | logger=migrator t=2024-02-11T11:35:56.051680249Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-02-11T11:35:56.052496187Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=817.018µs grafana | logger=migrator t=2024-02-11T11:35:56.057976294Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-02-11T11:35:56.059147316Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.171022ms grafana | logger=migrator t=2024-02-11T11:35:56.063355821Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-02-11T11:35:56.074147944Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=10.787933ms grafana | logger=migrator t=2024-02-11T11:35:56.079960955Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-02-11T11:35:56.08054224Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=580.535µs grafana | logger=migrator t=2024-02-11T11:35:56.088609955Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-02-11T11:35:56.090381663Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.773418ms grafana | logger=migrator t=2024-02-11T11:35:56.096206165Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-02-11T11:35:56.097023003Z level=info msg="Migration successfully executed" id="create alert_image table" duration=814.948µs grafana | logger=migrator t=2024-02-11T11:35:56.100298627Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-02-11T11:35:56.101289327Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=990.31µs grafana | logger=migrator t=2024-02-11T11:35:56.108149019Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-02-11T11:35:56.10823207Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=82.851µs grafana | logger=migrator t=2024-02-11T11:35:56.114618047Z level=info msg="Executing migration" id=create_alert_configuration_history_table 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 | grafana | logger=migrator t=2024-02-11T11:35:56.116271505Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.650097ms grafana | logger=migrator t=2024-02-11T11:35:56.124820494Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-02-11T11:35:56.126581392Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.761728ms grafana | logger=migrator t=2024-02-11T11:35:56.133859748Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-02-11T11:35:56.134401434Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-02-11T11:35:56.13873833Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-02-11T11:35:56.139438017Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=699.577µs grafana | logger=migrator t=2024-02-11T11:35:56.142792881Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-02-11T11:35:56.144645301Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.84956ms grafana | logger=migrator t=2024-02-11T11:35:56.152689686Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-02-11T11:35:56.162202975Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.511429ms grafana | logger=migrator t=2024-02-11T11:35:56.166381369Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-02-11T11:35:56.167067796Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=686.567µs grafana | logger=migrator t=2024-02-11T11:35:56.173507863Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-02-11T11:35:56.175322382Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.813469ms grafana | logger=migrator t=2024-02-11T11:35:56.17896154Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-02-11T11:35:56.180220344Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.259284ms grafana | logger=migrator t=2024-02-11T11:35:56.18467729Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-02-11T11:35:56.186027704Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.350254ms grafana | logger=migrator t=2024-02-11T11:35:56.196693235Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-02-11T11:35:56.198120561Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.425895ms grafana | logger=migrator t=2024-02-11T11:35:56.202003631Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-02-11T11:35:56.202040331Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=37.88µs grafana | logger=migrator t=2024-02-11T11:35:56.20570285Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-02-11T11:35:56.205808971Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=110.121µs grafana | logger=migrator t=2024-02-11T11:35:56.21045615Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-02-11T11:35:56.210971426Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=520.587µs grafana | logger=migrator t=2024-02-11T11:35:56.215905996Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-02-11T11:35:56.216871407Z level=info msg="Migration successfully executed" id="create data_keys table" duration=965.271µs grafana | logger=migrator t=2024-02-11T11:35:56.220621416Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-02-11T11:35:56.221357023Z level=info msg="Migration successfully executed" id="create secrets table" duration=735.447µs grafana | logger=migrator t=2024-02-11T11:35:56.226150464Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-02-11T11:35:56.272249726Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.098342ms grafana | logger=migrator t=2024-02-11T11:35:56.277558092Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-02-11T11:35:56.28402213Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.461228ms grafana | logger=migrator t=2024-02-11T11:35:56.288319614Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-02-11T11:35:56.288459336Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=140.251µs grafana | logger=migrator t=2024-02-11T11:35:56.295105436Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-02-11T11:35:56.340038756Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=44.93226ms grafana | logger=migrator t=2024-02-11T11:35:56.343427691Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-02-11T11:35:56.387215219Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=43.786988ms grafana | logger=migrator t=2024-02-11T11:35:56.391279742Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-02-11T11:35:56.391835817Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=555.825µs grafana | logger=migrator t=2024-02-11T11:35:56.396085642Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-02-11T11:35:56.397687618Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.601286ms grafana | logger=migrator t=2024-02-11T11:35:56.403333088Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-02-11T11:35:56.403641731Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=311.653µs grafana | logger=migrator t=2024-02-11T11:35:56.412923708Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-02-11T11:35:56.416339914Z level=info msg="Migration successfully executed" id="create permission table" duration=3.417936ms grafana | logger=migrator t=2024-02-11T11:35:56.425064635Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.426033595Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=968.96µs policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-02-11T11:35:56.432139799Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.433871557Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.730809ms 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)) grafana | logger=migrator t=2024-02-11T11:35:56.443955973Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.444750961Z level=info msg="Migration successfully executed" id="create role table" duration=793.458µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.454143119Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.464532468Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.386629ms policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-02-11T11:35:56.468624431Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.476521763Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.897102ms 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)) grafana | logger=migrator t=2024-02-11T11:35:56.482437385Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.483524037Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.088812ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.487026753Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.488176535Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.145962ms policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-02-11T11:35:56.494251549Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.495711384Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.460265ms 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)) grafana | logger=migrator t=2024-02-11T11:35:56.50392226Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.505498827Z level=info msg="Migration successfully executed" id="create team role table" duration=1.579277ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.511991735Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.515132947Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=3.141112ms policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-02-11T11:35:56.524566106Z 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-02-11T11:35:56.525954261Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.391235ms 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)) grafana | logger=migrator t=2024-02-11T11:35:56.539551013Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.540508083Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=961.36µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.544854259Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.545648177Z level=info msg="Migration successfully executed" id="create user role table" duration=794.148µs policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-02-11T11:35:56.549031172Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.550293506Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.258794ms grafana | logger=migrator t=2024-02-11T11:35:56.553722351Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-11T11:35:56.554987074Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.264473ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.559535372Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.560557462Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.02225ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.619689741Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-02-11T11:35:56.621272348Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.584557ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.627704945Z level=info msg="Executing migration" id="add index builtin_role.role_id" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.629710036Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.004411ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.63581642Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.636824951Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.008511ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.640443968Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-02-11T11:35:56.650909518Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=10.46399ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.654716998Z level=info msg="Executing migration" id="add index builtin_role.org_id" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.655740588Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.068681ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.662025345Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.663634381Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.608416ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.672593015Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-02-11T11:35:56.674210832Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.616807ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.678580137Z level=info msg="Executing migration" id="add unique index role.uid" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.680320576Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.740809ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.684861904Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.685572211Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=709.977µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.688606292Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-02-11T11:35:56.689670823Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.064181ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.693247731Z level=info msg="Executing migration" id="add column hidden to role table" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.705097725Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.847184ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.711755274Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.717634846Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.878962ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.721355845Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-02-11T11:35:56.730116157Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.761362ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.735731126Z level=info msg="Executing migration" id="permission identifier migration" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.744889341Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=9.157375ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.749161506Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.749916454Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=754.888µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.754289639Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-02-11T11:35:56.755057118Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=764.799µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.758652695Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.760393494Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.740899ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.765052372Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.765117432Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=65.93µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.770389288Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-02-11T11:35:56.770426198Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=38.74µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.776634693Z level=info msg="Executing migration" id="teams permissions migration" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.777309631Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=675.388µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.782393504Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.78296529Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=572.536µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.78780673Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-02-11T11:35:56.78869149Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=884.71µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.792702821Z level=info msg="Executing migration" id="drop managed folder create actions" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.792888843Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=187.872µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.796922456Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.797230999Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=308.733µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.806271353Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-02-11T11:35:56.808271615Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.999862ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.815043595Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.816121287Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.077652ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.819822495Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.828270114Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.446199ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.832668109Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-02-11T11:35:56.83273058Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=63.231µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.836405389Z level=info msg="Executing migration" id="create correlation table v1" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.83749923Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.093001ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.843723285Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.844984789Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.260784ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.850963251Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-02-11T11:35:56.852868661Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.90543ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.858035616Z level=info msg="Executing migration" id="add correlation config column" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.867940628Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.904633ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.873518147Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.874256144Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=738.467µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.878306667Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-02-11T11:35:56.880352998Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=2.044971ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.885823685Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.919959543Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=34.125468ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.924718612Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.925438971Z level=info msg="Migration successfully executed" id="create correlation v2" duration=720.359µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.929345921Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-02-11T11:35:56.930469963Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.126042ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.934628467Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.936318304Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.688457ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.940313046Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.942066105Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.753369ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.94740263Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-02-11T11:35:56.947831925Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=446.446µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.952252161Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.953567635Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.314614ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.959007822Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.969033476Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.026314ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.973958218Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-02-11T11:35:56.974709356Z level=info msg="Migration successfully executed" id="create entity_events table" duration=751.238µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.980266134Z level=info msg="Executing migration" id="create dashboard public config v1" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.981168953Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=900.789µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:56.98565767Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:56.986235416Z 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-02-11T11:35:56.989664893Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-02-11T11:35:56.990604972Z 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-02-11T11:35:56.994397631Z level=info msg="Executing migration" id="Drop old dashboard public config table" 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)) grafana | logger=migrator t=2024-02-11T11:35:56.995649535Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.254794ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.000232983Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.001536347Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.304615ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.007146855Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-02-11T11:35:57.00858107Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.434855ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.015156059Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-02-11T11:35:57.01724824Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=2.095891ms grafana | logger=migrator t=2024-02-11T11:35:57.02294744Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-02-11T11:35:57.024311695Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.366695ms 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)) grafana | logger=migrator t=2024-02-11T11:35:57.030699541Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.032201108Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.506346ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.036774494Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.037762065Z level=info msg="Migration successfully executed" id="Drop public config table" duration=989.571µs policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-02-11T11:35:57.041845268Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.043178042Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.333674ms 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)) grafana | logger=migrator t=2024-02-11T11:35:57.048888812Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.051155105Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=2.268153ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.056810644Z 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-02-11T11:35:57.05825417Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.445366ms policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-02-11T11:35:57.062785277Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.064455324Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.676957ms 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)) grafana | logger=migrator t=2024-02-11T11:35:57.069598878Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.102664154Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.060176ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.106452113Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.115180484Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.727951ms policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-02-11T11:35:57.121699333Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.129515934Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=7.815831ms 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)) grafana | logger=migrator t=2024-02-11T11:35:57.133138552Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.133316524Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=178.142µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.138081564Z level=info msg="Executing migration" id="add share column" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.145691983Z level=info msg="Migration successfully executed" id="add share column" duration=7.609569ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-02-11T11:35:57.18739785Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 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)) grafana | logger=migrator t=2024-02-11T11:35:57.187629562Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=232.032µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.196479624Z level=info msg="Executing migration" id="create file table" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.197333764Z level=info msg="Migration successfully executed" id="create file table" duration=854.19µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.202459757Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-02-11T11:35:57.204340167Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.88005ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.208683532Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 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)) grafana | logger=migrator t=2024-02-11T11:35:57.209798324Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.117102ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.213555413Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.214270101Z level=info msg="Migration successfully executed" id="create file_meta table" duration=713.998µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.218324933Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-02-11T11:35:57.219582066Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.256493ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.228875853Z level=info msg="Executing migration" id="set path collation in file table" 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)) grafana | logger=migrator t=2024-02-11T11:35:57.229008535Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=133.532µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.235135488Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.23527115Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=136.402µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.239143831Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-02-11T11:35:57.240086801Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=942.769µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.244900821Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 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)) grafana | logger=migrator t=2024-02-11T11:35:57.245288135Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=387.234µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.249037204Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.250364738Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.327374ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.254315129Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-02-11T11:35:57.262916399Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.60026ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.268998353Z level=info msg="Executing migration" id="Update uid column values in playlist" 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)) grafana | logger=migrator t=2024-02-11T11:35:57.269155284Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=157.332µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.272680282Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.274378599Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.700157ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.277912705Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-02-11T11:35:57.278523033Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=611.338µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.283693036Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 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)) grafana | logger=migrator t=2024-02-11T11:35:57.283911279Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=218.333µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.289220003Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.289917432Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=697.418µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.299481141Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-02-11T11:35:57.311250004Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.771873ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.315560399Z level=info msg="Executing migration" id="add scope column to seed_assignment" 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)) grafana | logger=migrator t=2024-02-11T11:35:57.324139699Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.57824ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.327551924Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.328315862Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=763.948µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.332582107Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-02-11T11:35:57.437217641Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=104.634454ms grafana | logger=migrator t=2024-02-11T11:35:57.440319823Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.441172253Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=852.23µs 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)) grafana | logger=migrator t=2024-02-11T11:35:57.445452867Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.446262195Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=808.748µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.451027585Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.48109303Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=30.064795ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-02-11T11:35:57.484579626Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.484726838Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=147.352µs 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)) grafana | logger=migrator t=2024-02-11T11:35:57.488782611Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.488921012Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=138.781µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.492354328Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-02-11T11:35:57.492663491Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=322.784µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.496530821Z level=info msg="Executing migration" id="create folder table" 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)) grafana | logger=migrator t=2024-02-11T11:35:57.497859905Z level=info msg="Migration successfully executed" id="create folder table" duration=1.329414ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.503258642Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.50501915Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.759908ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.50982854Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-02-11T11:35:57.511034143Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.203993ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.51450055Z level=info msg="Executing migration" id="Update folder title length" 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)) grafana | logger=migrator t=2024-02-11T11:35:57.51453593Z level=info msg="Migration successfully executed" id="Update folder title length" duration=36.72µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.520657613Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.522375702Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.717279ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.52600723Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-02-11T11:35:57.527100981Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.091541ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.532660849Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 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)) grafana | logger=migrator t=2024-02-11T11:35:57.534392247Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.730898ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.541739015Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.542402221Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=663.046µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.546238451Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-02-11T11:35:57.546659315Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=422.554µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.551137012Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-02-11T11:35:57.552078662Z level=info msg="Migration successfully executed" id="create anon_device table" duration=941.27µs grafana | logger=migrator t=2024-02-11T11:35:57.557225786Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 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)) grafana | logger=migrator t=2024-02-11T11:35:57.559066545Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.840079ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.562792824Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.564561183Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.767509ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.569377983Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-11T11:35:57.570197312Z level=info msg="Migration successfully executed" id="create signing_key table" duration=818.739µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.576508047Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-02-11T11:35:57.578317737Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.80922ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.582185857Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.583571942Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.387045ms policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.587901356Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-11T11:35:57.588189979Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=289.443µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.593156372Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-11T11:35:57.605172457Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.016335ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.610824996Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.611538433Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=714.467µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.615096431Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-11T11:35:57.616581366Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.483375ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.621096704Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-11T11:35:57.622548539Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.448374ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.630251619Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.630980596Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=729.647µs policy-db-migrator | grafana | logger=migrator t=2024-02-11T11:35:57.634938399Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-11T11:35:57.635376953Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=439.734µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-11T11:35:57.640358835Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.729917288s policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=sqlstore t=2024-02-11T11:35:57.650929106Z level=info msg="Created default admin" user=admin policy-db-migrator | -------------- grafana | logger=sqlstore t=2024-02-11T11:35:57.651124938Z level=info msg="Created default organization" policy-db-migrator | grafana | logger=secrets t=2024-02-11T11:35:57.658810528Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | grafana | logger=plugin.store t=2024-02-11T11:35:57.676883147Z level=info msg="Loading plugins..." policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=local.finder t=2024-02-11T11:35:57.716593112Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | -------------- grafana | logger=plugin.store t=2024-02-11T11:35:57.716701243Z level=info msg="Plugins loaded" count=55 duration=39.818056ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=query_data t=2024-02-11T11:35:57.721269491Z level=info msg="Query Service initialization" policy-db-migrator | -------------- grafana | logger=live.push_http t=2024-02-11T11:35:57.730030543Z level=info msg="Live Push Gateway initialization" policy-db-migrator | grafana | logger=ngalert.migration t=2024-02-11T11:35:57.760232279Z level=info msg=Starting policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2024-02-11T11:35:57.761519532Z level=info msg="Migrating alerts for organisation" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=ngalert.migration orgID=1 t=2024-02-11T11:35:57.762607913Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | -------------- grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-11T11:35:57.765512063Z level=info msg="Completed legacy migration" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=infra.usagestats.collector t=2024-02-11T11:35:57.803216328Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | -------------- grafana | logger=provisioning.datasources t=2024-02-11T11:35:57.805059997Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | grafana | logger=provisioning.alerting t=2024-02-11T11:35:57.818880812Z level=info msg="starting to provision alerting" policy-db-migrator | grafana | logger=provisioning.alerting t=2024-02-11T11:35:57.818902622Z level=info msg="finished to provision alerting" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=grafanaStorageLogger t=2024-02-11T11:35:57.819076594Z level=info msg="Storage starting" policy-db-migrator | -------------- grafana | logger=http.server t=2024-02-11T11:35:57.822971554Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=ngalert.state.manager t=2024-02-11T11:35:57.823201257Z level=info msg="Warming state cache for startup" policy-db-migrator | -------------- grafana | logger=grafana-apiserver t=2024-02-11T11:35:57.823914014Z level=info msg="Authentication is disabled" policy-db-migrator | grafana | logger=ngalert.multiorg.alertmanager t=2024-02-11T11:35:57.824549321Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | grafana | logger=grafana-apiserver t=2024-02-11T11:35:57.827077037Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=ngalert.state.manager t=2024-02-11T11:35:57.887959003Z level=info msg="State cache has been initialized" states=0 duration=64.754226ms policy-db-migrator | -------------- grafana | logger=ngalert.scheduler t=2024-02-11T11:35:57.888164795Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=ticker t=2024-02-11T11:35:57.888237356Z level=info msg=starting first_tick=2024-02-11T11:36:00Z policy-db-migrator | -------------- grafana | logger=sqlstore.transactions t=2024-02-11T11:35:57.91822432Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | grafana | logger=plugins.update.checker t=2024-02-11T11:35:57.926689828Z level=info msg="Update check succeeded" duration=102.33406ms policy-db-migrator | grafana | logger=sqlstore.transactions t=2024-02-11T11:35:57.930843761Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=sqlstore.transactions t=2024-02-11T11:35:57.964103409Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | -------------- grafana | logger=sqlstore.transactions t=2024-02-11T11:35:57.974959903Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=sqlstore.transactions t=2024-02-11T11:35:57.994407226Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" policy-db-migrator | -------------- grafana | logger=sqlstore.transactions t=2024-02-11T11:35:58.005544513Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=3 code="database is locked" policy-db-migrator | grafana | logger=grafana.update.checker t=2024-02-11T11:35:58.056391804Z level=info msg="Update check succeeded" duration=231.505829ms policy-db-migrator | grafana | logger=infra.usagestats t=2024-02-11T11:37:09.829878623Z level=info msg="Usage stats are ready to report" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:55 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:56 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:57 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:58 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1102241135550800u 1 2024-02-11 11:35:59 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:35:59 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:35:59 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:36:00 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:36:00 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:36:00 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:36:00 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:36:00 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:36:00 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:36:00 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:36:00 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:36:00 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:36:00 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1102241135550900u 1 2024-02-11 11:36:00 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1102241135551000u 1 2024-02-11 11:36:00 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1102241135551000u 1 2024-02-11 11:36:00 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1102241135551000u 1 2024-02-11 11:36:00 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1102241135551000u 1 2024-02-11 11:36:00 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1102241135551000u 1 2024-02-11 11:36:00 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1102241135551000u 1 2024-02-11 11:36:00 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1102241135551000u 1 2024-02-11 11:36:00 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1102241135551000u 1 2024-02-11 11:36:00 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1102241135551000u 1 2024-02-11 11:36:00 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1102241135551100u 1 2024-02-11 11:36:00 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1102241135551200u 1 2024-02-11 11:36:01 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1102241135551200u 1 2024-02-11 11:36:01 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1102241135551200u 1 2024-02-11 11:36:01 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1102241135551200u 1 2024-02-11 11:36:01 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing prometheus ... done Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-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.Co7zTuotsb ]] + rsync -av /tmp/tmp.Co7zTuotsb/ /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,058 bytes received 95 bytes 2,694,306.00 bytes/sec total size is 1,346,410 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 2145 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4459161411375293738.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13334940314153360950.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/jenkins5089392256422498380.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-FaBS from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-FaBS/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins194219776224466737.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config8084860133113302142tmp 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/jenkins14618609612982761153.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17841853541539186980.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-FaBS from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-FaBS/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins276787330326325753.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15459438707444717338.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-FaBS 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-FaBS/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/jenkins11362572330841797270.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-FaBS 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.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-FaBS/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/268 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-4613 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 834 27442 0 3889 30876 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:42:89:a1 brd ff:ff:ff:ff:ff:ff inet 10.30.106.220/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86023sec preferred_lft 86023sec inet6 fe80::f816:3eff:fe42:89a1/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:91:54:32:6b 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-4613) 02/11/24 _x86_64_ (8 CPU) 11:32:25 LINUX RESTART (8 CPU) 11:33:02 tps rtps wtps bread/s bwrtn/s 11:34:01 110.34 46.40 63.94 2055.92 21054.47 11:35:01 111.03 13.83 97.20 1123.81 26134.98 11:36:01 395.80 21.60 374.20 2411.93 75815.40 11:37:01 18.96 0.40 18.56 29.60 14323.98 11:38:01 42.19 0.87 41.32 41.19 15950.08 Average: 135.75 16.52 119.23 1129.37 30687.39 11:33:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30121112 31680812 2818108 8.56 66460 1805980 1466624 4.32 889620 1643104 149960 11:35:01 29860368 31718348 3078852 9.35 84016 2071016 1398920 4.12 863520 1897472 132712 11:36:01 27957280 31500920 4981940 15.12 126220 3646880 3314616 9.75 1210744 3327072 1920 11:37:01 26898400 30471644 6040820 18.34 126560 3648452 4671908 13.75 2275664 3319728 124 11:38:01 28057116 31578768 4882104 14.82 128060 3631752 1522980 4.48 1206048 3255940 45580 Average: 28578855 31390098 4360365 13.24 106263 2960816 2475010 7.28 1289119 2688663 66059 11:33:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 ens3 395.51 287.32 1519.82 64.41 0.00 0.00 0.00 0.00 11:34:01 lo 17.96 17.96 1.95 1.95 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 91.90 81.09 767.87 12.39 0.00 0.00 0.00 0.00 11:35:01 lo 18.40 18.40 1.98 1.98 0.00 0.00 0.00 0.00 11:36:01 veth7d3ed9c 28.93 37.78 2.87 4.44 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 ens3 273.52 181.95 8630.44 15.29 0.00 0.00 0.00 0.00 11:36:01 vethcf03409 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 11:37:01 veth7d3ed9c 91.00 111.70 116.83 40.28 0.00 0.00 0.00 0.01 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 ens3 8.98 7.12 1.88 1.91 0.00 0.00 0.00 0.00 11:37:01 vethcf03409 0.18 0.23 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 49.42 45.48 71.46 22.54 0.00 0.00 0.00 0.00 11:38:01 lo 74.18 74.18 14.74 14.74 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 163.09 120.03 2200.49 23.17 0.00 0.00 0.00 0.00 Average: lo 14.11 14.11 2.89 2.89 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-4613) 02/11/24 _x86_64_ (8 CPU) 11:32:25 LINUX RESTART (8 CPU) 11:33:02 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 11.05 0.00 0.96 2.10 0.04 85.85 11:34:01 0 6.27 0.00 0.49 0.80 0.02 92.43 11:34:01 1 18.94 0.00 1.38 13.09 0.10 66.48 11:34:01 2 14.82 0.00 1.44 0.42 0.03 83.28 11:34:01 3 19.80 0.00 1.44 0.80 0.03 77.92 11:34:01 4 5.91 0.00 0.83 0.63 0.03 92.60 11:34:01 5 14.99 0.00 0.80 0.58 0.02 83.62 11:34:01 6 3.54 0.00 0.41 0.32 0.03 95.70 11:34:01 7 4.20 0.00 0.85 0.20 0.02 94.73 11:35:01 all 9.68 0.00 0.77 2.02 0.03 87.51 11:35:01 0 2.42 0.00 0.28 0.17 0.02 97.12 11:35:01 1 12.46 0.00 1.42 8.67 0.05 77.40 11:35:01 2 4.90 0.00 0.52 2.54 0.02 92.03 11:35:01 3 2.52 0.00 0.42 1.22 0.02 95.83 11:35:01 4 34.63 0.00 1.67 2.54 0.08 61.08 11:35:01 5 13.25 0.00 0.92 0.40 0.03 85.39 11:35:01 6 4.46 0.00 0.52 0.10 0.03 94.89 11:35:01 7 2.85 0.00 0.40 0.50 0.02 96.23 11:36:01 all 8.54 0.00 3.19 6.27 0.07 81.94 11:36:01 0 8.15 0.00 3.18 1.81 0.05 86.81 11:36:01 1 6.42 0.00 4.53 30.87 0.07 58.12 11:36:01 2 7.22 0.00 3.36 0.99 0.07 88.36 11:36:01 3 6.75 0.00 2.92 6.05 0.07 84.22 11:36:01 4 10.26 0.00 3.10 5.29 0.08 81.26 11:36:01 5 9.61 0.00 3.47 0.67 0.07 86.19 11:36:01 6 8.98 0.00 2.20 2.70 0.08 86.04 11:36:01 7 10.89 0.00 2.74 1.92 0.08 84.36 11:37:01 all 14.95 0.00 1.36 0.78 0.05 82.86 11:37:01 0 12.64 0.00 1.39 0.13 0.10 85.74 11:37:01 1 19.04 0.00 2.02 0.17 0.03 78.73 11:37:01 2 17.98 0.00 1.47 0.18 0.03 80.33 11:37:01 3 16.15 0.00 1.51 0.02 0.05 82.28 11:37:01 4 15.42 0.00 1.42 0.08 0.03 83.04 11:37:01 5 13.59 0.00 1.19 5.70 0.05 79.47 11:37:01 6 10.41 0.00 0.77 0.00 0.05 88.77 11:37:01 7 14.30 0.00 1.14 0.00 0.03 84.53 11:38:01 all 3.27 0.00 0.49 1.15 0.03 95.06 11:38:01 0 6.79 0.00 0.58 0.33 0.07 92.23 11:38:01 1 1.62 0.00 0.40 0.38 0.02 97.58 11:38:01 2 0.97 0.00 0.35 0.65 0.02 98.01 11:38:01 3 1.00 0.00 0.47 0.28 0.05 98.20 11:38:01 4 3.50 0.00 0.47 0.07 0.03 95.93 11:38:01 5 0.63 0.00 0.47 3.50 0.00 95.40 11:38:01 6 10.32 0.00 0.78 0.42 0.07 88.41 11:38:01 7 1.39 0.00 0.33 3.50 0.00 94.78 Average: all 9.49 0.00 1.35 2.46 0.04 86.66 Average: 0 7.25 0.00 1.18 0.65 0.05 90.87 Average: 1 11.67 0.00 1.95 10.58 0.05 75.75 Average: 2 9.16 0.00 1.43 0.96 0.03 88.42 Average: 3 9.20 0.00 1.35 1.67 0.04 87.73 Average: 4 13.98 0.00 1.50 1.72 0.05 82.74 Average: 5 10.40 0.00 1.37 2.18 0.03 86.02 Average: 6 7.55 0.00 0.94 0.71 0.05 90.75 Average: 7 6.72 0.00 1.09 1.23 0.03 90.93