Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-1162 (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-G1o994SQqeY0/agent.2071 SSH_AGENT_PID=2073 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_11607082371312053130.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_11607082371312053130.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/jenkins12609137681932755367.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-vAQW 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-vAQW/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-vAQW/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.29.3 botocore==1.32.3 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.31 idna==3.4 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.1 keystoneauth1==5.3.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==3.11.0 prettytable==3.9.0 pyasn1==0.5.0 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.2.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.0 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.6 wcwidth==0.2.10 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins6767614684887501134.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/jenkins7017482256843180458.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.RKgLslbdyg ++ echo ROBOT_VENV=/tmp/tmp.RKgLslbdyg +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.RKgLslbdyg ++ source /tmp/tmp.RKgLslbdyg/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.RKgLslbdyg +++ 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.RKgLslbdyg/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.RKgLslbdyg) ' '!=' x ']' +++ PS1='(tmp.RKgLslbdyg) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 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.RKgLslbdyg/src/onap ++ rm -rf /tmp/tmp.RKgLslbdyg/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.3 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.3.1 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.RKgLslbdyg/bin/activate + '[' -z /tmp/tmp.RKgLslbdyg/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.RKgLslbdyg/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.RKgLslbdyg ++ 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.RKgLslbdyg/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.RKgLslbdyg) ' ++ '[' 'x(tmp.RKgLslbdyg) ' '!=' x ']' ++ PS1='(tmp.RKgLslbdyg) (tmp.RKgLslbdyg) ' ++ 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.l0qar0MTjg + cd /tmp/tmp.l0qar0MTjg + 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:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e 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:be0359383ed7d8436c53760cf8ff3671043ee3e0169f363ef33ecb329102fe4c Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 11 seconds prometheus Up 13 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 16 seconds prometheus Up 18 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 21 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:21 up 3 min, 0 users, load average: 2.44, 1.19, 0.49 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.3 us, 2.1 sy, 0.0 ni, 82.9 id, 3.6 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.1G 25G 1.0M 3.8G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 90fc834ef1ef policy-api 0.14% 1.101GiB / 31.41GiB 3.51% 1.04MB / 739kB 0B / 0B 50 996e96a7ff4e grafana 0.05% 93.9MiB / 31.41GiB 0.29% 18kB / 3.15kB 0B / 23.4MB 16 a785e3664d31 mariadb 0.02% 100MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 10.9MB / 67.4MB 27 a8ae47457a6a prometheus 0.00% 18.32MiB / 31.41GiB 0.06% 1.31kB / 0B 205kB / 0B 13 + echo + cd /tmp/tmp.l0qar0MTjg + 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.l0qar0MTjg/output.xml Log: /tmp/tmp.l0qar0MTjg/log.html Report: /tmp/tmp.l0qar0MTjg/report.html + RESULT=0 + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:38:32 up 4 min, 0 users, load average: 0.79, 0.95, 0.46 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.4 us, 1.7 sy, 0.0 ni, 85.8 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 2.2G 25G 1.0M 3.9G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 90fc834ef1ef policy-api 0.10% 1.233GiB / 31.41GiB 3.92% 7.32MB / 2.87MB 0B / 0B 52 996e96a7ff4e grafana 0.02% 94.2MiB / 31.41GiB 0.29% 19.1kB / 4.38kB 0B / 23.4MB 16 a785e3664d31 mariadb 0.02% 100.8MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 10.9MB / 67.6MB 18 a8ae47457a6a prometheus 0.00% 24.94MiB / 31.41GiB 0.08% 38.1kB / 7.15kB 205kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2023-11-18T11:36:53.556389491Z level=info msg="Starting Grafana" version=10.2.1 commit=533a733e4eda44041e43358c5a51203e9b42c9ea branch=HEAD compiled=2023-11-14T09:57:11Z grafana | logger=settings t=2023-11-18T11:36:53.556599886Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-18T11:36:53.556613457Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-18T11:36:53.556617677Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-18T11:36:53.556621058Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-18T11:36:53.556624338Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-18T11:36:53.556627738Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-18T11:36:53.556631098Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-18T11:36:53.556634749Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-18T11:36:53.556637959Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-18T11:36:53.556641039Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-18T11:36:53.556644069Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-18T11:36:53.55664817Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-18T11:36:53.55665584Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-18T11:36:53.556800681Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-18T11:36:53.556805631Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-18T11:36:53.556809011Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-18T11:36:53.556813251Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-18T11:36:53.556816912Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-18T11:36:53.557126354Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-18T11:36:53.557146185Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-18T11:36:53.557964265Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-18T11:36:53.558881932Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-18T11:36:53.5596919Z level=info msg="Migration successfully executed" id="create migration_log table" duration=809.529µs grafana | logger=migrator t=2023-11-18T11:36:53.56354555Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-18T11:36:53.564309455Z level=info msg="Migration successfully executed" id="create user table" duration=763.935µs grafana | logger=migrator t=2023-11-18T11:36:53.568081698Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-18T11:36:53.568900038Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=818.64µs grafana | logger=migrator t=2023-11-18T11:36:53.611539118Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-18T11:36:53.613313036Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.757766ms grafana | logger=migrator t=2023-11-18T11:36:53.616991953Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-18T11:36:53.61833625Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.344397ms grafana | logger=migrator t=2023-11-18T11:36:53.62177909Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-18T11:36:53.623029941Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.250981ms grafana | logger=migrator t=2023-11-18T11:36:53.628017972Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-18T11:36:53.630699917Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.680885ms grafana | logger=migrator t=2023-11-18T11:36:53.633563094Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-18T11:36:53.634269555Z level=info msg="Migration successfully executed" id="create user table v2" duration=706.221µs grafana | logger=migrator t=2023-11-18T11:36:53.63710084Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-18T11:36:53.638047629Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=948.059µs grafana | logger=migrator t=2023-11-18T11:36:53.643174971Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-18T11:36:53.643902713Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=729.653µs grafana | logger=migrator t=2023-11-18T11:36:53.646831295Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-18T11:36:53.647268858Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=437.243µs grafana | logger=migrator t=2023-11-18T11:36:53.649985645Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-18T11:36:53.650502912Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=516.817µs grafana | logger=migrator t=2023-11-18T11:36:53.653250961Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-18T11:36:53.654332099Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.080678ms grafana | logger=migrator t=2023-11-18T11:36:53.658813564Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-18T11:36:53.658841736Z level=info msg="Migration successfully executed" id="Update user table charset" duration=26.662µs grafana | logger=migrator t=2023-11-18T11:36:53.661738836Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-18T11:36:53.663611351Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.871635ms grafana | logger=migrator t=2023-11-18T11:36:53.66703825Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-18T11:36:53.667506944Z level=info msg="Migration successfully executed" id="Add missing user data" duration=486.985µs grafana | logger=migrator t=2023-11-18T11:36:53.670841586Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-18T11:36:53.672707351Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.865536ms grafana | logger=migrator t=2023-11-18T11:36:53.677306224Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-18T11:36:53.678079671Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=772.717µs grafana | logger=migrator t=2023-11-18T11:36:53.681007353Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-18T11:36:53.68290801Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.901077ms grafana | logger=migrator t=2023-11-18T11:36:53.685917328Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-18T11:36:53.697556022Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.639024ms grafana | logger=migrator t=2023-11-18T11:36:53.70249769Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-18T11:36:53.703033718Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=535.788µs grafana | logger=migrator t=2023-11-18T11:36:53.70581109Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-18T11:36:53.706327278Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=515.889µs grafana | logger=migrator t=2023-11-18T11:36:53.709197716Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-18T11:36:53.710408293Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.210167ms grafana | logger=migrator t=2023-11-18T11:36:53.715409396Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-18T11:36:53.716514495Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.104619ms grafana | logger=migrator t=2023-11-18T11:36:53.719392684Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-18T11:36:53.720494745Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.10127ms grafana | logger=migrator t=2023-11-18T11:36:53.723771532Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-18T11:36:53.723858928Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=43.123µs grafana | logger=migrator t=2023-11-18T11:36:53.727239803Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-18T11:36:53.72857772Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.337877ms grafana | logger=migrator t=2023-11-18T11:36:53.733335145Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-18T11:36:53.734026925Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=691.301µs grafana | logger=migrator t=2023-11-18T11:36:53.736812127Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-18T11:36:53.737434242Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=619.875µs grafana | logger=migrator t=2023-11-18T11:36:53.742763478Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-18T11:36:53.743779822Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.016404ms grafana | logger=migrator t=2023-11-18T11:36:53.746918929Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-18T11:36:53.752655235Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.735276ms grafana | logger=migrator t=2023-11-18T11:36:53.756016608Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-18T11:36:53.756900733Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=884.345µs grafana | logger=migrator t=2023-11-18T11:36:53.759924952Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-18T11:36:53.760686477Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=761.375µs grafana | logger=migrator t=2023-11-18T11:36:53.766173375Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-18T11:36:53.766876495Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=703.631µs grafana | logger=migrator t=2023-11-18T11:36:53.769906205Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-18T11:36:53.77065537Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=748.415µs grafana | logger=migrator t=2023-11-18T11:36:53.773809338Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-18T11:36:53.774911388Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.10121ms grafana | logger=migrator t=2023-11-18T11:36:53.781025361Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-18T11:36:53.781920176Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=895.816µs grafana | logger=migrator t=2023-11-18T11:36:53.784960087Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-18T11:36:53.785522527Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=562.261µs grafana | logger=migrator t=2023-11-18T11:36:53.788087033Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-18T11:36:53.788429598Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=342.585µs grafana | logger=migrator t=2023-11-18T11:36:53.794225468Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-18T11:36:53.79481805Z level=info msg="Migration successfully executed" id="create star table" duration=592.642µs grafana | logger=migrator t=2023-11-18T11:36:53.797700119Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-18T11:36:53.798413232Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=712.593µs grafana | logger=migrator t=2023-11-18T11:36:53.801474293Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-18T11:36:53.802610835Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.136262ms grafana | logger=migrator t=2023-11-18T11:36:53.807377411Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-18T11:36:53.80889161Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.510159ms grafana | logger=migrator t=2023-11-18T11:36:53.814339155Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-18T11:36:53.815334548Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=996.543µs grafana | logger=migrator t=2023-11-18T11:36:53.818429782Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-18T11:36:53.819182447Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=751.354µs grafana | logger=migrator t=2023-11-18T11:36:53.822206346Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-18T11:36:53.822972421Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=763.916µs grafana | logger=migrator t=2023-11-18T11:36:53.825931785Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-18T11:36:53.82709775Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.165615ms grafana | logger=migrator t=2023-11-18T11:36:53.83219755Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-18T11:36:53.832235533Z level=info msg="Migration successfully executed" id="Update org table charset" duration=38.743µs grafana | logger=migrator t=2023-11-18T11:36:53.835429944Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-18T11:36:53.835474877Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=45.713µs grafana | logger=migrator t=2023-11-18T11:36:53.838630506Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-18T11:36:53.838845142Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=214.105µs grafana | logger=migrator t=2023-11-18T11:36:53.841905163Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-18T11:36:53.84255636Z level=info msg="Migration successfully executed" id="create dashboard table" duration=649.007µs grafana | logger=migrator t=2023-11-18T11:36:53.847460696Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-18T11:36:53.84820736Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=746.354µs grafana | logger=migrator t=2023-11-18T11:36:53.850951859Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-18T11:36:53.851946541Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=992.533µs grafana | logger=migrator t=2023-11-18T11:36:53.85524243Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-18T11:36:53.856311287Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.068487ms grafana | logger=migrator t=2023-11-18T11:36:53.859578734Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-18T11:36:53.860988336Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.408522ms grafana | logger=migrator t=2023-11-18T11:36:53.865811636Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-18T11:36:53.866564301Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=752.044µs grafana | logger=migrator t=2023-11-18T11:36:53.869380885Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-18T11:36:53.875915458Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.532863ms grafana | logger=migrator t=2023-11-18T11:36:53.87897423Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-18T11:36:53.879631297Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=658.268µs grafana | logger=migrator t=2023-11-18T11:36:53.883589214Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-18T11:36:53.884274424Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=684.88µs grafana | logger=migrator t=2023-11-18T11:36:53.888134574Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-18T11:36:53.889499193Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.363698ms grafana | logger=migrator t=2023-11-18T11:36:53.893279236Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-18T11:36:53.893838667Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=560.071µs grafana | logger=migrator t=2023-11-18T11:36:53.897995278Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-18T11:36:53.898755613Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=760.475µs grafana | logger=migrator t=2023-11-18T11:36:53.901993148Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-18T11:36:53.902054382Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=61.805µs grafana | logger=migrator t=2023-11-18T11:36:53.905536355Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-18T11:36:53.90781313Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.274815ms grafana | logger=migrator t=2023-11-18T11:36:53.912140193Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-18T11:36:53.914951857Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.811004ms grafana | logger=migrator t=2023-11-18T11:36:53.91858328Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-18T11:36:53.920449276Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.865655ms grafana | logger=migrator t=2023-11-18T11:36:53.923717982Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-18T11:36:53.924476148Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=757.565µs grafana | logger=migrator t=2023-11-18T11:36:53.928217409Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-18T11:36:53.930007558Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.788039ms grafana | logger=migrator t=2023-11-18T11:36:53.933190369Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-18T11:36:53.934019649Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=831.08µs grafana | logger=migrator t=2023-11-18T11:36:53.937108183Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-18T11:36:53.937921002Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=812.328µs grafana | logger=migrator t=2023-11-18T11:36:53.941987707Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-18T11:36:53.9420277Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=41.353µs grafana | logger=migrator t=2023-11-18T11:36:53.945795842Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-18T11:36:53.945854937Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=60.205µs grafana | logger=migrator t=2023-11-18T11:36:53.949085911Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-18T11:36:53.951102497Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.016836ms grafana | logger=migrator t=2023-11-18T11:36:53.990072932Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-18T11:36:53.99322441Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.151349ms grafana | logger=migrator t=2023-11-18T11:36:53.996761446Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-18T11:36:53.99887943Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.115183ms grafana | logger=migrator t=2023-11-18T11:36:54.00205568Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-18T11:36:54.003950527Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.894416ms grafana | logger=migrator t=2023-11-18T11:36:54.007982835Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-18T11:36:54.008163468Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=180.303µs grafana | logger=migrator t=2023-11-18T11:36:54.011168564Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-18T11:36:54.011895277Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=727.953µs grafana | logger=migrator t=2023-11-18T11:36:54.015166972Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-18T11:36:54.016241529Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.074867ms grafana | logger=migrator t=2023-11-18T11:36:54.020683699Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-18T11:36:54.020748053Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=65.795µs grafana | logger=migrator t=2023-11-18T11:36:54.024338971Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-18T11:36:54.025794666Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.455065ms grafana | logger=migrator t=2023-11-18T11:36:54.028890799Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-18T11:36:54.029515883Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=604.933µs grafana | logger=migrator t=2023-11-18T11:36:54.032321405Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-18T11:36:54.040855158Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.532943ms grafana | logger=migrator t=2023-11-18T11:36:54.044811242Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-18T11:36:54.045590329Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=778.837µs grafana | logger=migrator t=2023-11-18T11:36:54.048738025Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-18T11:36:54.049741927Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.003262ms grafana | logger=migrator t=2023-11-18T11:36:54.052736422Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-18T11:36:54.053699892Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=963.39µs grafana | logger=migrator t=2023-11-18T11:36:54.057219255Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-18T11:36:54.057533007Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=313.862µs grafana | logger=migrator t=2023-11-18T11:36:54.060477359Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-18T11:36:54.061030628Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=552.629µs grafana | logger=migrator t=2023-11-18T11:36:54.063311902Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-18T11:36:54.066696766Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.382893ms grafana | logger=migrator t=2023-11-18T11:36:54.070806631Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-18T11:36:54.0723198Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.512138ms grafana | logger=migrator t=2023-11-18T11:36:54.075564693Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-18T11:36:54.07579752Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=232.767µs grafana | logger=migrator t=2023-11-18T11:36:54.078788835Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-18T11:36:54.079177253Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=389.188µs grafana | logger=migrator t=2023-11-18T11:36:54.083628733Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-18T11:36:54.084368256Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=739.674µs grafana | logger=migrator t=2023-11-18T11:36:54.087308158Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-18T11:36:54.089609022Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.299884ms grafana | logger=migrator t=2023-11-18T11:36:54.092460107Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-11-18T11:36:54.093269116Z level=info msg="Migration successfully executed" id="create data_source table" duration=808.729µs grafana | logger=migrator t=2023-11-18T11:36:54.097145264Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-18T11:36:54.097908459Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=762.895µs grafana | logger=migrator t=2023-11-18T11:36:54.100963638Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-18T11:36:54.10194561Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=981.311µs grafana | logger=migrator t=2023-11-18T11:36:54.104902132Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-18T11:36:54.105667457Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=764.935µs grafana | logger=migrator t=2023-11-18T11:36:54.109838777Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-18T11:36:54.11057861Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=739.523µs grafana | logger=migrator t=2023-11-18T11:36:54.113796571Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-18T11:36:54.121477804Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.679952ms grafana | logger=migrator t=2023-11-18T11:36:54.124358381Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-18T11:36:54.125178169Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=819.789µs grafana | logger=migrator t=2023-11-18T11:36:54.128997034Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-18T11:36:54.130048459Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.049095ms grafana | logger=migrator t=2023-11-18T11:36:54.132984861Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-18T11:36:54.133848762Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=863.462µs grafana | logger=migrator t=2023-11-18T11:36:54.136811125Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-18T11:36:54.137315501Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=506.606µs grafana | logger=migrator t=2023-11-18T11:36:54.140961044Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-18T11:36:54.143225807Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.261773ms grafana | logger=migrator t=2023-11-18T11:36:54.146258075Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-18T11:36:54.148486464Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.228049ms grafana | logger=migrator t=2023-11-18T11:36:54.151315708Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-18T11:36:54.151338969Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=23.882µs grafana | logger=migrator t=2023-11-18T11:36:54.155157314Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-18T11:36:54.155369029Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=256.598µs grafana | logger=migrator t=2023-11-18T11:36:54.158264908Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-18T11:36:54.160741076Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.475438ms grafana | logger=migrator t=2023-11-18T11:36:54.164082756Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-18T11:36:54.164254468Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=171.653µs grafana | logger=migrator t=2023-11-18T11:36:54.167511052Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-18T11:36:54.167666173Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=155.271µs grafana | logger=migrator t=2023-11-18T11:36:54.171536952Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-18T11:36:54.175398199Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.860717ms grafana | logger=migrator t=2023-11-18T11:36:54.178584548Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-18T11:36:54.178859667Z level=info msg="Migration successfully executed" id="Update uid value" duration=275.059µs grafana | logger=migrator t=2023-11-18T11:36:54.182152334Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-18T11:36:54.183187019Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.034025ms grafana | logger=migrator t=2023-11-18T11:36:54.18724293Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-18T11:36:54.188049209Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=805.539µs grafana | logger=migrator t=2023-11-18T11:36:54.191081297Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-18T11:36:54.191802398Z level=info msg="Migration successfully executed" id="create api_key table" duration=721.062µs grafana | logger=migrator t=2023-11-18T11:36:54.19474709Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-18T11:36:54.195490053Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=743.473µs grafana | logger=migrator t=2023-11-18T11:36:54.19933755Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-18T11:36:54.200099365Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=761.894µs grafana | logger=migrator t=2023-11-18T11:36:54.203218699Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-18T11:36:54.204029377Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=808.567µs grafana | logger=migrator t=2023-11-18T11:36:54.208610136Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-18T11:36:54.210101063Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.490277ms grafana | logger=migrator t=2023-11-18T11:36:54.214330957Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-18T11:36:54.215148436Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=818.409µs grafana | logger=migrator t=2023-11-18T11:36:54.218170183Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-11-18T11:37:07.824+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 30 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-18T11:37:07.827+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-18T11:37:09.101+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-18T11:37:09.193+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-18T11:37:10.254+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-18T11:37:10.268+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-18T11:37:10.268+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-18T11:37:10.269+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-18T11:37:10.363+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-18T11:37:10.363+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2475 ms policy-api | [2023-11-18T11:37:10.884+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-18T11:37:11.062+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-18T11:37:11.323+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-18T11:37:11.458+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-18T11:37:11.567+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-18T11:37:11.592+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-18T11:37:12.985+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-11-18T11:37:12.995+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-18T11:37:14.149+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-18T11:37:14.825+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-18T11:37:15.875+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@5fc4af25, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@66abb7d4, org.springframework.security.web.context.SecurityContextPersistenceFilter@190a5f74, org.springframework.security.web.header.HeaderWriterFilter@9af2a00, org.springframework.security.web.authentication.logout.LogoutFilter@65c2610f, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@7bec83d5, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@b09df69, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@623dac3, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@494f74cd, org.springframework.security.web.session.SessionManagementFilter@37dcda42, org.springframework.security.web.access.ExceptionTranslationFilter@395065af, org.springframework.security.web.access.intercept.AuthorizationFilter@416dd4d8] policy-api | [2023-11-18T11:37:16.018+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-11-18T11:37:19.038+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-18T11:37:19.060+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-18T11:37:19.100+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-18T11:37:19.117+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.129 seconds (JVM running for 12.77) policy-api | [2023-11-18T11:37:24.748+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-18T11:37:24.749+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-18T11:37:24.750+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2023-11-18T11:37:27.321+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-18T11:37:27.437+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-11-18T11:37:27.686+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-18T11:37:28.734+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2023-11-18T11:37:30.589+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-18T11:37:30.974+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-18T11:37:31.194+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-18T11:37:31.417+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-18T11:37:31.629+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-18T11:37:31.830+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-11-18T11:36:54.218863824Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=692µs grafana | logger=migrator t=2023-11-18T11:36:54.222819097Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-18T11:36:54.235309305Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=12.490118ms grafana | logger=migrator t=2023-11-18T11:36:54.238413209Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-18T11:36:54.239053535Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=640.875µs grafana | logger=migrator t=2023-11-18T11:36:54.242036339Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-18T11:36:54.24260912Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=573.221µs grafana | logger=migrator t=2023-11-18T11:36:54.247126725Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-18T11:36:54.247881609Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=754.634µs grafana | logger=migrator t=2023-11-18T11:36:54.251145563Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-18T11:36:54.252167106Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.019933ms grafana | logger=migrator t=2023-11-18T11:36:54.255506397Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-18T11:36:54.25623866Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=732.262µs grafana | logger=migrator t=2023-11-18T11:36:54.260160341Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-18T11:36:54.261060587Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=900.265µs grafana | logger=migrator t=2023-11-18T11:36:54.265262298Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-18T11:36:54.265300021Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=38.413µs grafana | logger=migrator t=2023-11-18T11:36:54.268694184Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-18T11:36:54.271187534Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.49305ms grafana | logger=migrator t=2023-11-18T11:36:54.274435687Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-18T11:36:54.277387299Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.950832ms grafana | logger=migrator t=2023-11-18T11:36:54.281348015Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-18T11:36:54.281584371Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=236.447µs grafana | logger=migrator t=2023-11-18T11:36:54.284710596Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-18T11:36:54.287342295Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.631259ms grafana | logger=migrator t=2023-11-18T11:36:54.290508023Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-18T11:36:54.292988941Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.480599ms grafana | logger=migrator t=2023-11-18T11:36:54.296803285Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-18T11:36:54.297497846Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=694.48µs grafana | logger=migrator t=2023-11-18T11:36:54.30033639Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-18T11:36:54.300836965Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=500.196µs grafana | logger=migrator t=2023-11-18T11:36:54.303210626Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-18T11:36:54.303909086Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=698.54µs grafana | logger=migrator t=2023-11-18T11:36:54.307633813Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-18T11:36:54.308387538Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=753.205µs grafana | logger=migrator t=2023-11-18T11:36:54.31146845Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-18T11:36:54.312221804Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=753.393µs grafana | logger=migrator t=2023-11-18T11:36:54.315498919Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-18T11:36:54.316771561Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.272122ms grafana | logger=migrator t=2023-11-18T11:36:54.32121092Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" mariadb | 2023-11-18 11:36:54+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-18 11:36:54+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-18 11:36:54+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-18 11:36:54+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-18 11:36:54 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-18 11:36:54 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-18 11:36:54 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-11-18 11:36:56+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-18 11:36:56+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-18 11:36:56+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-18 11:36:56 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2023-11-18 11:36:56 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-18 11:36:56 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-18 11:36:56 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-18 11:36:56 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-18 11:36:56 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-18 11:36:56 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-18 11:36:56 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-18 11:36:56 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-18 11:36:56 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-18 11:36:56 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-18 11:36:56 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-18 11:36:56 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-18 11:36:56 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-18 11:36:56 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-18 11:36:56 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-18 11:36:56 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-18 11:36:56 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-18 11:36:56 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-11-18 11:36:57+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-18 11:36:58+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-18 11:36:58+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-18 11:36:58+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-18 11:36:58+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 | # grafana | logger=migrator t=2023-11-18T11:36:54.321312467Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=102.818µs mariadb | # Unless required by applicable law or agreed to in writing, software grafana | logger=migrator t=2023-11-18T11:36:54.325436414Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" prometheus | ts=2023-11-18T11:36:52.506Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-11-18T11:36:52.506Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" mariadb | # distributed under the License is distributed on an "AS IS" BASIS, policy-db-migrator | Waiting for mariadb port 3306... prometheus | ts=2023-11-18T11:36:52.506Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" grafana | logger=migrator t=2023-11-18T11:36:54.325509929Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=70.055µs mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2023-11-18T11:36:52.506Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" grafana | logger=migrator t=2023-11-18T11:36:54.329745533Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" mariadb | # See the License for the specific language governing permissions and policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2023-11-18T11:36:52.506Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" grafana | logger=migrator t=2023-11-18T11:36:54.332556915Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.810552ms prometheus | ts=2023-11-18T11:36:52.506Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" mariadb | # limitations under the License. grafana | logger=migrator t=2023-11-18T11:36:54.33554511Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2023-11-18T11:36:52.508Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 mariadb | grafana | logger=migrator t=2023-11-18T11:36:54.338242744Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.695553ms prometheus | ts=2023-11-18T11:36:52.509Z caller=main.go:1024 level=info msg="Starting TSDB ..." grafana | logger=migrator t=2023-11-18T11:36:54.379541422Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2023-11-18T11:36:52.514Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 grafana | logger=migrator t=2023-11-18T11:36:54.379639819Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=99.867µs mariadb | do policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2023-11-18T11:36:52.514Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 grafana | logger=migrator t=2023-11-18T11:36:54.383318713Z level=info msg="Executing migration" id="create quota table v1" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! prometheus | ts=2023-11-18T11:36:52.516Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" grafana | logger=migrator t=2023-11-18T11:36:54.384345658Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.026505ms mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" policy-db-migrator | 314 blocks prometheus | ts=2023-11-18T11:36:52.516Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.13µs grafana | logger=migrator t=2023-11-18T11:36:54.388779136Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" mariadb | done policy-db-migrator | Preparing upgrade release version: 0800 prometheus | ts=2023-11-18T11:36:52.516Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" grafana | logger=migrator t=2023-11-18T11:36:54.390039697Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.262781ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | Preparing upgrade release version: 0900 prometheus | ts=2023-11-18T11:36:52.516Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 grafana | logger=migrator t=2023-11-18T11:36:54.393637465Z level=info msg="Executing migration" id="Update quota table charset" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-db-migrator | Preparing upgrade release version: 1000 prometheus | ts=2023-11-18T11:36:52.516Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=46.694µs wal_replay_duration=292.721µs wbl_replay_duration=230ns total_replay_duration=376.247µs grafana | logger=migrator t=2023-11-18T11:36:54.393660677Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=23.662µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | Preparing upgrade release version: 1100 prometheus | ts=2023-11-18T11:36:52.518Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC grafana | logger=migrator t=2023-11-18T11:36:54.396850376Z level=info msg="Executing migration" id="create plugin_setting table" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp prometheus | ts=2023-11-18T11:36:52.518Z caller=main.go:1048 level=info msg="TSDB started" grafana | logger=migrator t=2023-11-18T11:36:54.397570848Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=719.642µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' policy-db-migrator | Preparing upgrade release version: 1200 prometheus | ts=2023-11-18T11:36:52.518Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml grafana | logger=migrator t=2023-11-18T11:36:54.401645711Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | Done prometheus | ts=2023-11-18T11:36:52.519Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=731.202µs db_storage=1.16µs remote_storage=1.4µs web_handler=310ns query_engine=980ns scrape=172.743µs scrape_sd=89.466µs notify=25.942µs notify_sd=13.421µs rules=2.211µs tracing=10.25µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2023-11-18T11:36:54.402948874Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.302513ms grafana | logger=migrator t=2023-11-18T11:36:54.406426145Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp prometheus | ts=2023-11-18T11:36:52.519Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." grafana | logger=migrator t=2023-11-18T11:36:54.410435523Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.006337ms prometheus | ts=2023-11-18T11:36:52.519Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' grafana | logger=migrator t=2023-11-18T11:36:54.413689657Z level=info msg="Executing migration" id="Update plugin_setting table charset" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2023-11-18T11:36:54.413714198Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.152µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2023-11-18T11:36:54.41804442Z level=info msg="Executing migration" id="create session table" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' policy-db-migrator | name version grafana | logger=migrator t=2023-11-18T11:36:54.419531096Z level=info msg="Migration successfully executed" id="create session table" duration=1.485886ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | policyadmin 0 grafana | logger=migrator t=2023-11-18T11:36:54.423998398Z level=info msg="Executing migration" id="Drop old table playlist table" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 grafana | logger=migrator t=2023-11-18T11:36:54.424083204Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=85.566µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-db-migrator | upgrade: 0 -> 1200 grafana | logger=migrator t=2023-11-18T11:36:54.427257392Z level=info msg="Executing migration" id="Drop old table playlist_item table" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2023-11-18T11:36:54.427337798Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=80.666µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:54.431066675Z level=info msg="Executing migration" id="create playlist table v2" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql grafana | logger=migrator t=2023-11-18T11:36:54.431936769Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=866.073µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2023-11-18T11:36:54.435608442Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-18T11:36:54.436707011Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.097699ms mariadb | grafana | logger=migrator t=2023-11-18T11:36:54.440363774Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | -------------- mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" grafana | logger=migrator t=2023-11-18T11:36:54.440387306Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=26.452µs 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) mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2023-11-18T11:36:54.443465767Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | -------------- mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql grafana | logger=migrator t=2023-11-18T11:36:54.443488319Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=21.662µs mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp grafana | logger=migrator t=2023-11-18T11:36:54.447655668Z level=info msg="Executing migration" id="Add playlist column created_at" mariadb | grafana | logger=migrator t=2023-11-18T11:36:54.452657548Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.985898ms policy-db-migrator | mariadb | 2023-11-18 11:36:59+00:00 [Note] [Entrypoint]: Stopping temporary server grafana | logger=migrator t=2023-11-18T11:36:54.456280468Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | mariadb | 2023-11-18 11:36:59 0 [Note] mariadbd (initiated by: unknown): Normal shutdown grafana | logger=migrator t=2023-11-18T11:36:54.459488138Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.20826ms policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql mariadb | 2023-11-18 11:36:59 0 [Note] InnoDB: FTS optimize thread exiting. grafana | logger=migrator t=2023-11-18T11:36:54.462647236Z level=info msg="Executing migration" id="drop preferences table v2" mariadb | 2023-11-18 11:36:59 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2023-11-18T11:36:54.462877443Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=230.406µs mariadb | 2023-11-18 11:36:59 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2023-11-18T11:36:54.466948055Z level=info msg="Executing migration" id="drop preferences table v3" mariadb | 2023-11-18 11:36:59 0 [Note] InnoDB: Buffer pool(s) dump completed at 231118 11:36:59 grafana | logger=migrator t=2023-11-18T11:36:54.46702478Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=78.486µs mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2023-11-18T11:36:54.470257192Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | -------------- mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: Shutdown completed; log sequence number 333378; transaction id 298 grafana | logger=migrator t=2023-11-18T11:36:54.471150567Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=892.735µs 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) mariadb | 2023-11-18 11:37:00 0 [Note] mariadbd: Shutdown complete grafana | logger=migrator t=2023-11-18T11:36:54.475619068Z level=info msg="Executing migration" id="Update preferences table charset" mariadb | grafana | logger=migrator t=2023-11-18T11:36:54.475828043Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=50.893µs mariadb | 2023-11-18 11:37:00+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2023-11-18T11:36:54.479565162Z level=info msg="Executing migration" id="Add column team_id in preferences" mariadb | grafana | logger=migrator t=2023-11-18T11:36:54.487082602Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=7.5181ms mariadb | 2023-11-18 11:37:00+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | grafana | logger=migrator t=2023-11-18T11:36:54.49150658Z level=info msg="Executing migration" id="Update team_id column values in preferences" mariadb | 2023-11-18 11:37:00 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... grafana | logger=migrator t=2023-11-18T11:36:54.491673102Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=167.002µs mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2023-11-18T11:36:54.494638765Z level=info msg="Executing migration" id="Add column week_start in preferences" mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2023-11-18T11:36:54.497783311Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.143636ms mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2023-11-18T11:36:54.500938068Z level=info msg="Executing migration" id="Add column preferences.json_data" mariadb | 2023-11-18 11:37:00 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2023-11-18T11:36:54.505809698Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=4.86966ms mariadb | 2023-11-18 11:37:00 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2023-11-18T11:36:54.509867719Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | -------------- mariadb | 2023-11-18 11:37:00 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2023-11-18T11:36:54.509949665Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=82.556µs policy-db-migrator | mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2023-11-18T11:36:54.512996175Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2023-11-18T11:36:54.514139417Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.141902ms mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2023-11-18T11:36:54.517463616Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-18T11:36:54.519381734Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.919349ms mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql grafana | logger=migrator t=2023-11-18T11:36:54.523245161Z level=info msg="Executing migration" id="create alert table v1" mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:54.524202861Z level=info msg="Migration successfully executed" id="create alert table v1" duration=957.009µs mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 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) grafana | logger=migrator t=2023-11-18T11:36:54.532804829Z level=info msg="Executing migration" id="add index alert org_id & id " mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: log sequence number 333378; transaction id 299 mariadb | 2023-11-18 11:37:00 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:54.533499789Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=695.419µs mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2023-11-18T11:36:54.539901348Z level=info msg="Executing migration" id="add index alert state" mariadb | 2023-11-18 11:37:00 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 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) grafana | logger=migrator t=2023-11-18T11:36:54.540676514Z level=info msg="Migration successfully executed" id="add index alert state" duration=773.406µs mariadb | 2023-11-18 11:37:00 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:54.54506444Z level=info msg="Executing migration" id="add index alert dashboard_id" mariadb | 2023-11-18 11:37:00 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2023-11-18T11:36:54.546400625Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.335826ms mariadb | 2023-11-18 11:37:00 0 [Note] Server socket created on IP: '::'. 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) grafana | logger=migrator t=2023-11-18T11:36:54.549787319Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" mariadb | 2023-11-18 11:37:00 0 [Note] mariadbd: ready for connections. policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:54.55035627Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=569.271µs mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2023-11-18T11:36:54.560957172Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" mariadb | 2023-11-18 11:37:00 0 [Note] InnoDB: Buffer pool(s) load completed at 231118 11:37:00 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) grafana | logger=migrator t=2023-11-18T11:36:54.562056051Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.098959ms mariadb | 2023-11-18 11:37:00 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:54.568789594Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" mariadb | 2023-11-18 11:37:01 52 [Warning] Aborted connection 52 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2023-11-18T11:36:54.569806238Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.018084ms 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) grafana | logger=migrator t=2023-11-18T11:36:54.573073423Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:54.588780262Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=15.70613ms policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2023-11-18T11:36:54.5929237Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:54.593372872Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=448.903µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2023-11-18T11:36:54.598314277Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-11-18T11:36:54.599085642Z 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=770.735µs grafana | logger=migrator t=2023-11-18T11:36:54.602374108Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-18T11:36:54.602950361Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=575.082µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:54.606320093Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-18T11:36:54.606991741Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=670.218µs grafana | logger=migrator t=2023-11-18T11:36:54.613333486Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:54.614016546Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=682.22µs grafana | logger=migrator t=2023-11-18T11:36:54.616937046Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-18T11:36:54.622874753Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.937436ms grafana | logger=migrator t=2023-11-18T11:36:54.633192204Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:54.637509574Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.317701ms grafana | logger=migrator t=2023-11-18T11:36:54.643256037Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2023-11-18T11:36:54.647448179Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=4.196122ms grafana | logger=migrator t=2023-11-18T11:36:54.652493511Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:54.658229933Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=5.735842ms grafana | logger=migrator t=2023-11-18T11:36:54.66165065Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-18T11:36:54.662693134Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.044834ms 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) grafana | logger=migrator t=2023-11-18T11:36:54.665726092Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-18T11:36:54.665752104Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=26.722µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:54.677634748Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-18T11:36:54.677676381Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=46.233µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:54.681116599Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-18T11:36:54.682218138Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.104439ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:54.684972426Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-18T11:36:54.685918594Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=943.797µs grafana | logger=migrator t=2023-11-18T11:36:54.690368914Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-18T11:36:54.691060793Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=692.019µs policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2023-11-18T11:36:54.693666951Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-18T11:36:54.69435653Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=689.299µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:54.702733942Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-18T11:36:54.70422378Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.489568ms 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) grafana | logger=migrator t=2023-11-18T11:36:54.708915257Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-18T11:36:54.714358478Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.4451ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:54.716908631Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-18T11:36:54.719494457Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=2.585446ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:54.765118137Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-18T11:36:54.765371415Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=256.478µs policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2023-11-18T11:36:54.768933281Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-18T11:36:54.770385525Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.446543ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:54.775586209Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-18T11:36:54.776940296Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.354478ms grafana | logger=migrator t=2023-11-18T11:36:54.780580108Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-18T11:36:54.784984135Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.400437ms grafana | logger=migrator t=2023-11-18T11:36:54.788988092Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-18T11:36:54.789076768Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=87.886µs grafana | logger=migrator t=2023-11-18T11:36:54.793139081Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-18T11:36:54.79410042Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=961.879µs grafana | logger=migrator t=2023-11-18T11:36:54.796512413Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-18T11:36:54.797674836Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.162693ms grafana | logger=migrator t=2023-11-18T11:36:54.800607157Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-18T11:36:54.800699894Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=94.347µs grafana | logger=migrator t=2023-11-18T11:36:54.805830643Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-18T11:36:54.806854876Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.026194ms grafana | logger=migrator t=2023-11-18T11:36:54.811292365Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-18T11:36:54.812293737Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.002672ms grafana | logger=migrator t=2023-11-18T11:36:54.815302753Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-18T11:36:54.816268763Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=966.62µs grafana | logger=migrator t=2023-11-18T11:36:54.820644297Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-18T11:36:54.821795281Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.150693ms grafana | logger=migrator t=2023-11-18T11:36:54.825028993Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-18T11:36:54.826814041Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.783159ms grafana | logger=migrator t=2023-11-18T11:36:54.832694284Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-18T11:36:54.834483412Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.791648ms grafana | logger=migrator t=2023-11-18T11:36:54.837765578Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-18T11:36:54.837837634Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=74.067µs grafana | logger=migrator t=2023-11-18T11:36:54.841183574Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-18T11:36:54.84530676Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.124416ms grafana | logger=migrator t=2023-11-18T11:36:54.849783422Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-18T11:36:54.85059079Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=806.688µs grafana | logger=migrator t=2023-11-18T11:36:54.853357039Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-18T11:36:54.857265969Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.912541ms grafana | logger=migrator t=2023-11-18T11:36:54.859997416Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-18T11:36:54.860587869Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=590.243µs grafana | logger=migrator t=2023-11-18T11:36:54.86506099Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-18T11:36:54.865911202Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=849.852µs grafana | logger=migrator t=2023-11-18T11:36:54.868963221Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-18T11:36:54.870216221Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.253049ms grafana | logger=migrator t=2023-11-18T11:36:54.87341188Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-18T11:36:54.89106945Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=17.65866ms grafana | logger=migrator t=2023-11-18T11:36:54.895792169Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-18T11:36:54.89623412Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=440.391µs grafana | logger=migrator t=2023-11-18T11:36:54.898848128Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-11-18T11:36:54.89968966Z 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=842.401µs grafana | logger=migrator t=2023-11-18T11:36:54.903403576Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-18T11:36:54.903665755Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=262.289µs grafana | logger=migrator t=2023-11-18T11:36:54.909048992Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 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) grafana | logger=migrator t=2023-11-18T11:36:54.90986534Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=816.038µs grafana | logger=migrator t=2023-11-18T11:36:54.917611787Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-18T11:36:54.917888697Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=277.31µs grafana | logger=migrator t=2023-11-18T11:36:54.92307684Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-18T11:36:54.929863638Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.781327ms grafana | logger=migrator t=2023-11-18T11:36:54.935161549Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-18T11:36:54.941596772Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=6.434384ms grafana | logger=migrator t=2023-11-18T11:36:54.945385884Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-18T11:36:54.946329081Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=945.898µs grafana | logger=migrator t=2023-11-18T11:36:54.948709893Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-18T11:36:54.949637539Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=927.497µs grafana | logger=migrator t=2023-11-18T11:36:54.955872238Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:54.956101834Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=230.066µs grafana | logger=migrator t=2023-11-18T11:36:54.95896413Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-18T11:36:54.965046337Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.076886ms grafana | logger=migrator t=2023-11-18T11:36:54.969213036Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-18T11:36:54.970059417Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=845.311µs grafana | logger=migrator t=2023-11-18T11:36:54.975962392Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-18T11:36:54.97621449Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=252.378µs grafana | logger=migrator t=2023-11-18T11:36:54.980641797Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-18T11:36:54.981199338Z level=info msg="Migration successfully executed" id="Move region to single row" duration=557.671µs grafana | logger=migrator t=2023-11-18T11:36:54.984187743Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-18T11:36:54.985202726Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.016022ms grafana | logger=migrator t=2023-11-18T11:36:54.988864748Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-18T11:36:54.989698049Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=833.321µs grafana | logger=migrator t=2023-11-18T11:36:54.995604533Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-18T11:36:54.997128932Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.524499ms grafana | logger=migrator t=2023-11-18T11:36:55.000246656Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-18T11:36:55.002172615Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.925199ms grafana | logger=migrator t=2023-11-18T11:36:55.00730947Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-18T11:36:55.00811147Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=801.69µs grafana | logger=migrator t=2023-11-18T11:36:55.012059616Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-18T11:36:55.012886488Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=824.291µs grafana | logger=migrator t=2023-11-18T11:36:55.01731361Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-18T11:36:55.017378655Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=63.834µs grafana | logger=migrator t=2023-11-18T11:36:55.021272616Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-18T11:36:55.02199637Z level=info msg="Migration successfully executed" id="create test_data table" duration=723.343µs grafana | logger=migrator t=2023-11-18T11:36:55.027554316Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-18T11:36:55.02867964Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.126255ms grafana | logger=migrator t=2023-11-18T11:36:55.035834536Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-18T11:36:55.037263673Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.428928ms grafana | logger=migrator t=2023-11-18T11:36:55.040943978Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-18T11:36:55.042920096Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.975638ms grafana | logger=migrator t=2023-11-18T11:36:55.048827859Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-18T11:36:55.049177875Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=348.446µs grafana | logger=migrator t=2023-11-18T11:36:55.053957483Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-18T11:36:55.054498853Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=539.231µs grafana | logger=migrator t=2023-11-18T11:36:55.059362477Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-11-18T11:36:55.059468825Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=107.838µs grafana | logger=migrator t=2023-11-18T11:36:55.062409595Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.063518998Z level=info msg="Migration successfully executed" id="create team table" duration=1.108653ms grafana | logger=migrator t=2023-11-18T11:36:55.068644912Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-18T11:36:55.069604863Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=959.581µs grafana | logger=migrator t=2023-11-18T11:36:55.074208778Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-18T11:36:55.075542498Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.33266ms grafana | logger=migrator t=2023-11-18T11:36:55.081441389Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-18T11:36:55.086397761Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.957201ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.089182039Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-18T11:36:55.089358832Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=180.864µs grafana | logger=migrator t=2023-11-18T11:36:55.093407836Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-18T11:36:55.094280721Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=874.066µs grafana | logger=migrator t=2023-11-18T11:36:55.097866969Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-18T11:36:55.098523319Z level=info msg="Migration successfully executed" id="create team member table" duration=655.65µs grafana | logger=migrator t=2023-11-18T11:36:55.104195803Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2023-11-18T11:36:55.105683664Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.487681ms grafana | logger=migrator t=2023-11-18T11:36:55.14876719Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-18T11:36:55.150207627Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.439757ms grafana | logger=migrator t=2023-11-18T11:36:55.153567279Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.154887938Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.32046ms grafana | logger=migrator t=2023-11-18T11:36:55.160713864Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-18T11:36:55.168694922Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.980207ms grafana | logger=migrator t=2023-11-18T11:36:55.172650537Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-18T11:36:55.175868698Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.217481ms grafana | logger=migrator t=2023-11-18T11:36:55.179748389Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-18T11:36:55.184153438Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.404439ms grafana | logger=migrator t=2023-11-18T11:36:55.188804027Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-18T11:36:55.189640509Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=836.092µs grafana | logger=migrator t=2023-11-18T11:36:55.193625918Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-18T11:36:55.194490282Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=865.774µs grafana | logger=migrator t=2023-11-18T11:36:55.197622957Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-18T11:36:55.198588139Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=964.862µs grafana | logger=migrator t=2023-11-18T11:36:55.206002584Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-18T11:36:55.207718483Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.714609ms grafana | logger=migrator t=2023-11-18T11:36:55.212349649Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-18T11:36:55.213365416Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.016556ms grafana | logger=migrator t=2023-11-18T11:36:55.218317946Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-18T11:36:55.21930852Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=990.375µs grafana | logger=migrator t=2023-11-18T11:36:55.227469151Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-18T11:36:55.22919613Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.726559ms grafana | logger=migrator t=2023-11-18T11:36:55.234645648Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-18T11:36:55.235556736Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=910.888µs grafana | logger=migrator t=2023-11-18T11:36:55.239916863Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-18T11:36:55.24068744Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=769.138µs grafana | logger=migrator t=2023-11-18T11:36:55.247279814Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-18T11:36:55.247634191Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=354.976µs grafana | logger=migrator t=2023-11-18T11:36:55.251954544Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-18T11:36:55.253267542Z level=info msg="Migration successfully executed" id="create tag table" duration=1.312619ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-18T11:36:55.259806872Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-18T11:36:55.261431834Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.621682ms grafana | logger=migrator t=2023-11-18T11:36:55.265865005Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-18T11:36:55.266644404Z level=info msg="Migration successfully executed" id="create login attempt table" duration=779.249µs grafana | logger=migrator t=2023-11-18T11:36:55.269569353Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-11-18T11:36:55.270522734Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=953.071µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.275357186Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.276319648Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=962.412µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.279904336Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2023-11-18T11:36:55.300618827Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.713471ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.304482596Z level=info msg="Executing migration" id="create login_attempt v2" 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) grafana | logger=migrator t=2023-11-18T11:36:55.305031587Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=548.511µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.309370582Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.310301091Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=927.899µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.314103777Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2023-11-18T11:36:55.314447262Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=343.075µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.317315267Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 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) grafana | logger=migrator t=2023-11-18T11:36:55.318383146Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.066919ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.322817409Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.323853086Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.036207ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.328373755Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2023-11-18T11:36:55.329368019Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=995.865µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.333270921Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 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) grafana | logger=migrator t=2023-11-18T11:36:55.333413561Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=143.951µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.338411266Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.343446293Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.034247ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.346531634Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2023-11-18T11:36:55.351659258Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.126654ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.355784306Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 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) grafana | logger=migrator t=2023-11-18T11:36:55.361364184Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.581257ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.366616427Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.370730125Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.113158ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.377031557Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2023-11-18T11:36:55.378136349Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.108553ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.38428113Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 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) grafana | logger=migrator t=2023-11-18T11:36:55.389685275Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.403714ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.393757929Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.394495404Z level=info msg="Migration successfully executed" id="create server_lock table" duration=737.745µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.399707074Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2023-11-18T11:36:55.401294183Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.587329ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.4075241Z level=info msg="Executing migration" id="create user auth token table" 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) grafana | logger=migrator t=2023-11-18T11:36:55.408309768Z level=info msg="Migration successfully executed" id="create user auth token table" duration=787.199µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.412431317Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.414200769Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.769482ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.419272889Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2023-11-18T11:36:55.420281214Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.007435ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.461403433Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 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) grafana | logger=migrator t=2023-11-18T11:36:55.46310259Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.701708ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.469709574Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.475047674Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.33467ms grafana | logger=migrator t=2023-11-18T11:36:55.47900433Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.479947921Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=943.271µs policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2023-11-18T11:36:55.484766491Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.485512878Z level=info msg="Migration successfully executed" id="create cache_data table" duration=745.987µs 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) grafana | logger=migrator t=2023-11-18T11:36:55.493280798Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.494213699Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=932.461µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.535800392Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.537541352Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.74129ms policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.543703003Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-11-18T11:36:55.545549721Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.850169ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.552213981Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.552451619Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=237.667µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.55662034Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2023-11-18T11:36:55.556801634Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=189.595µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.561912596Z level=info msg="Executing migration" id="recreate alert_definition table" 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) grafana | logger=migrator t=2023-11-18T11:36:55.563249656Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.33735ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.570255631Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.571372694Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.120613ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.576028703Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2023-11-18T11:36:55.576991475Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=962.622µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.581752892Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 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) grafana | logger=migrator t=2023-11-18T11:36:55.581857179Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=105.368µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.587182048Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.588295721Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.114343ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.594455473Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-11-18T11:36:55.595935903Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.47693ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.600573551Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-11-18T11:36:55.601816913Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.244483ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.609059266Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.610314349Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.253483ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.614612312Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-11-18T11:36:55.623436122Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.822351ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.627397548Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-18T11:36:55.628248243Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=850.814µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.634450897Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.634529072Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=78.466µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.6407749Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2023-11-18T11:36:55.641549197Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=772.967µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.646353337Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 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) grafana | logger=migrator t=2023-11-18T11:36:55.647344461Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=990.874µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.653008125Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.6545323Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.523664ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.659379603Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2023-11-18T11:36:55.659502862Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=124.55µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.666122337Z level=info msg="Executing migration" id="drop alert_definition_version table" 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) grafana | logger=migrator t=2023-11-18T11:36:55.667433436Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.311049ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.672424759Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.673755939Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.334391ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.678224224Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2023-11-18T11:36:55.68045205Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=2.227037ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.686268325Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 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) grafana | logger=migrator t=2023-11-18T11:36:55.687432843Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.167578ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.692618861Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.699175042Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.55507ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.703406348Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2023-11-18T11:36:55.704433675Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.024997ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.709827129Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 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) grafana | logger=migrator t=2023-11-18T11:36:55.710743677Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=916.728µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.715899614Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.756426097Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=40.522233ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.761879945Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.800459933Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=38.582708ms 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) grafana | logger=migrator t=2023-11-18T11:36:55.803966266Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.804703151Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=736.676µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.808710751Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.809715036Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.003785ms policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2023-11-18T11:36:55.815420353Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.824637914Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.21435ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2023-11-18T11:36:55.828765332Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.829372227Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=606.935µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.835590434Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.837209644Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.618921ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2023-11-18T11:36:55.840867649Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.842422485Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.554075ms 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) grafana | logger=migrator t=2023-11-18T11:36:55.848196177Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.849322552Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.125564ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.853159538Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.853294559Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=136.41µs policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2023-11-18T11:36:55.859714289Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.869769362Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=10.056463ms 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) grafana | logger=migrator t=2023-11-18T11:36:55.905640147Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.915935787Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=10.29988ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.920190486Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.926678902Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.487515ms policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2023-11-18T11:36:55.930960613Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.932220226Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.259544ms 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) grafana | logger=migrator t=2023-11-18T11:36:55.938562611Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.940595373Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=2.030252ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.945122973Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.953434295Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.312543ms policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2023-11-18T11:36:55.957612787Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.964163418Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.549821ms 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)) grafana | logger=migrator t=2023-11-18T11:36:55.969641888Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.970662704Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.019686ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.974692736Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:55.984597908Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.903301ms policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2023-11-18T11:36:55.988731577Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.993336822Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.604986ms 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=2023-11-18T11:36:55.999268026Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:55.999343071Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=76.166µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.004502152Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.006341383Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.839351ms policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2023-11-18T11:36:56.011900913Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS 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=2023-11-18T11:36:56.013026843Z 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.12185ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.017935556Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.019087009Z 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.150752ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.025475888Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2023-11-18T11:36:56.025551663Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=76.506µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.030580215Z level=info msg="Executing migration" id="add column for to alert_rule_version" 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=2023-11-18T11:36:56.040286093Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.706439ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.045777898Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.052804832Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.026095ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.056477797Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2023-11-18T11:36:56.06126103Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=4.782523ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.064875921Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 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=2023-11-18T11:36:56.071712461Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.835211ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.076075196Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.083055687Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.979751ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.088235019Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2023-11-18T11:36:56.088314505Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=80.636µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.092302341Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-18T11:36:56.093089808Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=787.037µs grafana | logger=migrator t=2023-11-18T11:36:56.098426031Z level=info msg="Executing migration" id="Add column default in alert_configuration" 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=2023-11-18T11:36:56.107927295Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.500803ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.110548243Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.110598797Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=52.394µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.11691436Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2023-11-18T11:36:56.127351401Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.4362ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.13068736Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 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=2023-11-18T11:36:56.131449665Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=762.265µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.136193896Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.145960848Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.766992ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.148735277Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2023-11-18T11:36:56.149258476Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=522.198µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.151925557Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 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=2023-11-18T11:36:56.152638488Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=711.501µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.157495918Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.16392651Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.429631ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.166624634Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2023-11-18T11:36:56.167370847Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=745.654µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.171590691Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 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=2023-11-18T11:36:56.172620334Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=987.71µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.178880134Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.179714625Z level=info msg="Migration successfully executed" id="create alert_image table" duration=834.471µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.183860332Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2023-11-18T11:36:56.185570876Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.710133ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.188866042Z level=info msg="Executing migration" id="support longer URLs in alert_image 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=2023-11-18T11:36:56.18897095Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=105.788µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.193319572Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.194463885Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.143172ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.200090439Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2023-11-18T11:36:56.201801722Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.716122ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.206281464Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.206938551Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.210456604Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2023-11-18T11:36:56.211107471Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=651.138µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.214751883Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 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=2023-11-18T11:36:56.21651513Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.763268ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.220427811Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.229508963Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.078753ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.233480549Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2023-11-18T11:36:56.234303988Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=823.019µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.237570423Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 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=2023-11-18T11:36:56.238679183Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.10857ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.241925126Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.242748075Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=823.119µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.246993721Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2023-11-18T11:36:56.248201767Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.207476ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.251457461Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 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=2023-11-18T11:36:56.252446212Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=988.06µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.255527694Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.255553776Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=27.152µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.260194129Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2023-11-18T11:36:56.260263714Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=70.655µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.296081568Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 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=2023-11-18T11:36:56.296429173Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=350.605µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.300777476Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.301547221Z level=info msg="Migration successfully executed" id="create data_keys table" duration=770.215µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.306146662Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2023-11-18T11:36:56.307005644Z level=info msg="Migration successfully executed" id="create secrets table" duration=858.492µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.310477223Z level=info msg="Executing migration" id="rename data_keys name column to id" 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=2023-11-18T11:36:56.359874934Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=49.396881ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.370096458Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.381200216Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=11.097328ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.39169086Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2023-11-18T11:36:56.392211568Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=466.644µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.397871245Z level=info msg="Executing migration" id="rename data_keys name column to label" 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=2023-11-18T11:36:56.447386324Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=49.513119ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.451008474Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.49629658Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.286466ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.499997256Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2023-11-18T11:36:56.500637721Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=640.016µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.505250443Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 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=2023-11-18T11:36:56.506947955Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.697171ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.511026718Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.511490262Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=456.323µs policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.517506494Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2023-11-18T11:36:56.518358825Z level=info msg="Migration successfully executed" id="create permission table" duration=848.61µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.524760456Z level=info msg="Executing migration" id="add unique index permission.role_id" 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=2023-11-18T11:36:56.526480269Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.720413ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.530648819Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.532657422Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=2.007093ms policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2023-11-18T11:36:56.537391073Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.538260095Z level=info msg="Migration successfully executed" id="create role table" duration=868.492µs 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=2023-11-18T11:36:56.542765799Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.5501487Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.381961ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.554355172Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.561679659Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.323717ms policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2023-11-18T11:36:56.565076073Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.566121628Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.045415ms 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=2023-11-18T11:36:56.570310049Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.571419019Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.10996ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.574883388Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.576003579Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.11916ms policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2023-11-18T11:36:56.579403613Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.580187579Z level=info msg="Migration successfully executed" id="create team role table" duration=783.166µs 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=2023-11-18T11:36:56.583574693Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.58465386Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.078257ms policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.588895186Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.590095061Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.199706ms policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2023-11-18T11:36:56.593666088Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.594724315Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.058046ms grafana | logger=migrator t=2023-11-18T11:36:56.598859191Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-18T11:36:56.59968645Z level=info msg="Migration successfully executed" id="create user role table" duration=829.679µs grafana | logger=migrator t=2023-11-18T11:36:56.603017031Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-18T11:36:56.60412514Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.10754ms grafana | logger=migrator t=2023-11-18T11:36:56.607384784Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-18T11:36:56.608503625Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.118581ms grafana | logger=migrator t=2023-11-18T11:36:56.611788761Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-18T11:36:56.61289629Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.107719ms grafana | logger=migrator t=2023-11-18T11:36:56.61832234Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-18T11:36:56.619186082Z level=info msg="Migration successfully executed" id="create builtin role table" duration=863.172µs grafana | logger=migrator t=2023-11-18T11:36:56.62248372Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-18T11:36:56.624204823Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.720563ms grafana | logger=migrator t=2023-11-18T11:36:56.62778258Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-18T11:36:56.629520935Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.741096ms grafana | logger=migrator t=2023-11-18T11:36:56.634056542Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-18T11:36:56.641745734Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.688562ms grafana | logger=migrator t=2023-11-18T11:36:56.678069484Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-18T11:36:56.679851793Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.786029ms grafana | logger=migrator t=2023-11-18T11:36:56.683781905Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-18T11:36:56.685262652Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.480597ms grafana | logger=migrator t=2023-11-18T11:36:56.689535788Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-18T11:36:56.690609226Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.073338ms grafana | logger=migrator t=2023-11-18T11:36:56.694168822Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-18T11:36:56.695272552Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.10362ms grafana | logger=migrator t=2023-11-18T11:36:56.698742151Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-18T11:36:56.699540558Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=795.367µs grafana | logger=migrator t=2023-11-18T11:36:56.703888311Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-18T11:36:56.705675899Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.786888ms grafana | logger=migrator t=2023-11-18T11:36:56.709521126Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-18T11:36:56.718525863Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.003647ms grafana | logger=migrator t=2023-11-18T11:36:56.722138832Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-18T11:36:56.730116946Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.977724ms grafana | logger=migrator t=2023-11-18T11:36:56.734311377Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:36:56.740087953Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.776776ms grafana | logger=migrator t=2023-11-18T11:36:56.743573503Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-18T11:36:56.751385825Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.812032ms grafana | logger=migrator t=2023-11-18T11:36:56.754880006Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-18T11:36:56.756083912Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.203696ms grafana | logger=migrator t=2023-11-18T11:36:56.76035862Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-18T11:36:56.761796133Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.436422ms grafana | logger=migrator t=2023-11-18T11:36:56.765588686Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-18T11:36:56.767670745Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=2.081818ms grafana | logger=migrator t=2023-11-18T11:36:56.77135835Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-18T11:36:56.771529903Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=170.953µs grafana | logger=migrator t=2023-11-18T11:36:56.775735865Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-18T11:36:56.775865084Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=129.73µs grafana | logger=migrator t=2023-11-18T11:36:56.779240067Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-18T11:36:56.780160773Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=920.346µs grafana | logger=migrator t=2023-11-18T11:36:56.784238196Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-18T11:36:56.785450973Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.214458ms grafana | logger=migrator t=2023-11-18T11:36:56.789398647Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-18T11:36:56.790616805Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.221329ms grafana | logger=migrator t=2023-11-18T11:36:56.795237256Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-18T11:36:56.795539668Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=302.042µs grafana | logger=migrator t=2023-11-18T11:36:56.798740948Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-18T11:36:56.799184661Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=441.492µs grafana | logger=migrator t=2023-11-18T11:36:56.802686352Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-18T11:36:56.804002196Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.314374ms grafana | logger=migrator t=2023-11-18T11:36:56.808587016Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-18T11:36:56.810413118Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.823201ms grafana | logger=migrator t=2023-11-18T11:36:56.813997895Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-18T11:36:56.821974319Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.975983ms grafana | logger=migrator t=2023-11-18T11:36:56.825226222Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-18T11:36:56.825376853Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=150.111µs grafana | logger=migrator t=2023-11-18T11:36:56.82868239Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-18T11:36:56.829629028Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=946.038µs grafana | logger=migrator t=2023-11-18T11:36:56.833841091Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-18T11:36:56.835044977Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.203386ms grafana | logger=migrator t=2023-11-18T11:36:56.840342748Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-18T11:36:56.842112976Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.770368ms grafana | logger=migrator t=2023-11-18T11:36:56.845591766Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-18T11:36:56.855008083Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.417118ms grafana | logger=migrator t=2023-11-18T11:36:56.859586342Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-18T11:36:56.860696852Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.109531ms grafana | logger=migrator t=2023-11-18T11:36:56.864217055Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-18T11:36:56.865323374Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.105689ms grafana | logger=migrator t=2023-11-18T11:36:56.869824238Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-18T11:36:56.901748872Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.926035ms grafana | logger=migrator t=2023-11-18T11:36:56.905678265Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-18T11:36:56.906408637Z level=info msg="Migration successfully executed" id="create correlation v2" duration=729.892µs grafana | logger=migrator t=2023-11-18T11:36:56.909858805Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-18T11:36:56.911290729Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.431623ms grafana | logger=migrator t=2023-11-18T11:36:56.915675933Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-18T11:36:56.917045332Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.369459ms grafana | logger=migrator t=2023-11-18T11:36:56.920548204Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-18T11:36:56.921657253Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.10892ms grafana | logger=migrator t=2023-11-18T11:36:56.925560634Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-18T11:36:56.925874597Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=313.732µs grafana | logger=migrator t=2023-11-18T11:36:56.930346607Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-18T11:36:56.931187939Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=840.481µs grafana | logger=migrator t=2023-11-18T11:36:56.934636246Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-18T11:36:56.946577754Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.940528ms grafana | logger=migrator t=2023-11-18T11:36:56.949845889Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-18T11:36:56.950440022Z level=info msg="Migration successfully executed" id="create entity_events table" duration=593.773µs grafana | logger=migrator t=2023-11-18T11:36:56.954493133Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-18T11:36:56.955440961Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=946.638µs grafana | logger=migrator t=2023-11-18T11:36:56.958528154Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-18T11:36:56.959049021Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-18T11:36:56.96209187Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-18T11:36:56.962599836Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-18T11:36:56.966726832Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-18T11:36:56.967582254Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=854.972µs grafana | logger=migrator t=2023-11-18T11:36:56.970787355Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-18T11:36:56.97183533Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.048145ms grafana | logger=migrator t=2023-11-18T11:36:56.977239578Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-18T11:36:56.979100802Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.861454ms grafana | logger=migrator t=2023-11-18T11:36:56.982560441Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-18T11:36:56.983743556Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.180515ms grafana | logger=migrator t=2023-11-18T11:36:56.986907384Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-18T11:36:56.988153213Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.24514ms grafana | logger=migrator t=2023-11-18T11:36:56.992175882Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-18T11:36:56.993334285Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.158093ms grafana | logger=migrator t=2023-11-18T11:36:56.996417027Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-18T11:36:56.997312991Z level=info msg="Migration successfully executed" id="Drop public config table" duration=892.613µs grafana | logger=migrator t=2023-11-18T11:36:57.000397262Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-18T11:36:57.001452459Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.054447ms grafana | logger=migrator t=2023-11-18T11:36:57.005551764Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-18T11:36:57.006692047Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.140002ms grafana | logger=migrator t=2023-11-18T11:36:57.010129724Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-18T11:36:57.012834869Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.702754ms grafana | logger=migrator t=2023-11-18T11:36:57.017052012Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-18T11:36:57.018513607Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.461235ms grafana | logger=migrator t=2023-11-18T11:36:57.021848257Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-18T11:36:57.050519741Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=28.671584ms grafana | logger=migrator t=2023-11-18T11:36:57.057495704Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-18T11:36:57.066779022Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=9.285718ms grafana | logger=migrator t=2023-11-18T11:36:57.070804583Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-18T11:36:57.076956655Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.151313ms grafana | logger=migrator t=2023-11-18T11:36:57.080136694Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-18T11:36:57.080454567Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=317.623µs grafana | logger=migrator t=2023-11-18T11:36:57.083400339Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-18T11:36:57.09175373Z level=info msg="Migration successfully executed" id="add share column" duration=8.352731ms grafana | logger=migrator t=2023-11-18T11:36:57.0949412Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-18T11:36:57.09522338Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=300.142µs grafana | logger=migrator t=2023-11-18T11:36:57.099063707Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-18T11:36:57.099990423Z level=info msg="Migration successfully executed" id="create file table" duration=926.336µs grafana | logger=migrator t=2023-11-18T11:36:57.103246178Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-18T11:36:57.104418813Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.167444ms grafana | logger=migrator t=2023-11-18T11:36:57.107497944Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-18T11:36:57.108639566Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.141582ms grafana | logger=migrator t=2023-11-18T11:36:57.113218696Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-18T11:36:57.113993042Z level=info msg="Migration successfully executed" id="create file_meta table" duration=774.335µs grafana | logger=migrator t=2023-11-18T11:36:57.117232175Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-18T11:36:57.118530579Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.298034ms grafana | logger=migrator t=2023-11-18T11:36:57.123013371Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-18T11:36:57.123185473Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=171.722µs grafana | logger=migrator t=2023-11-18T11:36:57.127225375Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-18T11:36:57.127375425Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=149.611µs grafana | logger=migrator t=2023-11-18T11:36:57.130715146Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-18T11:36:57.131484461Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=769.925µs grafana | logger=migrator t=2023-11-18T11:36:57.134629997Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-18T11:36:57.134974352Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=343.894µs grafana | logger=migrator t=2023-11-18T11:36:57.138165242Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-18T11:36:57.139027274Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=861.832µs grafana | logger=migrator t=2023-11-18T11:36:57.142759842Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-18T11:36:57.151898351Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.135679ms grafana | logger=migrator t=2023-11-18T11:36:57.15521387Z level=info msg="Executing migration" id="Update uid column values in playlist" 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 | -------------- grafana | logger=migrator t=2023-11-18T11:36:57.15549779Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=283.391µs grafana | logger=migrator t=2023-11-18T11:36:57.158640756Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-18T11:36:57.159889876Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.246639ms grafana | logger=migrator t=2023-11-18T11:36:57.16326697Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-18T11:36:57.163769796Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=503.226µs grafana | logger=migrator t=2023-11-18T11:36:57.167660445Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-18T11:36:57.16799879Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=337.894µs grafana | logger=migrator t=2023-11-18T11:36:57.171024487Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-18T11:36:57.171962285Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=937.578µs grafana | logger=migrator t=2023-11-18T11:36:57.175565095Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-18T11:36:57.186519473Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.955009ms grafana | logger=migrator t=2023-11-18T11:36:57.190711385Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-18T11:36:57.19758045Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.867946ms grafana | logger=migrator t=2023-11-18T11:36:57.200816833Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-18T11:36:57.201977176Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.160154ms grafana | logger=migrator t=2023-11-18T11:36:57.205173987Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-18T11:36:57.311993597Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=106.809489ms grafana | logger=migrator t=2023-11-18T11:36:57.316889329Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-18T11:36:57.317985248Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.095229ms grafana | logger=migrator t=2023-11-18T11:36:57.321183569Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-18T11:36:57.322084673Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=903.125µs grafana | logger=migrator t=2023-11-18T11:36:57.32523735Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-18T11:36:57.355694383Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=30.456603ms grafana | logger=migrator t=2023-11-18T11:36:57.3603743Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-18T11:36:57.360617808Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=242.948µs grafana | logger=migrator t=2023-11-18T11:36:57.363770985Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-18T11:36:57.364134151Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=362.596µs grafana | logger=migrator t=2023-11-18T11:36:57.367517694Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-11-18T11:36:57.367852269Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=334.285µs grafana | logger=migrator t=2023-11-18T11:36:57.371952064Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-18T11:36:57.373482454Z level=info msg="Migration successfully executed" id="create folder table" duration=1.530091ms grafana | logger=migrator t=2023-11-18T11:36:57.377114906Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-18T11:36:57.378600442Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.486167ms grafana | logger=migrator t=2023-11-18T11:36:57.383025381Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-18T11:36:57.384346737Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.320654ms grafana | logger=migrator t=2023-11-18T11:36:57.388603853Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-18T11:36:57.388675268Z level=info msg="Migration successfully executed" id="Update folder title length" duration=72.206µs grafana | logger=migrator t=2023-11-18T11:36:57.39204521Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-18T11:36:57.393369596Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.321226ms grafana | logger=migrator t=2023-11-18T11:36:57.396814654Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-18T11:36:57.397991378Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.173804ms grafana | logger=migrator t=2023-11-18T11:36:57.402927534Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-18T11:36:57.405432224Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.50334ms grafana | logger=migrator t=2023-11-18T11:36:57.409379378Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-18T11:36:57.411060349Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.679971ms grafana | logger=migrator t=2023-11-18T11:36:57.442632302Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-18T11:36:57.444736174Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.100791ms grafana | logger=migrator t=2023-11-18T11:36:57.449408781Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-18T11:36:57.450597276Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.188356ms grafana | logger=migrator t=2023-11-18T11:36:57.455683532Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-18T11:36:57.457036979Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.351587ms grafana | logger=migrator t=2023-11-18T11:36:57.461526763Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-18T11:36:57.46356287Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.035077ms grafana | logger=migrator t=2023-11-18T11:36:57.469551451Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-18T11:36:57.470836743Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.288323ms grafana | logger=migrator t=2023-11-18T11:36:57.474995773Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-18T11:36:57.475388201Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=392.998µs grafana | logger=migrator t=2023-11-18T11:36:57.478497525Z level=info msg="migrations completed" performed=517 skipped=0 duration=3.919645045s grafana | logger=sqlstore t=2023-11-18T11:36:57.488185023Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-18T11:36:57.488582461Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-18T11:36:57.492934884Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-18T11:36:57.556879868Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-18T11:36:57.559834Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-18T11:36:57.563824038Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-18T11:36:59.734994765Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-18T11:36:59.737145469Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-18T11:36:59.74992871Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-18T11:36:59.749954382Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-11-18T11:36:59.751082033Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2023-11-18T11:36:59.751572778Z level=info msg="Storage starting" grafana | logger=http.server t=2023-11-18T11:36:59.75326305Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.migration t=2023-11-18T11:36:59.756665245Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-18T11:36:59.757579951Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-18T11:36:59.757948508Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-18T11:36:59.758578443Z level=info msg="Alerts found to migrate" alerts=0 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 | grafana | logger=ngalert.migration orgID=1 t=2023-11-18T11:36:59.75910167Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-18T11:36:59.762231905Z level=info msg="Completed legacy migration" grafana | logger=grafana.update.checker t=2023-11-18T11:36:59.775982646Z level=info msg="Update check succeeded" duration=25.757374ms grafana | logger=ngalert.state.manager t=2023-11-18T11:36:59.827972649Z level=info msg="State cache has been initialized" states=0 duration=76.887666ms grafana | logger=ngalert.scheduler t=2023-11-18T11:36:59.828028123Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ngalert.multiorg.alertmanager t=2023-11-18T11:36:59.828039914Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ticker t=2023-11-18T11:36:59.828110619Z level=info msg=starting first_tick=2023-11-18T11:37:00Z grafana | logger=plugins.update.checker t=2023-11-18T11:36:59.831822196Z level=info msg="Update check succeeded" duration=81.264581ms grafana | logger=sqlstore.transactions t=2023-11-18T11:36:59.840941962Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-18T11:36:59.852366745Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=infra.usagestats t=2023-11-18T11:37:42.762915573Z level=info msg="Usage stats are ready to report" 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 1811231137000800u 1 2023-11-18 11:37:00 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:00 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:00 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:00 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:00 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:00 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:01 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:02 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:03 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:04 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:04 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:04 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:04 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:04 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:04 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:04 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:04 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:04 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:04 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:04 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1811231137000800u 1 2023-11-18 11:37:04 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:04 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:04 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:04 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:04 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:04 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:05 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:05 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:05 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:05 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:05 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:05 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:05 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1811231137000900u 1 2023-11-18 11:37:05 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1811231137001000u 1 2023-11-18 11:37:05 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1811231137001000u 1 2023-11-18 11:37:05 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1811231137001000u 1 2023-11-18 11:37:05 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1811231137001000u 1 2023-11-18 11:37:05 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1811231137001000u 1 2023-11-18 11:37:05 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1811231137001000u 1 2023-11-18 11:37:05 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1811231137001000u 1 2023-11-18 11:37:05 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1811231137001000u 1 2023-11-18 11:37:05 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1811231137001000u 1 2023-11-18 11:37:05 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1811231137001100u 1 2023-11-18 11:37:05 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1811231137001200u 1 2023-11-18 11:37:05 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1811231137001200u 1 2023-11-18 11:37:05 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1811231137001200u 1 2023-11-18 11:37:05 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1811231137001200u 1 2023-11-18 11:37:06 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.l0qar0MTjg ]] + rsync -av /tmp/tmp.l0qar0MTjg/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,346,787 bytes received 95 bytes 2,693,764.00 bytes/sec total size is 1,346,141 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 2073 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5138430188144280005.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16193088808562058417.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/jenkins2784862509311112310.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-vAQW from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-vAQW/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14409397699358374351.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config10648508083306929295tmp 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/jenkins11698621595888953598.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16402196946202495406.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-vAQW from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-vAQW/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3596467397762344754.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9293277924473483067.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-vAQW from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. virtualenv 20.24.6 requires platformdirs<4,>=3.9.1, but you have platformdirs 4.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-vAQW/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/jenkins8581499258558800007.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-vAQW from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-vAQW/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/183 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-1162 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 817 27436 0 3912 30893 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 fq_codel state UP group default qlen 1000 link/ether fa:16:3e:d2:3a:46 brd ff:ff:ff:ff:ff:ff inet 10.30.106.71/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86058sec preferred_lft 86058sec inet6 fe80::f816:3eff:fed2:3a46/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:b9:58:8d:0c 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-1162) 11/18/23 _x86_64_ (8 CPU) 11:33:58 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 137.66 74.50 63.16 5328.31 58405.47 11:36:01 122.43 26.89 95.53 2078.77 32143.15 11:37:01 385.12 23.50 361.62 2424.43 87026.40 11:38:01 73.24 0.63 72.60 30.00 21707.05 11:39:01 46.33 0.93 45.39 61.99 22287.64 Average: 152.95 25.29 127.66 1984.70 44313.53 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30363528 31732904 2575692 7.82 52296 1637920 1453992 4.28 821080 1492656 76116 11:36:01 29922800 31725272 3016420 9.16 79288 2023924 1431848 4.21 860076 1853364 175640 11:37:01 27933604 31497856 5005616 15.20 123260 3669968 3275672 9.64 1219028 3349544 1780 11:38:01 26570092 30169592 6369128 19.34 125928 3671868 4964280 14.61 2582128 3346236 252 11:39:01 28088636 31610600 4850584 14.73 126796 3632180 1503708 4.42 1169752 3264292 3756 Average: 28575732 31347245 4363488 13.25 101514 2927172 2525900 7.43 1330413 2661218 51509 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 lo 1.73 1.73 0.17 0.17 0.00 0.00 0.00 0.00 11:35:01 ens3 384.32 254.84 958.37 58.68 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 lo 1.27 1.27 0.13 0.13 0.00 0.00 0.00 0.00 11:36:01 ens3 90.82 57.73 1325.26 9.69 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:37:01 lo 9.00 9.00 0.83 0.83 0.00 0.00 0.00 0.00 11:37:01 veth688b7dd 0.00 0.27 0.00 0.02 0.00 0.00 0.00 0.00 11:37:01 ens3 276.04 174.40 8722.51 14.92 0.00 0.00 0.00 0.00 11:37:01 veth7157fc0 0.22 0.30 0.01 0.02 0.00 0.00 0.00 0.00 11:38:01 lo 9.42 9.42 8.24 8.24 0.00 0.00 0.00 0.00 11:38:01 veth688b7dd 0.18 0.23 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 ens3 6.53 5.20 1.22 1.38 0.00 0.00 0.00 0.00 11:38:01 veth7157fc0 114.76 94.38 46.66 119.05 0.00 0.00 0.00 0.01 11:39:01 lo 9.00 9.00 0.73 0.73 0.00 0.00 0.00 0.00 11:39:01 ens3 45.39 39.88 68.54 21.60 0.00 0.00 0.00 0.00 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 6.08 6.08 2.02 2.02 0.00 0.00 0.00 0.00 Average: ens3 160.62 106.41 2215.15 21.25 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-1162) 11/18/23 _x86_64_ (8 CPU) 11:33:58 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 7.40 0.00 1.00 3.81 0.03 87.77 11:35:01 0 9.59 0.00 0.85 0.83 0.02 88.71 11:35:01 1 3.09 0.00 0.65 0.25 0.03 95.98 11:35:01 2 4.47 0.00 1.54 0.27 0.03 93.69 11:35:01 3 5.29 0.00 0.84 4.93 0.03 88.91 11:35:01 4 2.51 0.00 1.00 18.79 0.03 77.66 11:35:01 5 10.15 0.00 0.95 3.86 0.03 85.00 11:35:01 6 17.20 0.00 1.40 0.90 0.05 80.44 11:35:01 7 6.83 0.00 0.77 0.68 0.03 91.69 11:36:01 all 10.34 0.00 0.79 2.50 0.03 86.33 11:36:01 0 10.48 0.00 0.82 0.30 0.02 88.39 11:36:01 1 0.12 0.00 0.27 2.44 0.05 97.13 11:36:01 2 5.96 0.00 0.80 0.60 0.02 92.62 11:36:01 3 1.15 0.00 0.33 0.13 0.02 98.36 11:36:01 4 0.62 0.00 0.33 12.29 0.02 86.74 11:36:01 5 16.57 0.00 1.10 1.19 0.03 81.11 11:36:01 6 24.90 0.00 1.45 1.87 0.03 71.75 11:36:01 7 22.96 0.00 1.23 1.15 0.03 74.62 11:37:01 all 10.33 0.00 3.17 4.86 0.08 81.57 11:37:01 0 12.77 0.00 3.13 2.03 0.07 81.99 11:37:01 1 7.41 0.00 3.36 24.56 0.22 64.46 11:37:01 2 12.51 0.00 2.94 0.57 0.08 83.89 11:37:01 3 6.64 0.00 3.03 1.13 0.07 89.13 11:37:01 4 7.02 0.00 2.78 2.38 0.05 87.77 11:37:01 5 6.26 0.00 2.84 1.19 0.05 89.66 11:37:01 6 7.37 0.00 3.33 3.16 0.05 86.09 11:37:01 7 22.60 0.00 3.92 3.94 0.08 69.45 11:38:01 all 15.18 0.00 1.64 1.29 0.05 81.84 11:38:01 0 13.10 0.00 2.51 1.20 0.03 83.15 11:38:01 1 13.91 0.00 1.44 7.46 0.07 77.13 11:38:01 2 12.95 0.00 1.09 0.00 0.05 85.91 11:38:01 3 17.01 0.00 1.64 0.12 0.03 81.20 11:38:01 4 17.16 0.00 1.74 0.15 0.05 80.89 11:38:01 5 21.18 0.00 2.09 0.87 0.05 75.81 11:38:01 6 11.27 0.00 1.25 0.32 0.05 87.11 11:38:01 7 14.87 0.00 1.37 0.25 0.03 83.48 11:39:01 all 2.71 0.00 0.43 2.23 0.02 94.61 11:39:01 0 0.68 0.00 0.38 1.30 0.02 97.62 11:39:01 1 1.29 0.00 0.28 11.92 0.03 86.47 11:39:01 2 0.92 0.00 0.35 1.94 0.02 96.78 11:39:01 3 8.45 0.00 0.59 0.72 0.02 90.23 11:39:01 4 3.39 0.00 0.53 1.03 0.05 95.00 11:39:01 5 3.59 0.00 0.45 0.23 0.02 95.71 11:39:01 6 1.30 0.00 0.42 0.10 0.02 98.16 11:39:01 7 2.09 0.00 0.38 0.60 0.03 96.89 Average: all 9.19 0.00 1.40 2.93 0.04 86.43 Average: 0 9.32 0.00 1.54 1.13 0.03 87.98 Average: 1 5.16 0.00 1.20 9.29 0.08 84.28 Average: 2 7.35 0.00 1.34 0.68 0.04 90.59 Average: 3 7.71 0.00 1.28 1.40 0.03 89.57 Average: 4 6.13 0.00 1.28 6.93 0.04 85.62 Average: 5 11.55 0.00 1.48 1.47 0.04 85.47 Average: 6 12.41 0.00 1.57 1.27 0.04 84.71 Average: 7 13.86 0.00 1.53 1.32 0.04 83.25