Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-8249 (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-fO5xNxzTTCRh/agent.2082 SSH_AGENT_PID=2083 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_6081542658667930264.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_6081542658667930264.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/jenkins526292497073888843.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-6O8A 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-6O8A/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-6O8A/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.10 botocore==1.34.10 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.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 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.12.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.4 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==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.16.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 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/jenkins5837544417360101116.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/jenkins1563849460759562457.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.FE0a9fjwtd ++ echo ROBOT_VENV=/tmp/tmp.FE0a9fjwtd +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.FE0a9fjwtd ++ source /tmp/tmp.FE0a9fjwtd/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.FE0a9fjwtd +++ 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.FE0a9fjwtd/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.FE0a9fjwtd) ' '!=' x ']' +++ PS1='(tmp.FE0a9fjwtd) ' +++ 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.9.1 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.4 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.FE0a9fjwtd/src/onap ++ rm -rf /tmp/tmp.FE0a9fjwtd/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.9.1 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.4 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.FE0a9fjwtd/bin/activate + '[' -z /tmp/tmp.FE0a9fjwtd/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.FE0a9fjwtd/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.FE0a9fjwtd ++ 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.FE0a9fjwtd/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.FE0a9fjwtd) ' ++ '[' 'x(tmp.FE0a9fjwtd) ' '!=' x ']' ++ PS1='(tmp.FE0a9fjwtd) (tmp.FE0a9fjwtd) ' ++ 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.kTrxS7jI3A + cd /tmp/tmp.kTrxS7jI3A + 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:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 12 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:35:55 up 3 min, 0 users, load average: 2.16, 0.95, 0.38 Tasks: 177 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.2 us, 2.1 sy, 0.0 ni, 83.2 id, 3.4 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS ab987e881df2 grafana 0.03% 52MiB / 31.41GiB 0.16% 18.3kB / 3.16kB 0B / 23.7MB 13 6ddc6827ceee policy-api 0.10% 915.2MiB / 31.41GiB 2.84% 1.04MB / 739kB 0B / 0B 50 27b7719269cd mariadb 0.01% 100.6MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 10.9MB / 63.4MB 26 fd2757ae5861 prometheus 0.29% 18.93MiB / 31.41GiB 0.06% 920B / 158B 127kB / 0B 13 + echo + cd /tmp/tmp.kTrxS7jI3A + 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.kTrxS7jI3A/output.xml Log: /tmp/tmp.kTrxS7jI3A/log.html Report: /tmp/tmp.kTrxS7jI3A/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:06 up 4 min, 0 users, load average: 0.89, 0.83, 0.38 Tasks: 175 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.5 us, 1.7 sy, 0.0 ni, 86.0 id, 2.8 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS ab987e881df2 grafana 0.02% 58.27MiB / 31.41GiB 0.18% 19.5kB / 4.54kB 0B / 23.7MB 13 6ddc6827ceee policy-api 0.12% 931.2MiB / 31.41GiB 2.89% 7.32MB / 2.87MB 0B / 0B 52 27b7719269cd mariadb 0.01% 101.4MiB / 31.41GiB 0.32% 2.75MB / 7.35MB 10.9MB / 63.5MB 18 fd2757ae5861 prometheus 0.00% 24.46MiB / 31.41GiB 0.08% 37.5kB / 7.1kB 127kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2023-12-29T11:35:29.617142328Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2023-12-29T11:35:29.617439193Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-29T11:35:29.617455894Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-29T11:35:29.617460095Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-29T11:35:29.617463435Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-29T11:35:29.617471046Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-29T11:35:29.617474456Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-29T11:35:29.617477086Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-29T11:35:29.617480596Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-29T11:35:29.617505848Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-29T11:35:29.6175276Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-29T11:35:29.617531371Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-29T11:35:29.617534741Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-29T11:35:29.617540981Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-29T11:35:29.617547082Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-29T11:35:29.617550502Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-29T11:35:29.617553863Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-29T11:35:29.617557853Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-29T11:35:29.617561353Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-29T11:35:29.617948436Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-29T11:35:29.617969498Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-29T11:35:29.618683448Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-29T11:35:29.619867858Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-29T11:35:29.620736441Z level=info msg="Migration successfully executed" id="create migration_log table" duration=867.793µs grafana | logger=migrator t=2023-12-29T11:35:29.66709807Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-29T11:35:29.668440013Z level=info msg="Migration successfully executed" id="create user table" duration=1.342754ms grafana | logger=migrator t=2023-12-29T11:35:29.674303949Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-29T11:35:29.675303963Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.001715ms grafana | logger=migrator t=2023-12-29T11:35:29.678839912Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-29T11:35:29.679569114Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=729.191µs grafana | logger=migrator t=2023-12-29T11:35:29.682612351Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-29T11:35:29.683337102Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=724.961µs grafana | logger=migrator t=2023-12-29T11:35:29.688512309Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-29T11:35:29.689187416Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=675.367µs grafana | logger=migrator t=2023-12-29T11:35:29.692710034Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-29T11:35:29.697089854Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.38127ms grafana | logger=migrator t=2023-12-29T11:35:29.701675372Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-29T11:35:29.702451247Z level=info msg="Migration successfully executed" id="create user table v2" duration=775.505µs grafana | logger=migrator t=2023-12-29T11:35:29.735267221Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-29T11:35:29.736519517Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.251936ms grafana | logger=migrator t=2023-12-29T11:35:29.74105284Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-29T11:35:29.742245991Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.187221ms grafana | logger=migrator t=2023-12-29T11:35:29.747408947Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-29T11:35:29.747937852Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=527.924µs grafana | logger=migrator t=2023-12-29T11:35:29.805117494Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-29T11:35:29.806035442Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=915.317µs grafana | logger=migrator t=2023-12-29T11:35:29.811980844Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-29T11:35:29.813750164Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.768859ms grafana | logger=migrator t=2023-12-29T11:35:29.818825662Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-29T11:35:29.818851615Z level=info msg="Migration successfully executed" id="Update user table charset" duration=27.063µs grafana | logger=migrator t=2023-12-29T11:35:29.823352855Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-29T11:35:29.824920388Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.565672ms grafana | logger=migrator t=2023-12-29T11:35:29.831077108Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-29T11:35:29.831550248Z level=info msg="Migration successfully executed" id="Add missing user data" duration=477.641µs grafana | logger=migrator t=2023-12-29T11:35:29.836236824Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-29T11:35:29.837399352Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.157278ms grafana | logger=migrator t=2023-12-29T11:35:29.842181776Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-29T11:35:29.843544281Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.362185ms grafana | logger=migrator t=2023-12-29T11:35:29.848532733Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-29T11:35:29.850532052Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.998869ms grafana | logger=migrator t=2023-12-29T11:35:29.88966988Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-29T11:35:29.903548953Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=13.879643ms grafana | logger=migrator t=2023-12-29T11:35:29.919987042Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-29T11:35:29.921213686Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.223604ms grafana | logger=migrator t=2023-12-29T11:35:29.926751374Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-29T11:35:29.928020201Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.269027ms grafana | logger=migrator t=2023-12-29T11:35:29.935017942Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-29T11:35:29.936322132Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.3043ms grafana | logger=migrator t=2023-12-29T11:35:29.940598294Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-29T11:35:29.941875202Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.277768ms grafana | logger=migrator t=2023-12-29T11:35:29.94682581Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-29T11:35:29.947606536Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=778.666µs grafana | logger=migrator t=2023-12-29T11:35:29.954075193Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-29T11:35:29.954118736Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=45.394µs grafana | logger=migrator t=2023-12-29T11:35:29.959554726Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-29T11:35:29.960728185Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.173449ms grafana | logger=migrator t=2023-12-29T11:35:29.964707221Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-29T11:35:29.965796993Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.090092ms grafana | logger=migrator t=2023-12-29T11:35:29.970667415Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-29T11:35:29.971750837Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.077531ms grafana | logger=migrator t=2023-12-29T11:35:29.978641139Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-29T11:35:29.980304509Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.669801ms grafana | logger=migrator t=2023-12-29T11:35:29.987573774Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-29T11:35:29.991472473Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.897939ms grafana | logger=migrator t=2023-12-29T11:35:29.995044045Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-29T11:35:29.995884966Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=840.961µs grafana | logger=migrator t=2023-12-29T11:35:30.000444611Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-29T11:35:30.001679946Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.234025ms grafana | logger=migrator t=2023-12-29T11:35:30.008415283Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-29T11:35:30.009849299Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.434957ms grafana | logger=migrator t=2023-12-29T11:35:30.013287988Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-29T11:35:30.014159243Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=871.096µs grafana | logger=migrator t=2023-12-29T11:35:30.018729058Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-29T11:35:30.019608974Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=874.325µs grafana | logger=migrator t=2023-12-29T11:35:30.025745534Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-29T11:35:30.026286411Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=540.967µs grafana | logger=migrator t=2023-12-29T11:35:30.029671333Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-29T11:35:30.030340911Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=669.128µs grafana | logger=migrator t=2023-12-29T11:35:30.033955484Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-29T11:35:30.034478689Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=523.316µs grafana | logger=migrator t=2023-12-29T11:35:30.037893024Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-29T11:35:30.038631758Z level=info msg="Migration successfully executed" id="create star table" duration=738.334µs grafana | logger=migrator t=2023-12-29T11:35:30.045110588Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-29T11:35:30.046650221Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.539233ms grafana | logger=migrator t=2023-12-29T11:35:30.050391054Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-29T11:35:30.051896684Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.50504ms grafana | logger=migrator t=2023-12-29T11:35:30.057165509Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-12-29T11:35:30.058039225Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=873.206µs grafana | logger=migrator t=2023-12-29T11:35:30.064453899Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-29T11:35:30.065675105Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.216415ms grafana | logger=migrator t=2023-12-29T11:35:30.069296978Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-29T11:35:30.070303855Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.005836ms grafana | logger=migrator t=2023-12-29T11:35:30.073869543Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-29T11:35:30.074774081Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=903.998µs grafana | logger=migrator t=2023-12-29T11:35:30.078103489Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-29T11:35:30.078970044Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=859.564µs grafana | logger=migrator t=2023-12-29T11:35:30.083835364Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-29T11:35:30.083972756Z level=info msg="Migration successfully executed" id="Update org table charset" duration=134.522µs grafana | logger=migrator t=2023-12-29T11:35:30.087203735Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-29T11:35:30.087380361Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=175.945µs grafana | logger=migrator t=2023-12-29T11:35:30.090812467Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-29T11:35:30.091230963Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=412.886µs grafana | logger=migrator t=2023-12-29T11:35:30.094941474Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-29T11:35:30.09570459Z level=info msg="Migration successfully executed" id="create dashboard table" duration=762.926µs grafana | logger=migrator t=2023-12-29T11:35:30.100835993Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-29T11:35:30.101728951Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=892.877µs grafana | logger=migrator t=2023-12-29T11:35:30.105267186Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-29T11:35:30.106296445Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.028459ms grafana | logger=migrator t=2023-12-29T11:35:30.114126472Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-29T11:35:30.115334426Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.207054ms grafana | logger=migrator t=2023-12-29T11:35:30.122342282Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-29T11:35:30.123921688Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.586577ms grafana | logger=migrator t=2023-12-29T11:35:30.128926301Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-29T11:35:30.129768064Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=841.552µs grafana | logger=migrator t=2023-12-29T11:35:30.136158716Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-29T11:35:30.143108357Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.94898ms grafana | logger=migrator t=2023-12-29T11:35:30.14870321Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-29T11:35:30.149538052Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=828.331µs grafana | logger=migrator t=2023-12-29T11:35:30.157205825Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-29T11:35:30.158050268Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=844.683µs grafana | logger=migrator t=2023-12-29T11:35:30.16466819Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-29T11:35:30.166209813Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.541344ms grafana | logger=migrator t=2023-12-29T11:35:30.176179735Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-29T11:35:30.177112595Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=932.281µs grafana | logger=migrator t=2023-12-29T11:35:30.183286969Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-29T11:35:30.184945222Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.658214ms grafana | logger=migrator t=2023-12-29T11:35:30.193360369Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-29T11:35:30.193644174Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=283.334µs grafana | logger=migrator t=2023-12-29T11:35:30.202705177Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-29T11:35:30.205623589Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.917492ms grafana | logger=migrator t=2023-12-29T11:35:30.220854075Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-29T11:35:30.223771407Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.916772ms grafana | logger=migrator t=2023-12-29T11:35:30.227749181Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-29T11:35:30.229628864Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.879412ms grafana | logger=migrator t=2023-12-29T11:35:30.235563506Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-29T11:35:30.236486846Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=922.79µs grafana | logger=migrator t=2023-12-29T11:35:30.243685208Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-29T11:35:30.24682417Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.138351ms grafana | logger=migrator t=2023-12-29T11:35:30.250627638Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-12-29T11:35:30.251622574Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=995.786µs grafana | logger=migrator t=2023-12-29T11:35:30.259500235Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-12-29T11:35:30.261196852Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.700137ms grafana | logger=migrator t=2023-12-29T11:35:30.266398811Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-29T11:35:30.266567686Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=168.074µs grafana | logger=migrator t=2023-12-29T11:35:30.273141964Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-29T11:35:30.27321222Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=115.22µs grafana | logger=migrator t=2023-12-29T11:35:30.278177889Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-29T11:35:30.281233283Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.054494ms grafana | logger=migrator t=2023-12-29T11:35:30.289278198Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-29T11:35:30.291188764Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.906675ms grafana | logger=migrator t=2023-12-29T11:35:30.297158329Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-29T11:35:30.300605677Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.446608ms grafana | logger=migrator t=2023-12-29T11:35:30.307972794Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-29T11:35:30.309959296Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.985891ms grafana | logger=migrator t=2023-12-29T11:35:30.313747803Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-29T11:35:30.314146027Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=397.504µs grafana | logger=migrator t=2023-12-29T11:35:30.326104421Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-29T11:35:30.32748257Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.377899ms grafana | logger=migrator t=2023-12-29T11:35:30.334588804Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-29T11:35:30.335387813Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=800.569µs grafana | logger=migrator t=2023-12-29T11:35:30.340185638Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-29T11:35:30.340285896Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=74.186µs grafana | logger=migrator t=2023-12-29T11:35:30.347868322Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-29T11:35:30.350373248Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=2.503947ms grafana | logger=migrator t=2023-12-29T11:35:30.355684607Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-29T11:35:30.356629129Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=944.072µs grafana | logger=migrator t=2023-12-29T11:35:30.361548104Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-29T11:35:30.370792243Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.278232ms grafana | logger=migrator t=2023-12-29T11:35:30.381826796Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-29T11:35:30.38244409Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=617.104µs grafana | logger=migrator t=2023-12-29T11:35:30.386944539Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-29T11:35:30.388426067Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.481058ms grafana | logger=migrator t=2023-12-29T11:35:30.393770399Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-29T11:35:30.395447594Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.676335ms grafana | logger=migrator t=2023-12-29T11:35:30.399494723Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-29T11:35:30.399945382Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=445.368µs grafana | logger=migrator t=2023-12-29T11:35:30.408967042Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-29T11:35:30.409500178Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=532.846µs grafana | logger=migrator t=2023-12-29T11:35:30.415871579Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-29T11:35:30.419138391Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.268383ms grafana | logger=migrator t=2023-12-29T11:35:30.423609867Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-29T11:35:30.424381134Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=771.017µs grafana | logger=migrator t=2023-12-29T11:35:30.431863431Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-12-29T11:35:30.432124653Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=261.213µs grafana | logger=migrator t=2023-12-29T11:35:30.443813403Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-29T11:35:30.444104218Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=289.295µs grafana | logger=migrator t=2023-12-29T11:35:30.449082019Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-29T11:35:30.450293943Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.211415ms grafana | logger=migrator t=2023-12-29T11:35:30.455036733Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-29T11:35:30.458267322Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.230349ms grafana | logger=migrator t=2023-12-29T11:35:30.462343765Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-12-29T11:35:30.46379223Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.447135ms grafana | logger=migrator t=2023-12-29T11:35:30.470906095Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-29T11:35:30.471711944Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=806.13µs grafana | logger=migrator t=2023-12-29T11:35:30.475904477Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-29T11:35:30.477292767Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.39656ms grafana | logger=migrator t=2023-12-29T11:35:30.483331738Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-29T11:35:30.484537163Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.205784ms grafana | logger=migrator t=2023-12-29T11:35:30.494320308Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-29T11:35:30.495547954Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.227696ms grafana | logger=migrator t=2023-12-29T11:35:30.500210387Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-29T11:35:30.511158983Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.948646ms grafana | logger=migrator t=2023-12-29T11:35:30.518771541Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-29T11:35:30.520045801Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.2718ms grafana | logger=migrator t=2023-12-29T11:35:30.52674339Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-29T11:35:30.528098127Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.354857ms grafana | logger=migrator t=2023-12-29T11:35:30.533085188Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-29T11:35:30.534430884Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.341286ms grafana | logger=migrator t=2023-12-29T11:35:30.541978427Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-29T11:35:30.542887915Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=909.089µs grafana | logger=migrator t=2023-12-29T11:35:30.548601349Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-29T11:35:30.552461623Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.852693ms grafana | logger=migrator t=2023-12-29T11:35:30.557666122Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-29T11:35:30.560147597Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.478764ms grafana | logger=migrator t=2023-12-29T11:35:30.600848284Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-29T11:35:30.600886057Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=39.233µs grafana | logger=migrator t=2023-12-29T11:35:30.60913452Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-29T11:35:30.609511243Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=368.542µs grafana | logger=migrator t=2023-12-29T11:35:30.616276897Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-29T11:35:30.620283544Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=4.006026ms grafana | logger=migrator t=2023-12-29T11:35:30.631672358Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-29T11:35:30.6320495Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=380.343µs grafana | logger=migrator t=2023-12-29T11:35:30.642237031Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-29T11:35:30.642646476Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=408.695µs grafana | logger=migrator t=2023-12-29T11:35:30.646412912Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-29T11:35:30.649483187Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.071236ms grafana | logger=migrator t=2023-12-29T11:35:30.655005734Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-29T11:35:30.655238514Z level=info msg="Migration successfully executed" id="Update uid value" duration=232.57µs grafana | logger=migrator t=2023-12-29T11:35:30.660249978Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-29T11:35:30.661148745Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=899.858µs grafana | logger=migrator t=2023-12-29T11:35:30.670290825Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-29T11:35:30.671726599Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.435734ms grafana | logger=migrator t=2023-12-29T11:35:30.676307155Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-29T11:35:30.677508209Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.200544ms grafana | logger=migrator t=2023-12-29T11:35:30.682765033Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-29T11:35:30.68411871Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.353717ms grafana | logger=migrator t=2023-12-29T11:35:30.692732005Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-29T11:35:30.694125895Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.393771ms grafana | logger=migrator t=2023-12-29T11:35:30.703663239Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-29T11:35:30.705044959Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.381079ms grafana | logger=migrator t=2023-12-29T11:35:30.714845756Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-29T11:35:30.716480217Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.638372ms grafana | logger=migrator t=2023-12-29T11:35:30.721387501Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-29T11:35:30.722205432Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=825.532µs grafana | logger=migrator t=2023-12-29T11:35:30.728573912Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-12-29T11:35:30.729402284Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=828.561µs grafana | logger=migrator t=2023-12-29T11:35:30.737323698Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-29T11:35:30.746291973Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.967885ms grafana | logger=migrator t=2023-12-29T11:35:30.751269313Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-29T11:35:30.752034329Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=764.636µs grafana | logger=migrator t=2023-12-29T11:35:30.757877194Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-29T11:35:30.758757971Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=880.906µs grafana | logger=migrator t=2023-12-29T11:35:30.762528666Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-29T11:35:30.763373209Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=841.583µs grafana | logger=migrator t=2023-12-29T11:35:30.77379563Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-29T11:35:30.774756613Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=960.633µs grafana | logger=migrator t=2023-12-29T11:35:30.780218505Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-12-29T11:35:30.780812436Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=593.441µs grafana | logger=migrator t=2023-12-29T11:35:30.786317792Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-29T11:35:30.787268044Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=949.722µs grafana | logger=migrator t=2023-12-29T11:35:30.791474748Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-29T11:35:30.79149971Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=25.892µs grafana | logger=migrator t=2023-12-29T11:35:30.799845401Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-29T11:35:30.803819835Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.969883ms grafana | logger=migrator t=2023-12-29T11:35:30.808500279Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-29T11:35:30.811214584Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.713185ms grafana | logger=migrator t=2023-12-29T11:35:30.814498068Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-29T11:35:30.814916844Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=422.127µs grafana | logger=migrator t=2023-12-29T11:35:30.819568696Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-29T11:35:30.822225464Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.656298ms grafana | logger=migrator t=2023-12-29T11:35:30.830519481Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-29T11:35:30.834386345Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.865194ms grafana | logger=migrator t=2023-12-29T11:35:30.839317241Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-29T11:35:30.840072837Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=755.155µs grafana | logger=migrator t=2023-12-29T11:35:30.844565045Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-29T11:35:30.845413298Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=848.003µs grafana | logger=migrator t=2023-12-29T11:35:30.85376475Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-29T11:35:30.854614983Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=849.833µs grafana | logger=migrator t=2023-12-29T11:35:30.859247674Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-29T11:35:30.860963062Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.715278ms grafana | logger=migrator t=2023-12-29T11:35:30.864706706Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-29T11:35:30.866014469Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.308893ms grafana | logger=migrator t=2023-12-29T11:35:30.870277757Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-29T11:35:30.871158383Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=880.596µs grafana | logger=migrator t=2023-12-29T11:35:30.875663262Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-29T11:35:30.875812025Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=147.442µs grafana | logger=migrator t=2023-12-29T11:35:30.879607333Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-29T11:35:30.879653817Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=47.734µs grafana | logger=migrator t=2023-12-29T11:35:30.884228133Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-29T11:35:30.888506202Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.27728ms grafana | logger=migrator t=2023-12-29T11:35:30.892056739Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-29T11:35:30.894791975Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.734306ms grafana | logger=migrator t=2023-12-29T11:35:30.898002253Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-29T11:35:30.898063938Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=62.375µs grafana | logger=migrator t=2023-12-29T11:35:30.901593543Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-29T11:35:30.902316826Z level=info msg="Migration successfully executed" id="create quota table v1" duration=722.963µs grafana | logger=migrator t=2023-12-29T11:35:30.906770651Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-12-29T11:35:30.908084234Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.312263ms grafana | logger=migrator t=2023-12-29T11:35:30.911895794Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-29T11:35:30.911933417Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=44.254µs grafana | logger=migrator t=2023-12-29T11:35:30.915762278Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-29T11:35:30.916572908Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=811.291µs grafana | logger=migrator t=2023-12-29T11:35:30.921361032Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-29T11:35:30.922245708Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=884.407µs grafana | logger=migrator t=2023-12-29T11:35:30.925765292Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-29T11:35:30.928614508Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.848716ms grafana | logger=migrator t=2023-12-29T11:35:30.932277495Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-29T11:35:30.932301477Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.852µs grafana | logger=migrator t=2023-12-29T11:35:30.936692587Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-29T11:35:30.937526429Z level=info msg="Migration successfully executed" id="create session table" duration=833.362µs grafana | logger=migrator t=2023-12-29T11:35:30.941165543Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-29T11:35:30.941252671Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=84.717µs grafana | logger=migrator t=2023-12-29T11:35:30.978744311Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-29T11:35:30.978935047Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=189.367µs grafana | logger=migrator t=2023-12-29T11:35:30.983619202Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-29T11:35:30.984696765Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.076713ms grafana | logger=migrator t=2023-12-29T11:35:30.989204785Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-29T11:35:30.989951359Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=745.955µs grafana | logger=migrator t=2023-12-29T11:35:30.993391316Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-29T11:35:30.993414378Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=23.932µs grafana | logger=migrator t=2023-12-29T11:35:30.996912761Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-29T11:35:30.996948624Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=37.454µs grafana | logger=migrator t=2023-12-29T11:35:31.001626538Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-29T11:35:31.005938061Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.312162ms grafana | logger=migrator t=2023-12-29T11:35:31.009551197Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-29T11:35:31.012606416Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.054729ms grafana | logger=migrator t=2023-12-29T11:35:31.015998463Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-29T11:35:31.01607697Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=80.427µs grafana | logger=migrator t=2023-12-29T11:35:31.018777678Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-29T11:35:31.018893068Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=114.75µs grafana | logger=migrator t=2023-12-29T11:35:31.023350445Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-29T11:35:31.024572639Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.211762ms grafana | logger=migrator t=2023-12-29T11:35:31.02813275Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-29T11:35:31.028173993Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=42.783µs grafana | logger=migrator t=2023-12-29T11:35:31.031871276Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-29T11:35:31.034946517Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.07489ms grafana | logger=migrator t=2023-12-29T11:35:31.039678527Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-29T11:35:31.040045178Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=366.481µs grafana | logger=migrator t=2023-12-29T11:35:31.044101981Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-29T11:35:31.049194502Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.088901ms grafana | logger=migrator t=2023-12-29T11:35:31.052761384Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-12-29T11:35:31.055823263Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.061319ms grafana | logger=migrator t=2023-12-29T11:35:31.05967893Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-29T11:35:31.059740835Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=62.615µs grafana | logger=migrator t=2023-12-29T11:35:31.068788431Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-29T11:35:31.069796866Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.008485ms grafana | logger=migrator t=2023-12-29T11:35:31.078213768Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-29T11:35:31.079564103Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.352454ms grafana | logger=migrator t=2023-12-29T11:35:31.087997906Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-12-29T11:35:31.089552148Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.553622ms grafana | logger=migrator t=2023-12-29T11:35:31.100397986Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-12-29T11:35:31.101879781Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.481665ms grafana | logger=migrator t=2023-12-29T11:35:31.110592599Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-29T11:35:31.111479904Z level=info msg="Migration successfully executed" id="add index alert state" duration=888.796µs grafana | logger=migrator t=2023-12-29T11:35:31.122206592Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-29T11:35:31.123696808Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.490486ms grafana | logger=migrator t=2023-12-29T11:35:31.130677838Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-29T11:35:31.131340105Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=661.936µs grafana | logger=migrator t=2023-12-29T11:35:31.167738125Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-29T11:35:31.169150114Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.411879ms grafana | logger=migrator t=2023-12-29T11:35:31.175515253Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-29T11:35:31.176862337Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.347254ms grafana | logger=migrator t=2023-12-29T11:35:31.18161939Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-29T11:35:31.195699631Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.081042ms grafana | logger=migrator t=2023-12-29T11:35:31.200318452Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-29T11:35:31.200816384Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=497.632µs grafana | logger=migrator t=2023-12-29T11:35:31.206238873Z 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-12-29T11:35:31.207757302Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.518069ms grafana | logger=migrator t=2023-12-29T11:35:31.213117225Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-29T11:35:31.21364516Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=523.434µs grafana | logger=migrator t=2023-12-29T11:35:31.218406503Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-29T11:35:31.219021075Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=612.882µs grafana | logger=migrator t=2023-12-29T11:35:31.224244927Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-29T11:35:31.225441789Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.195831ms grafana | logger=migrator t=2023-12-29T11:35:31.229323267Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-29T11:35:31.234929621Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.605414ms grafana | logger=migrator t=2023-12-29T11:35:31.238526176Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-29T11:35:31.242024732Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.498016ms grafana | logger=migrator t=2023-12-29T11:35:31.246441626Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-29T11:35:31.249909599Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.467563ms grafana | logger=migrator t=2023-12-29T11:35:31.254267898Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-29T11:35:31.257753133Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.484785ms grafana | logger=migrator t=2023-12-29T11:35:31.26221143Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-29T11:35:31.263182973Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=971.402µs grafana | logger=migrator t=2023-12-29T11:35:31.269092723Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-29T11:35:31.269117855Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=26.622µs grafana | logger=migrator t=2023-12-29T11:35:31.325853927Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-29T11:35:31.32589562Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=43.514µs grafana | logger=migrator t=2023-12-29T11:35:31.329585042Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-29T11:35:31.330723339Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.137116ms grafana | logger=migrator t=2023-12-29T11:35:31.334357066Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-29T11:35:31.335793288Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.435791ms grafana | logger=migrator t=2023-12-29T11:35:31.340683872Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-29T11:35:31.341383631Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=699.64µs grafana | logger=migrator t=2023-12-29T11:35:31.345298482Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-12-29T11:35:31.345996711Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=697.859µs grafana | logger=migrator t=2023-12-29T11:35:31.349685843Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-29T11:35:31.351154618Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.501437ms grafana | logger=migrator t=2023-12-29T11:35:31.356393441Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-29T11:35:31.362207553Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.818593ms grafana | logger=migrator t=2023-12-29T11:35:31.366099793Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-12-29T11:35:31.369681116Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.578283ms grafana | logger=migrator t=2023-12-29T11:35:31.375012627Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-29T11:35:31.375185822Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=173.374µs grafana | logger=migrator t=2023-12-29T11:35:31.379899961Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-29T11:35:31.38119901Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.29872ms grafana | logger=migrator t=2023-12-29T11:35:31.385084499Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-29T11:35:31.386290901Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.205892ms grafana | logger=migrator t=2023-12-29T11:35:31.390909502Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-29T11:35:31.394499046Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.589064ms grafana | logger=migrator t=2023-12-29T11:35:31.400718502Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-12-29T11:35:31.400786638Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=68.326µs grafana | logger=migrator t=2023-12-29T11:35:31.406644494Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-12-29T11:35:31.407911031Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.266197ms grafana | logger=migrator t=2023-12-29T11:35:31.411895178Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-12-29T11:35:31.413267844Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.372446ms grafana | logger=migrator t=2023-12-29T11:35:31.4182931Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-12-29T11:35:31.41841312Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=120.46µs grafana | logger=migrator t=2023-12-29T11:35:31.42372508Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-12-29T11:35:31.42456384Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=833.391µs grafana | logger=migrator t=2023-12-29T11:35:31.428078408Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-12-29T11:35:31.428963083Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=884.595µs grafana | logger=migrator t=2023-12-29T11:35:31.433463884Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-12-29T11:35:31.43436677Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=902.716µs grafana | logger=migrator t=2023-12-29T11:35:31.438827758Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-12-29T11:35:31.440233467Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.405679ms grafana | logger=migrator t=2023-12-29T11:35:31.444074322Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-12-29T11:35:31.446220323Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=2.135791ms grafana | logger=migrator t=2023-12-29T11:35:31.455246407Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-12-29T11:35:31.456246262Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=999.675µs grafana | logger=migrator t=2023-12-29T11:35:31.463880228Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-12-29T11:35:31.46390721Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=33.823µs grafana | logger=migrator t=2023-12-29T11:35:31.468227716Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-12-29T11:35:31.474278518Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.054573ms grafana | logger=migrator t=2023-12-29T11:35:31.477549955Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-12-29T11:35:31.478328051Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=777.995µs grafana | logger=migrator t=2023-12-29T11:35:31.48174866Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-12-29T11:35:31.485508058Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.758968ms grafana | logger=migrator t=2023-12-29T11:35:31.489818163Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-12-29T11:35:31.490392932Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=574.529µs grafana | logger=migrator t=2023-12-29T11:35:31.493833953Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-12-29T11:35:31.494734509Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=903.166µs grafana | logger=migrator t=2023-12-29T11:35:31.497923849Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-12-29T11:35:31.498723127Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=799.118µs grafana | logger=migrator t=2023-12-29T11:35:31.503149991Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-12-29T11:35:31.519127314Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.976412ms grafana | logger=migrator t=2023-12-29T11:35:31.522802745Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-12-29T11:35:31.523241302Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=438.468µs grafana | logger=migrator t=2023-12-29T11:35:31.526603696Z 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-12-29T11:35:31.527197707Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=593.64µs grafana | logger=migrator t=2023-12-29T11:35:31.531653634Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" mariadb | 2023-12-29 11:35:25+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. policy-db-migrator | Waiting for mariadb port 3306... grafana | logger=migrator t=2023-12-29T11:35:31.532053237Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=399.504µs mariadb | 2023-12-29 11:35:25+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' policy-api | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2023-12-29T11:35:31.535829777Z level=info msg="Executing migration" id="drop table annotation_tag_v2" mariadb | 2023-12-29 11:35:25+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. policy-api | mariadb (172.17.0.2:3306) open prometheus | ts=2023-12-29T11:35:28.568Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2023-12-29T11:35:31.536656597Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=823.88µs mariadb | 2023-12-29 11:35:25+00:00 [Note] [Entrypoint]: Initializing database files policy-api | Waiting for policy-db-migrator port 6824... prometheus | ts=2023-12-29T11:35:28.568Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2023-12-29T11:35:31.54035533Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" mariadb | 2023-12-29 11:35:25 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-api | policy-db-migrator (172.17.0.4:6824) open prometheus | ts=2023-12-29T11:35:28.568Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2023-12-29T11:35:31.540647595Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=292.395µs mariadb | 2023-12-29 11:35:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml prometheus | ts=2023-12-29T11:35:28.568Z 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))" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2023-12-29T11:35:31.544694477Z level=info msg="Executing migration" id="Add created time to annotation table" mariadb | 2023-12-29 11:35:25 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-api | prometheus | ts=2023-12-29T11:35:28.568Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2023-12-29T11:35:31.550243517Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.54952ms mariadb | policy-api | . ____ _ __ _ _ prometheus | ts=2023-12-29T11:35:28.568Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! grafana | logger=migrator t=2023-12-29T11:35:31.554839776Z level=info msg="Executing migration" id="Add updated time to annotation table" mariadb | policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ prometheus | ts=2023-12-29T11:35:28.569Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-db-migrator | 314 blocks grafana | logger=migrator t=2023-12-29T11:35:31.558772269Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.932093ms mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ prometheus | ts=2023-12-29T11:35:28.570Z caller=main.go:1024 level=info msg="Starting TSDB ..." policy-db-migrator | Preparing upgrade release version: 0800 grafana | logger=migrator t=2023-12-29T11:35:31.562285696Z level=info msg="Executing migration" id="Add index for created in annotation table" mariadb | To do so, start the server, then issue the following command: policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) prometheus | ts=2023-12-29T11:35:28.574Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 policy-db-migrator | Preparing upgrade release version: 0900 grafana | logger=migrator t=2023-12-29T11:35:31.563140468Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=854.502µs mariadb | policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / prometheus | ts=2023-12-29T11:35:28.574Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-db-migrator | Preparing upgrade release version: 1000 grafana | logger=migrator t=2023-12-29T11:35:31.566794518Z level=info msg="Executing migration" id="Add index for updated in annotation table" mariadb | '/usr/bin/mysql_secure_installation' policy-api | =========|_|==============|___/=/_/_/_/ prometheus | ts=2023-12-29T11:35:28.579Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-db-migrator | Preparing upgrade release version: 1100 grafana | logger=migrator t=2023-12-29T11:35:31.567606426Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=811.458µs mariadb | policy-api | :: Spring Boot :: (v2.7.8) prometheus | ts=2023-12-29T11:35:28.579Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.77µs policy-db-migrator | Preparing upgrade release version: 1200 grafana | logger=migrator t=2023-12-29T11:35:31.572361659Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" mariadb | which will also give you the option of removing the test policy-api | prometheus | ts=2023-12-29T11:35:28.579Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-db-migrator | Done grafana | logger=migrator t=2023-12-29T11:35:31.572690057Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=328.367µs mariadb | databases and anonymous user created by default. This is policy-api | [2023-12-29T11:35:39.917+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) prometheus | ts=2023-12-29T11:35:28.579Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-db-migrator | name version grafana | logger=migrator t=2023-12-29T11:35:31.576530702Z level=info msg="Executing migration" id="Add epoch_end column" mariadb | strongly recommended for production servers. policy-api | [2023-12-29T11:35:39.920+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" prometheus | ts=2023-12-29T11:35:28.579Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=147.222µs wal_replay_duration=284.805µs wbl_replay_duration=170ns total_replay_duration=591.091µs policy-db-migrator | policyadmin 0 grafana | logger=migrator t=2023-12-29T11:35:31.582923853Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.398711ms mariadb | policy-api | [2023-12-29T11:35:41.300+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. prometheus | ts=2023-12-29T11:35:28.581Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 grafana | logger=migrator t=2023-12-29T11:35:31.586808752Z level=info msg="Executing migration" id="Add index for epoch_end" mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb policy-api | [2023-12-29T11:35:41.392+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 6 JPA repository interfaces. prometheus | ts=2023-12-29T11:35:28.581Z caller=main.go:1048 level=info msg="TSDB started" policy-db-migrator | upgrade: 0 -> 1200 grafana | logger=migrator t=2023-12-29T11:35:31.587625401Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=821.289µs mariadb | policy-api | [2023-12-29T11:35:42.462+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) prometheus | ts=2023-12-29T11:35:28.581Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.591762531Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" mariadb | Please report any problems at https://mariadb.org/jira policy-api | [2023-12-29T11:35:42.475+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] prometheus | ts=2023-12-29T11:35:28.582Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=751.765µs db_storage=1.28µs remote_storage=1.33µs web_handler=470ns query_engine=1.03µs scrape=205.368µs scrape_sd=75.037µs notify=19.581µs notify_sd=7.271µs rules=1.59µs tracing=4.231µs policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql grafana | logger=migrator t=2023-12-29T11:35:31.591917704Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=155.263µs mariadb | policy-api | [2023-12-29T11:35:42.475+00:00|INFO|StandardService|main] Starting service [Tomcat] prometheus | ts=2023-12-29T11:35:28.582Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.595290529Z level=info msg="Executing migration" id="Move region to single row" mariadb | The latest information about MariaDB is available at https://mariadb.org/. policy-api | [2023-12-29T11:35:42.475+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] prometheus | ts=2023-12-29T11:35:28.582Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." 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) grafana | logger=migrator t=2023-12-29T11:35:31.595875599Z level=info msg="Migration successfully executed" id="Move region to single row" duration=584.77µs mariadb | policy-api | [2023-12-29T11:35:42.586+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.599605365Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" mariadb | Consider joining MariaDB's strong and vibrant community: policy-api | [2023-12-29T11:35:42.586+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2588 ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.600874822Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.269048ms mariadb | https://mariadb.org/get-involved/ policy-api | [2023-12-29T11:35:43.119+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.60546059Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" mariadb | policy-api | [2023-12-29T11:35:43.207+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-12-29T11:35:31.606243536Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=782.576µs mariadb | 2023-12-29 11:35:27+00:00 [Note] [Entrypoint]: Database files initialized policy-api | [2023-12-29T11:35:43.442+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.6095993Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" mariadb | 2023-12-29 11:35:27+00:00 [Note] [Entrypoint]: Starting temporary server policy-api | [2023-12-29T11:35:43.602+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 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) grafana | logger=migrator t=2023-12-29T11:35:31.610436841Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=840.831µs mariadb | 2023-12-29 11:35:27+00:00 [Note] [Entrypoint]: Waiting for server startup policy-api | [2023-12-29T11:35:43.707+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.613620601Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" mariadb | 2023-12-29 11:35:27 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... policy-api | [2023-12-29T11:35:43.732+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.614484954Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=863.913µs mariadb | 2023-12-29 11:35:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-api | [2023-12-29T11:35:45.170+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.618647586Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" mariadb | 2023-12-29 11:35:27 0 [Note] InnoDB: Number of transaction pools: 1 policy-api | [2023-12-29T11:35:45.183+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql grafana | logger=migrator t=2023-12-29T11:35:31.619425952Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=778.256µs mariadb | 2023-12-29 11:35:27 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-api | [2023-12-29T11:35:46.316+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.622859363Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" mariadb | 2023-12-29 11:35:27 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-api | [2023-12-29T11:35:47.019+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 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-12-29T11:35:31.624166723Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.306811ms mariadb | 2023-12-29 11:35:27 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-api | [2023-12-29T11:35:48.136+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@7f2163d3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@427faf19, org.springframework.security.web.context.SecurityContextPersistenceFilter@119b837, org.springframework.security.web.header.HeaderWriterFilter@50fd7d94, org.springframework.security.web.authentication.logout.LogoutFilter@50cdaf32, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@190a5f74, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3d44f15d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2b5854a7, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@57404a8d, org.springframework.security.web.session.SessionManagementFilter@2ce5ea69, org.springframework.security.web.access.ExceptionTranslationFilter@5d63d553, org.springframework.security.web.access.intercept.AuthorizationFilter@2416378c] policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.627809982Z level=info msg="Executing migration" id="Increase tags column to length 4096" mariadb | 2023-12-29 11:35:27 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-api | [2023-12-29T11:35:48.279+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-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.627944583Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=134.962µs mariadb | 2023-12-29 11:35:27 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-api | [2023-12-29T11:35:51.959+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.632431043Z level=info msg="Executing migration" id="create test_data table" mariadb | 2023-12-29 11:35:27 0 [Note] InnoDB: Completed initialization of buffer pool policy-api | [2023-12-29T11:35:51.992+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2023-12-29T11:35:31.633568989Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.137857ms mariadb | 2023-12-29 11:35:27 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-api | [2023-12-29T11:35:52.028+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.637320496Z level=info msg="Executing migration" id="create dashboard_version table v1" mariadb | 2023-12-29 11:35:27 0 [Note] InnoDB: 128 rollback segments are active. policy-api | [2023-12-29T11:35:52.048+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 13.013 seconds (JVM running for 13.687) 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-12-29T11:35:31.638417899Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.097223ms mariadb | 2023-12-29 11:35:27 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-api | [2023-12-29T11:35:57.995+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.642423778Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" mariadb | 2023-12-29 11:35:27 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-api | [2023-12-29T11:35:57.995+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.643777283Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.353325ms mariadb | 2023-12-29 11:35:27 0 [Note] InnoDB: log sequence number 46590; transaction id 14 policy-api | [2023-12-29T11:35:57.997+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 2 ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.697991961Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" mariadb | 2023-12-29 11:35:27 0 [Note] Plugin 'FEEDBACK' is disabled. policy-api | [2023-12-29T11:36:00.625+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2023-12-29T11:35:31.699455915Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.463534ms mariadb | 2023-12-29 11:35:27 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-api | [] policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.703366456Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" mariadb | 2023-12-29 11:35:27 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. policy-api | [2023-12-29T11:36:00.747+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes 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-12-29T11:35:31.703671982Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=305.596µs mariadb | 2023-12-29 11:35:27 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. policy-api | [2023-12-29T11:36:01.060+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.707487845Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" mariadb | 2023-12-29 11:35:27 0 [Note] mariadbd: ready for connections. policy-api | [2023-12-29T11:36:02.168+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.70801824Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=530.224µs mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution policy-api | [2023-12-29T11:36:04.045+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.711828662Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" mariadb | 2023-12-29 11:35:28+00:00 [Note] [Entrypoint]: Temporary server started. policy-api | [2023-12-29T11:36:04.446+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql mariadb | 2023-12-29 11:35:29+00:00 [Note] [Entrypoint]: Creating user policy_user policy-api | [2023-12-29T11:36:04.679+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 grafana | logger=migrator t=2023-12-29T11:35:31.711894638Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=63.795µs policy-db-migrator | -------------- mariadb | 2023-12-29 11:35:29+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) policy-api | [2023-12-29T11:36:04.916+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 grafana | logger=migrator t=2023-12-29T11:35:31.716387458Z level=info msg="Executing migration" id="create team table" 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) mariadb | policy-api | [2023-12-29T11:36:05.134+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 grafana | logger=migrator t=2023-12-29T11:35:31.717043073Z level=info msg="Migration successfully executed" id="create team table" duration=655.445µs policy-db-migrator | -------------- mariadb | 2023-12-29 11:35:29+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf policy-api | [2023-12-29T11:36:05.350+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-12-29T11:35:31.720416689Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | mariadb | grafana | logger=migrator t=2023-12-29T11:35:31.721838859Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.42178ms policy-db-migrator | mariadb | 2023-12-29 11:35:29+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh grafana | logger=migrator t=2023-12-29T11:35:31.725474387Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql mariadb | #!/bin/bash -xv grafana | logger=migrator t=2023-12-29T11:35:31.726857384Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.382107ms policy-db-migrator | -------------- mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved grafana | logger=migrator t=2023-12-29T11:35:31.731246005Z level=info msg="Executing migration" id="Add column uid in team" 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) mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. grafana | logger=migrator t=2023-12-29T11:35:31.735545539Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.298924ms policy-db-migrator | -------------- mariadb | # grafana | logger=migrator t=2023-12-29T11:35:31.738831227Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); grafana | logger=migrator t=2023-12-29T11:35:31.739008682Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=184.085µs policy-db-migrator | mariadb | # you may not use this file except in compliance with the License. grafana | logger=migrator t=2023-12-29T11:35:31.742424271Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql mariadb | # You may obtain a copy of the License at grafana | logger=migrator t=2023-12-29T11:35:31.743339269Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=914.908µs policy-db-migrator | -------------- mariadb | # grafana | logger=migrator t=2023-12-29T11:35:31.747654834Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) mariadb | # http://www.apache.org/licenses/LICENSE-2.0 policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.748703383Z level=info msg="Migration successfully executed" id="create team member table" duration=1.048719ms mariadb | # policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.752582011Z level=info msg="Executing migration" id="add index team_member.org_id" mariadb | # Unless required by applicable law or agreed to in writing, software policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.753909874Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.330152ms mariadb | # distributed under the License is distributed on an "AS IS" BASIS, policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2023-12-29T11:35:31.75776999Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.758642154Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=871.834µs mariadb | # See the License for the specific language governing permissions and 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-12-29T11:35:31.763069099Z level=info msg="Executing migration" id="add index team_member.team_id" mariadb | # limitations under the License. policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.763901339Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=831.26µs mariadb | policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.767469871Z level=info msg="Executing migration" id="Add column email to team table" mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.774594334Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.123743ms mariadb | do policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2023-12-29T11:35:31.778188638Z level=info msg="Executing migration" id="Add column external to team_member table" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.782547767Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.358699ms mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 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-12-29T11:35:31.786854122Z level=info msg="Executing migration" id="Add column permission to team_member table" mariadb | done policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.791188238Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.338667ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.794492888Z level=info msg="Executing migration" id="create dashboard acl table" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.795332699Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=837.101µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2023-12-29T11:35:31.79877403Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.799622742Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=848.542µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 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-12-29T11:35:31.803766473Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.804771808Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.004875ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.808477612Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.809665192Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.18591ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2023-12-29T11:35:31.813321472Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.814710579Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.388358ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 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-12-29T11:35:31.819458951Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.820328215Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=868.903µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.823643705Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2023-12-29T11:35:31.824539791Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=851.982µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.827863352Z level=info msg="Executing migration" id="add index dashboard_permission" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 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-12-29T11:35:31.828826324Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=891.655µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.832979335Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" mariadb | policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.833447215Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=468.01µs mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.837028188Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2023-12-29T11:35:31.837351695Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=324.467µs mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.841879609Z level=info msg="Executing migration" id="create tag table" mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 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-12-29T11:35:31.842924577Z level=info msg="Migration successfully executed" id="create tag table" duration=1.044589ms mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.846329015Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | mariadb | 2023-12-29 11:35:30+00:00 [Note] [Entrypoint]: Stopping temporary server grafana | logger=migrator t=2023-12-29T11:35:31.847260404Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=924.808µs policy-db-migrator | mariadb | 2023-12-29 11:35:30 0 [Note] mariadbd (initiated by: unknown): Normal shutdown grafana | logger=migrator t=2023-12-29T11:35:31.850594486Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql mariadb | 2023-12-29 11:35:30 0 [Note] InnoDB: FTS optimize thread exiting. grafana | logger=migrator t=2023-12-29T11:35:31.851257632Z level=info msg="Migration successfully executed" id="create login attempt table" duration=662.956µs policy-db-migrator | -------------- mariadb | 2023-12-29 11:35:30 0 [Note] InnoDB: Starting shutdown... 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-12-29T11:35:31.855674846Z level=info msg="Executing migration" id="add index login_attempt.username" mariadb | 2023-12-29 11:35:30 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.857028851Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.353584ms mariadb | 2023-12-29 11:35:30 0 [Note] InnoDB: Buffer pool(s) dump completed at 231229 11:35:30 policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.860740075Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.862085099Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.338964ms mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: Shutdown completed; log sequence number 322349; transaction id 298 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2023-12-29T11:35:31.865754809Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" mariadb | 2023-12-29 11:35:31 0 [Note] mariadbd: Shutdown complete policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.886349462Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.595613ms mariadb | 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-12-29T11:35:31.890507734Z level=info msg="Executing migration" id="create login_attempt v2" mariadb | 2023-12-29 11:35:31+00:00 [Note] [Entrypoint]: Temporary server stopped policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.890983484Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=475.56µs mariadb | policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.89423986Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" mariadb | 2023-12-29 11:35:31+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.895120604Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=877.264µs mariadb | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2023-12-29T11:35:31.898718759Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" mariadb | 2023-12-29 11:35:31 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.898991342Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=272.693µs mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 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-12-29T11:35:31.902697166Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.903590341Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=892.946µs mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.908350304Z level=info msg="Executing migration" id="create user auth table" mariadb | 2023-12-29 11:35:31 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.909359069Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.008495ms mariadb | 2023-12-29 11:35:31 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2023-12-29T11:35:31.91338014Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" mariadb | 2023-12-29 11:35:31 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.914256294Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=875.774µs mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 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-12-29T11:35:31.918862164Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.918929539Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=67.665µs mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.922805087Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.9303935Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.584652ms mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2023-12-29T11:35:31.934018776Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.938917521Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.894384ms mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: log sequence number 322349; transaction id 299 grafana | logger=migrator t=2023-12-29T11:35:31.94268163Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" mariadb | 2023-12-29 11:35:31 0 [Note] Plugin 'FEEDBACK' is disabled. 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-12-29T11:35:31.947560792Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.878943ms mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.952100757Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" mariadb | 2023-12-29 11:35:31 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.957017223Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.916066ms mariadb | 2023-12-29 11:35:31 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.960815384Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" mariadb | 2023-12-29 11:35:31 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2023-12-29T11:35:31.961696949Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=881.295µs mariadb | 2023-12-29 11:35:31 0 [Note] Server socket created on IP: '::'. policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.965466008Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" mariadb | 2023-12-29 11:35:31 0 [Note] mariadbd: ready for connections. 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-12-29T11:35:31.973065201Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.597773ms 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 | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.9778927Z level=info msg="Executing migration" id="create server_lock table" mariadb | 2023-12-29 11:35:31 0 [Note] InnoDB: Buffer pool(s) load completed at 231229 11:35:31 policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.978409813Z level=info msg="Migration successfully executed" id="create server_lock table" duration=516.884µs mariadb | 2023-12-29 11:35:32 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.982042061Z level=info msg="Executing migration" id="add index server_lock.operation_uid" mariadb | 2023-12-29 11:35:32 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-12-29T11:35:31.982711617Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=665.686µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.986274389Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-12-29T11:35:31.987482541Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.210373ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:31.992055818Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.993476288Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.41985ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:31.997049451Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2023-12-29T11:35:31.998537897Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.480095ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.002366411Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 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-12-29T11:35:32.003355134Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=988.233µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.00802696Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.013259013Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.231592ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.016849186Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2023-12-29T11:35:32.017789086Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=940.92µs grafana | logger=migrator t=2023-12-29T11:35:32.021414963Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.022135934Z level=info msg="Migration successfully executed" id="create cache_data table" duration=720.811µs 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-12-29T11:35:32.02670323Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.028041834Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.336983ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.067989225Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-12-29T11:35:32.069249841Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.260697ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.07313641Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-12-29T11:35:32.074662499Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.516678ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.079487958Z 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-12-29T11:35:32.079550903Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=65.176µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.083098893Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-12-29T11:35:32.083185531Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=86.547µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.087022865Z level=info msg="Executing migration" id="recreate 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-12-29T11:35:32.088227747Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.204532ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.093153304Z 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-12-29T11:35:32.094707266Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.553341ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.098568142Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2023-12-29T11:35:32.099492221Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=924.968µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.103158031Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 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-12-29T11:35:32.103219646Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=61.935µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.106954962Z 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-12-29T11:35:32.108355391Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.399988ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.113294979Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2023-12-29T11:35:32.114733461Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.438041ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.118432384Z 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 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-12-29T11:35:32.119945412Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.511708ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.124660331Z 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-12-29T11:35:32.12559448Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=935.77µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.129131759Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2023-12-29T11:35:32.134705851Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.573722ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.139456403Z level=info msg="Executing migration" id="drop alert_definition table" 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-12-29T11:35:32.140311245Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=854.572µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.144472907Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.144549894Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=77.417µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.147172056Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2023-12-29T11:35:32.147958452Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=788.176µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.151343049Z 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 jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-29T11:35:32.152330292Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=986.873µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.156615855Z 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-12-29T11:35:32.157554395Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=934.899µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.161205544Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2023-12-29T11:35:32.161269519Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=64.556µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.164521704Z level=info msg="Executing migration" id="drop alert_definition_version table" 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-12-29T11:35:32.165378277Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=856.383µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.169955954Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.170788375Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=831.98µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.174323854Z 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 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2023-12-29T11:35:32.176551312Z 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.225418ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.180258696Z 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 jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2023-12-29T11:35:32.18125286Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=994.004µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.184823372Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.190814999Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.991607ms policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2023-12-29T11:35:32.194069755Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-29T11:35:32.19507531Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.005515ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.198161741Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.199155405Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=993.634µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.202340415Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2023-12-29T11:35:32.238532258Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.192753ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.241768562Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 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-12-29T11:35:32.280279301Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=38.505858ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.283597392Z 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-12-29T11:35:32.284378668Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=789.827µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.287516073Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2023-12-29T11:35:32.288249865Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=730.622µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.291419154Z level=info msg="Executing migration" id="add current_reason column related to current_state" 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-12-29T11:35:32.300486611Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.068768ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.303602525Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.304273922Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=670.936µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.309199828Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2023-12-29T11:35:32.310122597Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=919.618µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.313914848Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 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-12-29T11:35:32.315784046Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.864068ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.319367689Z 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-12-29T11:35:32.320527407Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.159478ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.323929025Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2023-12-29T11:35:32.324034154Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=104.319µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.327228274Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.333194789Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.965945ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.337853654Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.343785976Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.931712ms policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2023-12-29T11:35:32.347206365Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.353062851Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.855915ms 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-12-29T11:35:32.356213407Z 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-12-29T11:35:32.357169328Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=957.531µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.360576117Z 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-12-29T11:35:32.361610294Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.034108ms policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2023-12-29T11:35:32.364673883Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.370652229Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.972666ms 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-12-29T11:35:32.373872002Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.379810464Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.941183ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.382963101Z 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-12-29T11:35:32.384005849Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.042408ms policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2023-12-29T11:35:32.393060546Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.401190024Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=8.129288ms 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-12-29T11:35:32.404383344Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.410307105Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.923361ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.413628646Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.413696892Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=68.646µs policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2023-12-29T11:35:32.416839398Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.417879366Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.039568ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2023-12-29T11:35:32.421238901Z 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 | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.423151702Z 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.912102ms 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-12-29T11:35:32.429050202Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2023-12-29T11:35:32.430431639Z 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.381907ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.435009866Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.435101024Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=90.988µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.439678921Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2023-12-29T11:35:32.446370597Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.691006ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.449499412Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-12-29T11:35:32.455822937Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.322785ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-29T11:35:32.458800589Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.467045717Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=8.244618ms grafana | logger=migrator t=2023-12-29T11:35:32.470373549Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.476021807Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=5.647328ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.479183114Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2023-12-29T11:35:32.488770656Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=9.590432ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.491963776Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2023-12-29T11:35:32.492065035Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=101.578µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.494830299Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.495643708Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=813.119µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.498803095Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2023-12-29T11:35:32.505705849Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.902364ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.509255489Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-29T11:35:32.509302944Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=47.894µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.513835687Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.519381626Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=5.544579ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.522568146Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2023-12-29T11:35:32.523598543Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.030187ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.526820156Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2023-12-29T11:35:32.532974627Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.154141ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.535996883Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.536684571Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=687.869µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.540347921Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2023-12-29T11:35:32.541506569Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.158378ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.545049819Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2023-12-29T11:35:32.551539868Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.490099ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.55522662Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.556102374Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=877.364µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.559412234Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2023-12-29T11:35:32.560639908Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.223674ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.565692036Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2023-12-29T11:35:32.566585401Z level=info msg="Migration successfully executed" id="create alert_image table" duration=893.235µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.570431327Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.571389038Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=957.601µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.575244574Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2023-12-29T11:35:32.575303709Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=65.505µs grafana | logger=migrator t=2023-12-29T11:35:32.579669879Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.58086741Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.19093ms 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 | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.591360918Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.593310843Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.942684ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.596683829Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2023-12-29T11:35:32.597325523Z 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-12-29T11:35:32.601105393Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-29T11:35:32.601515268Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=409.984µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.604644922Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.605621375Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=976.203µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.609060366Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2023-12-29T11:35:32.618992517Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.932961ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.622488423Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2023-12-29T11:35:32.623550612Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.06226ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.626881004Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.627978197Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.096513ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.631178238Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2023-12-29T11:35:32.631867716Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=687.218µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.635174526Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2023-12-29T11:35:32.636260358Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.085332ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.639388073Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.640374996Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=986.633µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.643634022Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2023-12-29T11:35:32.643661834Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=23.322µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.646996227Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-29T11:35:32.647103336Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=107.049µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.651118616Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.65175927Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=640.484µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.656564106Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2023-12-29T11:35:32.657854686Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.327632ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.661576751Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2023-12-29T11:35:32.662641291Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.064191ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.666019197Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.714799025Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=48.776678ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.722145707Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2023-12-29T11:35:32.729687285Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.541489ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.733228555Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2023-12-29T11:35:32.733481906Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=253.422µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.747796918Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.797430288Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=49.6207ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.804105413Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2023-12-29T11:35:32.853897447Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=49.792194ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.858562352Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-29T11:35:32.85948201Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=919.477µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.864311878Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.865958508Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.65107ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.871824184Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2023-12-29T11:35:32.872054794Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=231.07µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.8752031Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2023-12-29T11:35:32.876063313Z level=info msg="Migration successfully executed" id="create permission table" duration=857.543µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.881212959Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.882811774Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.604246ms policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.886175959Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-29T11:35:32.887230058Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.053629ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.890510196Z level=info msg="Executing migration" id="create role table" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.891306453Z level=info msg="Migration successfully executed" id="create role table" duration=797.088µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.894529596Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2023-12-29T11:35:32.902244959Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.715453ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.906735349Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-12-29T11:35:32.9119525Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.214811ms grafana | logger=migrator t=2023-12-29T11:35:32.915127179Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-29T11:35:32.916092771Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=965.242µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.920634205Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.922254442Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.619267ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.925806073Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-12-29T11:35:32.927509367Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.701734ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.930841749Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2023-12-29T11:35:32.931605104Z level=info msg="Migration successfully executed" id="create team role table" duration=765.584µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.935070807Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.936070271Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=999.804µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.942188779Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-12-29T11:35:32.9433819Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.192301ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.946902998Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-12-29T11:35:32.948526506Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.622637ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.952043573Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.95318638Z level=info msg="Migration successfully executed" id="create user role table" duration=1.142787ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.956565996Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-12-29T11:35:32.957601124Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.033877ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.960761361Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-12-29T11:35:32.961785398Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.023467ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.965017321Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.96606811Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.050139ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.971449606Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-12-29T11:35:32.972722773Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.273708ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.979506638Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2023-12-29T11:35:32.981108243Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.601116ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:32.98438476Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.985999387Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.607626ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:32.989334429Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-12-29T11:35:32.997459447Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.124028ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.000629905Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2023-12-29T11:35:33.001366368Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=737.892µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.004380113Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.005136637Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=755.633µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.008897245Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-12-29T11:35:33.010499341Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.558542ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.014879123Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2023-12-29T11:35:33.016173952Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.29559ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.019354122Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.020210614Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=855.582µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.023622194Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-12-29T11:35:33.024665782Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.043159ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.027738232Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2023-12-29T11:35:33.035566436Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.826874ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.042643496Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.050587219Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.943734ms policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-12-29T11:35:33.054413823Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.062720187Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.305664ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2023-12-29T11:35:33.066664371Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.074514237Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.849616ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.078608114Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.079645422Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.037007ms policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-12-29T11:35:33.118984556Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.120366603Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.375737ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2023-12-29T11:35:33.123858759Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.12552607Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.666672ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.129261287Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.129362415Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=101.749µs policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-12-29T11:35:33.132777525Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.132814758Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=37.884µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2023-12-29T11:35:33.136471548Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.136905724Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=433.787µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.14428984Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.145158984Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=869.614µs policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2023-12-29T11:35:33.149671706Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.150903671Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.232334ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2023-12-29T11:35:33.154400077Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.154659479Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=257.682µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.158489704Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.158747506Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=258.181µs policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-12-29T11:35:33.161929165Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.162537087Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=605.501µs policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2023-12-29T11:35:33.1655256Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.16670168Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.174989ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.170119469Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.178112087Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.991447ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-12-29T11:35:33.182574855Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.182625139Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=51.214µs 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 grafana | logger=migrator t=2023-12-29T11:35:33.185570489Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.186191931Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=621.232µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.189534965Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.191378191Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.839505ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-12-29T11:35:33.196365214Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.197912945Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.549372ms 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 grafana | logger=migrator t=2023-12-29T11:35:33.201000157Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.210215948Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.214331ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.214199715Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.215271876Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.071011ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-12-29T11:35:33.218548294Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.219557189Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.006795ms 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 grafana | logger=migrator t=2023-12-29T11:35:33.222527381Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.254263601Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.735269ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.258950838Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.259745925Z level=info msg="Migration successfully executed" id="create correlation v2" duration=795.007µs policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-12-29T11:35:33.263710571Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.264767071Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.05572ms 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 grafana | logger=migrator t=2023-12-29T11:35:33.26829249Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.270119184Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.826645ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.275704148Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-12-29T11:35:33.2767951Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.090602ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.296136679Z level=info msg="Executing migration" id="copy correlation v1 to v2" 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 grafana | logger=migrator t=2023-12-29T11:35:33.296532423Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=395.134µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.300067192Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.301246632Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.17885ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.304676123Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-12-29T11:35:33.316404067Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.724254ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.319878532Z level=info msg="Executing migration" id="create entity_events table" 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 grafana | logger=migrator t=2023-12-29T11:35:33.320436859Z level=info msg="Migration successfully executed" id="create entity_events table" duration=558.288µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.324393924Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.325087803Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=693.569µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.331297379Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-12-29T11:35:33.33178275Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.334975101Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 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 grafana | logger=migrator t=2023-12-29T11:35:33.335726795Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.339371624Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.340576446Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.204222ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.346022537Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-12-29T11:35:33.347010741Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=988.584µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.350327292Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 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 grafana | logger=migrator t=2023-12-29T11:35:33.35148384Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.155868ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.354490145Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.355629041Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.139066ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.360204779Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-12-29T11:35:33.361444914Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.238955ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.365776691Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 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 grafana | logger=migrator t=2023-12-29T11:35:33.367542641Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.76535ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.370704409Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.371472724Z level=info msg="Migration successfully executed" id="Drop public config table" duration=768.185µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.376229567Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-12-29T11:35:33.377452671Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.221604ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.380884702Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 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 grafana | logger=migrator t=2023-12-29T11:35:33.382728558Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.844987ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.385995635Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.387150883Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.152598ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.390400398Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-12-29T11:35:33.391654905Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.255236ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.399245098Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-12-29T11:35:33.432998168Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.75405ms grafana | logger=migrator t=2023-12-29T11:35:33.435774664Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-29T11:35:33.44234094Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.565356ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.479414952Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.4903576Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=10.944588ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.493767779Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2023-12-29T11:35:33.493949444Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=181.805µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.497921161Z level=info msg="Executing migration" id="add share column" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2023-12-29T11:35:33.506141237Z level=info msg="Migration successfully executed" id="add share column" duration=8.219146ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.509610301Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.509969282Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=360.531µs policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.513934768Z level=info msg="Executing migration" id="create file table" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-12-29T11:35:33.515284412Z level=info msg="Migration successfully executed" id="create file table" duration=1.349424ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.518690961Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.519890573Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.199771ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.523058211Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2023-12-29T11:35:33.524256523Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.198552ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.5274152Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-12-29T11:35:33.528215518Z level=info msg="Migration successfully executed" id="create file_meta table" duration=798.248µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.532684127Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.533966226Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.283308ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.540324284Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2023-12-29T11:35:33.540413782Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=90.108µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.544359326Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2023-12-29T11:35:33.544479397Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=118.13µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.546922274Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.547606752Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=684.108µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.55113161Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2023-12-29T11:35:33.551467429Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=335.509µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.556328531Z level=info msg="Executing migration" id="RBAC action name 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 grafana | logger=migrator t=2023-12-29T11:35:33.557280832Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=951.73µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.560899258Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.569814614Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.913955ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.575998678Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2023-12-29T11:35:33.576284312Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=258.642µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.578586917Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.579827212Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.239555ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.583056706Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2023-12-29T11:35:33.583532776Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=476.8µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.587612022Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2023-12-29T11:35:33.587925749Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=313.396µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.591880834Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.592460783Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=579.759µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.594984717Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-12-29T11:35:33.603835627Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.85029ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.608516484Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2023-12-29T11:35:33.617275386Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.754401ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.620446765Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.621343031Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=876.954µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.624291321Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-12-29T11:35:33.729658671Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=105.364349ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.7351947Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2023-12-29T11:35:33.736444306Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.251186ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2023-12-29T11:35:33.745005391Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2023-12-29T11:35:33.746298211Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.29265ms policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2023-12-29T11:35:33.749857483Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.78557917Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.721818ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.790145577Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.790335113Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=189.666µs policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-12-29T11:35:33.795289403Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.795501421Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=211.948µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.79985667Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.800131083Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=274.163µs policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.803725808Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2023-12-29T11:35:33.804641425Z level=info msg="Migration successfully executed" id="create folder table" duration=915.317µs grafana | logger=migrator t=2023-12-29T11:35:33.81106947Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.812297884Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.228004ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2023-12-29T11:35:33.820552004Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.82180311Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.249146ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.855507736Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.855535549Z level=info msg="Migration successfully executed" id="Update folder title length" duration=28.523µs policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2023-12-29T11:35:33.859899919Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.861159435Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.259116ms policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2023-12-29T11:35:33.864549093Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.865646876Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.097544ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.8714764Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.873045113Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.567982ms policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2023-12-29T11:35:33.879710038Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.880641837Z level=info msg="Migration successfully executed" id="create anon_device table" duration=931.029µs policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2023-12-29T11:35:33.884849983Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.88622961Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.378897ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.889516599Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.890728991Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.212132ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2023-12-29T11:35:33.893847336Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.894686397Z level=info msg="Migration successfully executed" id="create signing_key table" duration=838.771µs policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2023-12-29T11:35:33.898628261Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.899812221Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.18376ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.903070487Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.904195913Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.124235ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-12-29T11:35:33.909191516Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.909664896Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=475.26µs policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2023-12-29T11:35:33.915069914Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.928495722Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=13.424968ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.932335128Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.932823079Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=488.272µs policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-12-29T11:35:33.936321005Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.937481294Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.159618ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2023-12-29T11:35:33.940767792Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.941786069Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.017306ms policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.947334819Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | grafana | logger=migrator t=2023-12-29T11:35:33.94841037Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.076091ms policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2023-12-29T11:35:33.952520288Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-29T11:35:33.952936934Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=417.735µs policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2023-12-29T11:35:33.957427604Z level=info msg="migrations completed" performed=523 skipped=0 duration=4.33760218s policy-db-migrator | -------------- grafana | logger=sqlstore t=2023-12-29T11:35:33.968360401Z level=info msg="Created default admin" user=admin policy-db-migrator | grafana | logger=sqlstore t=2023-12-29T11:35:33.968630664Z level=info msg="Created default organization" policy-db-migrator | grafana | logger=secrets t=2023-12-29T11:35:33.974321176Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=plugin.store t=2023-12-29T11:35:33.998713663Z level=info msg="Loading plugins..." policy-db-migrator | -------------- grafana | logger=local.finder t=2023-12-29T11:35:34.038507566Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=plugin.store t=2023-12-29T11:35:34.038563541Z level=info msg="Plugins loaded" count=55 duration=39.850827ms policy-db-migrator | -------------- grafana | logger=query_data t=2023-12-29T11:35:34.041780863Z level=info msg="Query Service initialization" policy-db-migrator | grafana | logger=live.push_http t=2023-12-29T11:35:34.045461405Z level=info msg="Live Push Gateway initialization" policy-db-migrator | grafana | logger=ngalert.migration t=2023-12-29T11:35:34.052227369Z level=info msg=Starting policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=ngalert.migration orgID=1 t=2023-12-29T11:35:34.05319263Z level=info msg="Migrating alerts for organisation" policy-db-migrator | -------------- grafana | logger=ngalert.migration orgID=1 t=2023-12-29T11:35:34.053691923Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- grafana | logger=ngalert.migration orgID=1 t=2023-12-29T11:35:34.054217327Z level=warn msg="No available receivers" policy-db-migrator | grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2023-12-29T11:35:34.057212411Z level=info msg="Completed legacy migration" policy-db-migrator | grafana | logger=infra.usagestats.collector t=2023-12-29T11:35:34.093140726Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=provisioning.datasources t=2023-12-29T11:35:34.095437931Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | -------------- grafana | logger=provisioning.alerting t=2023-12-29T11:35:34.109147453Z level=info msg="starting to provision alerting" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=provisioning.alerting t=2023-12-29T11:35:34.109166244Z level=info msg="finished to provision alerting" policy-db-migrator | -------------- grafana | logger=ngalert.state.manager t=2023-12-29T11:35:34.109383813Z level=info msg="Warming state cache for startup" policy-db-migrator | grafana | logger=ngalert.state.manager t=2023-12-29T11:35:34.10982807Z level=info msg="State cache has been initialized" states=0 duration=443.598µs policy-db-migrator | -------------- grafana | logger=ngalert.scheduler t=2023-12-29T11:35:34.109874424Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=ticker t=2023-12-29T11:35:34.10994917Z level=info msg=starting first_tick=2023-12-29T11:35:40Z policy-db-migrator | -------------- grafana | logger=grafanaStorageLogger t=2023-12-29T11:35:34.110262507Z level=info msg="Storage starting" policy-db-migrator | grafana | logger=ngalert.multiorg.alertmanager t=2023-12-29T11:35:34.110571883Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2023-12-29T11:35:34.118645067Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2023-12-29T11:35:34.140223096Z level=info msg="Update check succeeded" duration=30.80515ms policy-db-migrator | -------------- grafana | logger=sqlstore.transactions t=2023-12-29T11:35:34.157517282Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=sqlstore.transactions t=2023-12-29T11:35:34.158365154Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | -------------- grafana | logger=plugins.update.checker t=2023-12-29T11:35:34.20079402Z level=info msg="Update check succeeded" duration=90.876282ms 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 2912231135320800u 1 2023-12-29 11:35:32 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:32 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:32 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:32 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:32 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:32 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:32 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:32 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:33 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:34 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:35 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:36 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:36 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:36 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:36 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:36 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:36 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:36 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:36 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:36 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:36 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:36 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2912231135320800u 1 2023-12-29 11:35:36 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:36 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:36 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:36 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:36 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:36 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:36 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:36 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:36 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:37 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:37 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:37 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:37 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2912231135320900u 1 2023-12-29 11:35:37 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2912231135321000u 1 2023-12-29 11:35:37 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2912231135321000u 1 2023-12-29 11:35:37 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2912231135321000u 1 2023-12-29 11:35:37 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2912231135321000u 1 2023-12-29 11:35:37 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2912231135321000u 1 2023-12-29 11:35:37 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2912231135321000u 1 2023-12-29 11:35:37 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2912231135321000u 1 2023-12-29 11:35:37 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2912231135321000u 1 2023-12-29 11:35:37 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2912231135321000u 1 2023-12-29 11:35:37 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2912231135321100u 1 2023-12-29 11:35:37 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2912231135321200u 1 2023-12-29 11:35:37 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2912231135321200u 1 2023-12-29 11:35:37 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2912231135321200u 1 2023-12-29 11:35:37 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2912231135321200u 1 2023-12-29 11:35:37 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing mariadb ... done Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.kTrxS7jI3A ]] + rsync -av /tmp/tmp.kTrxS7jI3A/ /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,887 bytes received 95 bytes 2,693,964.00 bytes/sec total size is 1,346,237 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 2083 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/jenkins11557167468572073545.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9882919448213161205.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/jenkins10807608131752501.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-6O8A from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-6O8A/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15647993908351974987.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config7299569597949950335tmp 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/jenkins9849241998431556578.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14123665313512976506.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-6O8A from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-6O8A/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14567945437202811049.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6179286152979792921.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-6O8A 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. lf-activate-venv(): INFO: Adding /tmp/venv-6O8A/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/jenkins3240583398538089035.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-6O8A from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-6O8A/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/224 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-8249 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 853 27394 0 3919 30858 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:60:aa:f9 brd ff:ff:ff:ff:ff:ff inet 10.30.107.247/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86049sec preferred_lft 86049sec inet6 fe80::f816:3eff:fe60:aaf9/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:0a:ec:fb:dc brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-8249) 12/29/23 _x86_64_ (8 CPU) 11:32:21 LINUX RESTART (8 CPU) 11:33:01 tps rtps wtps bread/s bwrtn/s 11:34:01 95.45 17.71 77.74 1021.43 28536.04 11:35:01 134.94 22.98 111.96 2753.54 36626.70 11:36:01 378.79 13.41 365.37 839.43 81846.29 11:37:01 17.81 0.00 17.81 0.00 22389.37 11:38:01 74.58 1.97 72.61 112.61 26501.05 Average: 140.31 11.21 129.10 945.35 39179.04 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30109952 31708200 2829268 8.59 69268 1840200 1396240 4.11 866844 1674752 162248 11:35:01 29215308 31673412 3723912 11.31 97676 2639196 1364692 4.02 989228 2380024 563664 11:36:01 26890752 30494264 6048468 18.36 126160 3677032 4516096 13.29 2251124 3349412 684 11:37:01 26901884 30503092 6037336 18.33 126312 3677552 4499628 13.24 2243976 3345780 116 11:38:01 28049228 31593812 4889992 14.85 130184 3650952 1477980 4.35 1189652 3278672 31836 Average: 28233425 31194556 4705795 14.29 109920 3096986 2650927 7.80 1508165 2805728 151710 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 lo 1.33 1.33 0.14 0.14 0.00 0.00 0.00 0.00 11:34:01 ens3 68.49 48.69 977.01 7.64 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 5.40 5.40 0.51 0.51 0.00 0.00 0.00 0.00 11:35:01 ens3 121.50 82.74 2943.07 10.81 0.00 0.00 0.00 0.00 11:35:01 br-0c380aad9547 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 vethef4f238 0.05 0.25 0.00 0.02 0.00 0.00 0.00 0.00 11:36:01 vethb5c3afa 76.55 95.00 57.87 26.79 0.00 0.00 0.00 0.00 11:36:01 veth53829ed 58.51 49.53 23.88 55.65 0.00 0.00 0.00 0.00 11:36:01 veth828973a 0.43 0.62 0.05 0.30 0.00 0.00 0.00 0.00 11:37:01 vethef4f238 0.18 0.18 0.02 0.47 0.00 0.00 0.00 0.00 11:37:01 vethb5c3afa 43.04 54.37 61.81 17.92 0.00 0.00 0.00 0.01 11:37:01 veth53829ed 56.72 45.78 22.81 63.46 0.00 0.00 0.00 0.01 11:37:01 veth828973a 0.17 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 lo 34.12 34.12 10.42 10.42 0.00 0.00 0.00 0.00 11:38:01 ens3 825.10 540.73 11156.15 110.97 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 6.04 6.04 2.02 2.02 0.00 0.00 0.00 0.00 Average: ens3 88.05 61.15 2077.66 11.04 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-8249) 12/29/23 _x86_64_ (8 CPU) 11:32:21 LINUX RESTART (8 CPU) 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 8.41 0.00 0.69 2.64 0.03 88.24 11:34:01 0 12.47 0.00 0.69 0.13 0.03 86.67 11:34:01 1 6.03 0.00 0.62 16.69 0.03 76.63 11:34:01 2 5.78 0.00 0.57 1.17 0.03 92.45 11:34:01 3 0.83 0.00 0.28 0.15 0.02 98.72 11:34:01 4 0.65 0.00 0.25 0.30 0.02 98.78 11:34:01 5 0.45 0.00 0.23 0.07 0.02 99.23 11:34:01 6 27.68 0.00 2.19 1.69 0.05 68.40 11:34:01 7 13.40 0.00 0.62 0.99 0.03 84.96 11:35:01 all 10.39 0.00 1.45 2.77 0.04 85.34 11:35:01 0 4.78 0.00 1.14 0.00 0.03 94.05 11:35:01 1 3.91 0.00 1.27 7.57 0.03 87.22 11:35:01 2 13.99 0.00 1.45 0.76 0.05 83.75 11:35:01 3 7.76 0.00 1.41 3.87 0.03 86.92 11:35:01 4 11.52 0.00 1.53 3.01 0.03 83.91 11:35:01 5 10.48 0.00 1.52 0.83 0.02 87.15 11:35:01 6 19.03 0.00 2.24 2.03 0.05 76.64 11:35:01 7 11.68 0.00 1.12 4.04 0.03 83.13 11:36:01 all 20.27 0.00 3.85 4.64 0.07 71.16 11:36:01 0 20.51 0.00 3.66 1.24 0.05 74.53 11:36:01 1 20.86 0.00 3.66 3.43 0.07 71.99 11:36:01 2 25.39 0.00 4.68 0.57 0.08 69.27 11:36:01 3 21.06 0.00 3.94 2.29 0.07 72.64 11:36:01 4 14.45 0.00 2.93 10.35 0.07 72.20 11:36:01 5 20.48 0.00 3.76 1.05 0.08 74.63 11:36:01 6 24.32 0.00 5.38 15.20 0.08 55.01 11:36:01 7 15.10 0.00 2.82 3.10 0.07 78.91 11:37:01 all 2.01 0.00 0.18 1.07 0.02 96.72 11:37:01 0 2.70 0.00 0.27 0.00 0.02 97.02 11:37:01 1 2.25 0.00 0.15 0.00 0.00 97.60 11:37:01 2 1.55 0.00 0.07 0.00 0.02 98.37 11:37:01 3 2.53 0.00 0.12 0.00 0.00 97.35 11:37:01 4 2.39 0.00 0.12 8.46 0.03 89.00 11:37:01 5 1.42 0.00 0.25 0.03 0.03 98.26 11:37:01 6 1.08 0.00 0.20 0.02 0.03 98.66 11:37:01 7 2.13 0.00 0.25 0.02 0.03 97.57 11:38:01 all 7.92 0.00 0.81 1.62 0.03 89.62 11:38:01 0 17.83 0.00 0.75 0.57 0.03 80.82 11:38:01 1 13.67 0.00 1.25 0.48 0.03 84.56 11:38:01 2 17.22 0.00 1.30 0.73 0.02 80.72 11:38:01 3 1.35 0.00 0.57 0.78 0.05 97.25 11:38:01 4 8.12 0.00 0.88 4.67 0.03 86.29 11:38:01 5 2.08 0.00 0.65 2.65 0.03 94.59 11:38:01 6 1.52 0.00 0.53 3.02 0.03 94.89 11:38:01 7 1.63 0.00 0.55 0.05 0.02 97.76 Average: all 9.78 0.00 1.39 2.54 0.04 86.24 Average: 0 11.67 0.00 1.30 0.39 0.03 86.61 Average: 1 9.32 0.00 1.39 5.62 0.03 83.64 Average: 2 12.76 0.00 1.61 0.65 0.04 84.94 Average: 3 6.68 0.00 1.26 1.41 0.03 90.62 Average: 4 7.41 0.00 1.14 5.35 0.04 86.07 Average: 5 6.95 0.00 1.28 0.93 0.04 90.81 Average: 6 14.70 0.00 2.10 4.37 0.05 78.79 Average: 7 8.78 0.00 1.07 1.64 0.04 88.48