Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-6889 (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-cf3O9vyr79Mi/agent.2081 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_14942008213391564679.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_14942008213391564679.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/jenkins15583504718665568102.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-vfKp 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-vfKp/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-vfKp/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.6 botocore==1.34.6 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.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.2 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.15.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/jenkins16428027300623473839.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/jenkins17621869890864543992.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.DqFixE16Jw ++ echo ROBOT_VENV=/tmp/tmp.DqFixE16Jw +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.DqFixE16Jw ++ source /tmp/tmp.DqFixE16Jw/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.DqFixE16Jw +++ 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.DqFixE16Jw/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.DqFixE16Jw) ' '!=' x ']' +++ PS1='(tmp.DqFixE16Jw) ' +++ 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.0 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.DqFixE16Jw/src/onap ++ rm -rf /tmp/tmp.DqFixE16Jw/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.0 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.DqFixE16Jw/bin/activate + '[' -z /tmp/tmp.DqFixE16Jw/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.DqFixE16Jw/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.DqFixE16Jw ++ 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.DqFixE16Jw/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.DqFixE16Jw) ' ++ '[' 'x(tmp.DqFixE16Jw) ' '!=' x ']' ++ PS1='(tmp.DqFixE16Jw) (tmp.DqFixE16Jw) ' ++ 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.Ulr6pTQLca + cd /tmp/tmp.Ulr6pTQLca + 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 mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 11 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds policy-db-migrator Up 16 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds NAMES STATUS policy-api Up 30 seconds grafana Up 33 seconds mariadb Up 32 seconds prometheus Up 34 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 + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:35:56 up 3 min, 0 users, load average: 2.18, 1.09, 0.45 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.3 us, 2.1 sy, 0.0 ni, 81.9 id, 4.5 wa, 0.0 hi, 0.1 si, 0.1 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 policy-api Up 30 seconds grafana Up 33 seconds mariadb Up 32 seconds prometheus Up 34 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 0ae96d618d82 policy-api 0.10% 973.9MiB / 31.41GiB 3.03% 1.04MB / 739kB 0B / 0B 52 394dd509fe98 grafana 0.06% 50.23MiB / 31.41GiB 0.16% 26.2kB / 4.32kB 0B / 23.7MB 14 c41cfbfd391e mariadb 0.02% 100.8MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.2MB / 67.7MB 29 f7a49b3a505c prometheus 0.00% 17.8MiB / 31.41GiB 0.06% 1.52kB / 158B 4.1kB / 0B 13 + echo + cd /tmp/tmp.Ulr6pTQLca + 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.Ulr6pTQLca/output.xml Log: /tmp/tmp.Ulr6pTQLca/log.html Report: /tmp/tmp.Ulr6pTQLca/report.html + RESULT=0 + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:07 up 4 min, 0 users, load average: 0.75, 0.90, 0.44 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.5 us, 1.7 sy, 0.0 ni, 84.9 id, 3.8 wa, 0.0 hi, 0.1 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.2G 25G 1.0M 3.9G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 0ae96d618d82 policy-api 0.12% 1.279GiB / 31.41GiB 4.07% 7.32MB / 2.87MB 0B / 0B 52 394dd509fe98 grafana 0.02% 50.68MiB / 31.41GiB 0.16% 27.3kB / 5.64kB 0B / 23.7MB 14 c41cfbfd391e mariadb 0.09% 101.6MiB / 31.41GiB 0.32% 2.75MB / 7.35MB 11.2MB / 67.8MB 18 f7a49b3a505c prometheus 0.00% 23.7MiB / 31.41GiB 0.07% 38kB / 7.1kB 4.1kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2023-12-22T11:35:23.323458897Z 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-22T11:35:23.323726791Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-22T11:35:23.323742111Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-22T11:35:23.323746251Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-22T11:35:23.323749331Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-22T11:35:23.323753381Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-22T11:35:23.323756731Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-22T11:35:23.323760321Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-22T11:35:23.323784121Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-22T11:35:23.323796972Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-22T11:35:23.323800422Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-22T11:35:23.323803302Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-22T11:35:23.323806732Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-22T11:35:23.323813122Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-22T11:35:23.323823142Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-22T11:35:23.323826932Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-22T11:35:23.323831502Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-22T11:35:23.323835912Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-22T11:35:23.323839722Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-22T11:35:23.324168537Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-22T11:35:23.324192087Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-22T11:35:23.324815736Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-22T11:35:23.325726739Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-22T11:35:23.326554481Z level=info msg="Migration successfully executed" id="create migration_log table" duration=828.902µs grafana | logger=migrator t=2023-12-22T11:35:23.356176155Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-22T11:35:23.357349722Z level=info msg="Migration successfully executed" id="create user table" duration=1.173187ms grafana | logger=migrator t=2023-12-22T11:35:23.361901807Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-22T11:35:23.362738519Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=836.722µs grafana | logger=migrator t=2023-12-22T11:35:23.36773532Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-22T11:35:23.368922707Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.190597ms grafana | logger=migrator t=2023-12-22T11:35:23.37329338Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-22T11:35:23.374458126Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.164886ms grafana | logger=migrator t=2023-12-22T11:35:23.378130549Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-22T11:35:23.378826269Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=695.77µs grafana | logger=migrator t=2023-12-22T11:35:23.38378445Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-22T11:35:23.38940982Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=5.63051ms grafana | logger=migrator t=2023-12-22T11:35:23.393162594Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-22T11:35:23.394004756Z level=info msg="Migration successfully executed" id="create user table v2" duration=841.412µs grafana | logger=migrator t=2023-12-22T11:35:23.397178941Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-22T11:35:23.398163305Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=982.834µs grafana | logger=migrator t=2023-12-22T11:35:23.402136892Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-22T11:35:23.402946674Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=809.642µs grafana | logger=migrator t=2023-12-22T11:35:23.40689124Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-22T11:35:23.407418348Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=526.628µs grafana | logger=migrator t=2023-12-22T11:35:23.410686965Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-22T11:35:23.411380495Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=687.069µs grafana | logger=migrator t=2023-12-22T11:35:23.414709362Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-22T11:35:23.41599339Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.282408ms grafana | logger=migrator t=2023-12-22T11:35:23.419878546Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-22T11:35:23.419909057Z level=info msg="Migration successfully executed" id="Update user table charset" duration=31.28µs grafana | logger=migrator t=2023-12-22T11:35:23.422537604Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-22T11:35:23.423705061Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.165747ms grafana | logger=migrator t=2023-12-22T11:35:23.426932517Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-22T11:35:23.427245951Z level=info msg="Migration successfully executed" id="Add missing user data" duration=309.554µs grafana | logger=migrator t=2023-12-22T11:35:23.430451227Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-22T11:35:23.431682675Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.230998ms grafana | logger=migrator t=2023-12-22T11:35:23.435595791Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-22T11:35:23.436399192Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=803.111µs grafana | logger=migrator t=2023-12-22T11:35:23.43971994Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-22T11:35:23.440991968Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.271158ms grafana | logger=migrator t=2023-12-22T11:35:23.444475318Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-22T11:35:23.454574922Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.099164ms grafana | logger=migrator t=2023-12-22T11:35:23.458450678Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-22T11:35:23.459059327Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=608.019µs grafana | logger=migrator t=2023-12-22T11:35:23.462596507Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-22T11:35:23.463215356Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=617.689µs grafana | logger=migrator t=2023-12-22T11:35:23.467076621Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-22T11:35:23.467887053Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=809.232µs grafana | logger=migrator t=2023-12-22T11:35:23.47258872Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-22T11:35:23.473415362Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=828.122µs grafana | logger=migrator t=2023-12-22T11:35:23.477205396Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-22T11:35:23.478110309Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=904.393µs grafana | logger=migrator t=2023-12-22T11:35:23.481861603Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-22T11:35:23.481899433Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=38.12µs grafana | logger=migrator t=2023-12-22T11:35:23.488289695Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-22T11:35:23.489464941Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.181636ms grafana | logger=migrator t=2023-12-22T11:35:23.492422494Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-22T11:35:23.493055713Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=633.149µs grafana | logger=migrator t=2023-12-22T11:35:23.497552717Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-22T11:35:23.498700454Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.147257ms grafana | logger=migrator t=2023-12-22T11:35:23.501708207Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-22T11:35:23.502812922Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.104435ms grafana | logger=migrator t=2023-12-22T11:35:23.506210951Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-22T11:35:23.509831773Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.622522ms grafana | logger=migrator t=2023-12-22T11:35:23.514655442Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-22T11:35:23.515369252Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=713.71µs grafana | logger=migrator t=2023-12-22T11:35:23.518380415Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-22T11:35:23.519074525Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=693.67µs grafana | logger=migrator t=2023-12-22T11:35:23.522003147Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-22T11:35:23.523083042Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.078085ms grafana | logger=migrator t=2023-12-22T11:35:23.528357838Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-22T11:35:23.529546955Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.188587ms grafana | logger=migrator t=2023-12-22T11:35:23.532947174Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-22T11:35:23.533639283Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=691.8µs grafana | logger=migrator t=2023-12-22T11:35:23.536603396Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-22T11:35:23.536955791Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=352.235µs grafana | logger=migrator t=2023-12-22T11:35:23.542906226Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-22T11:35:23.543639756Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=733.52µs grafana | logger=migrator t=2023-12-22T11:35:23.547058015Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-22T11:35:23.547558113Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=499.427µs grafana | logger=migrator t=2023-12-22T11:35:23.55090148Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-22T11:35:23.551788583Z level=info msg="Migration successfully executed" id="create star table" duration=890.823µs grafana | logger=migrator t=2023-12-22T11:35:23.555169241Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-22T11:35:23.555934542Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=765.711µs grafana | logger=migrator t=2023-12-22T11:35:23.561137587Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-22T11:35:23.561773416Z level=info msg="Migration successfully executed" id="create org table v1" duration=635.439µs grafana | logger=migrator t=2023-12-22T11:35:23.56625743Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-12-22T11:35:23.567363246Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.105206ms grafana | logger=migrator t=2023-12-22T11:35:23.57042927Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-22T11:35:23.571341323Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=911.333µs grafana | logger=migrator t=2023-12-22T11:35:23.57464717Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-22T11:35:23.57534933Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=701.92µs grafana | logger=migrator t=2023-12-22T11:35:23.580503844Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-22T11:35:23.582046866Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.542252ms grafana | logger=migrator t=2023-12-22T11:35:23.585879091Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-22T11:35:23.586668182Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=785.981µs grafana | logger=migrator t=2023-12-22T11:35:23.589856038Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-22T11:35:23.589876908Z level=info msg="Migration successfully executed" id="Update org table charset" duration=21.06µs grafana | logger=migrator t=2023-12-22T11:35:23.593191175Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-22T11:35:23.593210756Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=19.801µs grafana | logger=migrator t=2023-12-22T11:35:23.597769981Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-22T11:35:23.597941823Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=172.002µs grafana | logger=migrator t=2023-12-22T11:35:23.601117979Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-22T11:35:23.601743428Z level=info msg="Migration successfully executed" id="create dashboard table" duration=624.819µs grafana | logger=migrator t=2023-12-22T11:35:23.60467935Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-22T11:35:23.60541989Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=739.65µs grafana | logger=migrator t=2023-12-22T11:35:23.608450584Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-22T11:35:23.609252245Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=800.701µs grafana | logger=migrator t=2023-12-22T11:35:23.614303657Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-22T11:35:23.614962927Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=658.7µs grafana | logger=migrator t=2023-12-22T11:35:23.618131932Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-22T11:35:23.618918853Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=784.061µs grafana | logger=migrator t=2023-12-22T11:35:23.622545535Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-22T11:35:23.623205735Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=660.14µs grafana | logger=migrator t=2023-12-22T11:35:23.628582502Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-22T11:35:23.634960233Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.375681ms grafana | logger=migrator t=2023-12-22T11:35:23.638648366Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-22T11:35:23.639269374Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=620.288µs grafana | logger=migrator t=2023-12-22T11:35:23.64247172Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-22T11:35:23.64316362Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=691.64µs grafana | logger=migrator t=2023-12-22T11:35:23.648247393Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-22T11:35:23.648949053Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=701.12µs grafana | logger=migrator t=2023-12-22T11:35:23.651831244Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-22T11:35:23.652314211Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=482.557µs grafana | logger=migrator t=2023-12-22T11:35:23.655786011Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-22T11:35:23.656973888Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.184577ms grafana | logger=migrator t=2023-12-22T11:35:23.662779791Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-22T11:35:23.662880872Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=100.321µs grafana | logger=migrator t=2023-12-22T11:35:23.666010657Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-22T11:35:23.668745526Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.734039ms grafana | logger=migrator t=2023-12-22T11:35:23.671932782Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-22T11:35:23.673606546Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.673724ms grafana | logger=migrator t=2023-12-22T11:35:23.678663578Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-22T11:35:23.681347106Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.682518ms grafana | logger=migrator t=2023-12-22T11:35:23.684623353Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-22T11:35:23.68577956Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.155667ms grafana | logger=migrator t=2023-12-22T11:35:23.689216769Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-22T11:35:23.691027195Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.811436ms grafana | logger=migrator t=2023-12-22T11:35:23.698185807Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" mariadb | 2023-12-22 11:35:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-22 11:35:24+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-22 11:35:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-22 11:35:24+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-22 11:35:24 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-22 11:35:24 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-22 11:35:24 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-12-22 11:35:26+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-22 11:35:26+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-22 11:35:26+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-12-22 11:35:26 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 98 ... mariadb | 2023-12-22 11:35:26 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-22 11:35:26 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-22 11:35:26 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-22 11:35:26 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-22 11:35:26 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-22 11:35:26 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-22 11:35:26 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-22 11:35:26 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-22 11:35:26 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-22 11:35:26 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-22 11:35:26 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-22 11:35:26 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-22 11:35:26 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-12-22 11:35:26 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-22 11:35:26 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-22 11:35:26 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-22 11:35:26 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-22 11:35:26 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-12-22 11:35:27+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-22 11:35:34+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-22 11:35:34+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2023-12-22 11:35:34+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2023-12-22 11:35:34+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-12-22 11:35:35+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-12-22 11:35:35 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Buffer pool(s) dump completed at 231222 11:35:35 mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Shutdown completed; log sequence number 328878; transaction id 298 mariadb | 2023-12-22 11:35:35 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-12-22 11:35:35+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-12-22 11:35:35+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-12-22 11:35:35 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-22 11:35:35 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-22 11:35:35 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2023-12-22T11:35:23.699465826Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.279648ms grafana | logger=migrator t=2023-12-22T11:35:23.702616271Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-12-22T11:35:23.703866658Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.249597ms grafana | logger=migrator t=2023-12-22T11:35:23.707088795Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-22T11:35:23.707107505Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=19.26µs grafana | logger=migrator t=2023-12-22T11:35:23.712046005Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-22T11:35:23.712067846Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=22.411µs grafana | logger=migrator t=2023-12-22T11:35:23.714145336Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-22T11:35:23.716947846Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.7881ms grafana | logger=migrator t=2023-12-22T11:35:23.721803485Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-22T11:35:23.723897415Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.09298ms grafana | logger=migrator t=2023-12-22T11:35:23.728595452Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-22T11:35:23.73056719Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.970808ms grafana | logger=migrator t=2023-12-22T11:35:23.733503152Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-22T11:35:23.735389899Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.886287ms grafana | logger=migrator t=2023-12-22T11:35:23.738334822Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-22T11:35:23.738511404Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=176.522µs grafana | logger=migrator t=2023-12-22T11:35:23.741861652Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-22T11:35:23.742608493Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=762.781µs grafana | logger=migrator t=2023-12-22T11:35:23.747771237Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-22T11:35:23.748455576Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=684.139µs grafana | logger=migrator t=2023-12-22T11:35:23.786063583Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-22T11:35:23.786134034Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=71.721µs grafana | logger=migrator t=2023-12-22T11:35:23.79005516Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-22T11:35:23.791263908Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.208348ms grafana | logger=migrator t=2023-12-22T11:35:23.796467342Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-22T11:35:23.797058281Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=590.199µs grafana | logger=migrator t=2023-12-22T11:35:23.800265556Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-22T11:35:23.807122025Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.855669ms grafana | logger=migrator t=2023-12-22T11:35:23.810463202Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-22T11:35:23.811061741Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=598.239µs grafana | logger=migrator t=2023-12-22T11:35:23.815347422Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-22T11:35:23.816077573Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=729.801µs grafana | logger=migrator t=2023-12-22T11:35:23.819526512Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-22T11:35:23.820302923Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=776.041µs grafana | logger=migrator t=2023-12-22T11:35:23.823878394Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-22T11:35:23.824156198Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=277.564µs grafana | logger=migrator t=2023-12-22T11:35:23.828699833Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-22T11:35:23.829488584Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=788.481µs grafana | logger=migrator t=2023-12-22T11:35:23.833175747Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-22T11:35:23.836345303Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.168986ms policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-12-22T11:35:44.173+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 35 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-12-22T11:35:44.176+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-12-22T11:35:45.511+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-12-22T11:35:45.601+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 78 ms. Found 6 JPA repository interfaces. policy-api | [2023-12-22T11:35:46.667+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-12-22T11:35:46.680+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-22T11:35:46.680+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-12-22T11:35:46.681+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-12-22T11:35:46.770+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-12-22T11:35:46.770+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2538 ms policy-api | [2023-12-22T11:35:47.307+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-12-22T11:35:47.403+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-12-22T11:35:47.621+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-12-22T11:35:47.766+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-12-22T11:35:47.868+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-12-22T11:35:47.888+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-12-22T11:35:49.343+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-12-22T11:35:49.355+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-12-22T11:35:50.445+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-12-22T11:35:51.134+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-12-22T11:35:52.314+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@66abb7d4, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@494f74cd, org.springframework.security.web.context.SecurityContextPersistenceFilter@48d588dd, org.springframework.security.web.header.HeaderWriterFilter@33684b87, org.springframework.security.web.authentication.logout.LogoutFilter@73e4ecb, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4485ca30, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4d19ddeb, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@625439ba, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@359ae83a, org.springframework.security.web.session.SessionManagementFilter@42d039ef, org.springframework.security.web.access.ExceptionTranslationFilter@4de5d46c, org.springframework.security.web.access.intercept.AuthorizationFilter@2dca3c72] policy-api | [2023-12-22T11:35:52.459+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-12-22T11:35:56.307+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-12-22T11:35:56.332+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-22T11:35:56.363+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-12-22T11:35:56.379+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 13.047 seconds (JVM running for 13.661) policy-api | [2023-12-22T11:35:59.848+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-12-22T11:35:59.849+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-12-22T11:35:59.851+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2023-12-22T11:36:02.508+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-12-22T11:36:02.623+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-12-22T11:36:02.880+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-12-22T11:36:04.017+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-12-22T11:36:05.921+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-12-22T11:36:06.315+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-12-22T11:36:06.550+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-12-22T11:36:06.797+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-12-22T11:36:07.010+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-12-22T11:36:07.213+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 mariadb | 2023-12-22 11:35:35 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: log sequence number 328878; transaction id 299 mariadb | 2023-12-22 11:35:35 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-22 11:35:35 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-22 11:35:35 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-12-22 11:35:35 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-12-22 11:35:35 0 [Note] Server socket created on IP: '::'. mariadb | 2023-12-22 11:35:35 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2023-12-22 11:35:35 0 [Note] InnoDB: Buffer pool(s) load completed at 231222 11:35:35 mariadb | 2023-12-22 11:35:36 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2023-12-22 11:35:36 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2023-12-22T11:35:23.840266969Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-22T11:35:23.841511226Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.243847ms grafana | logger=migrator t=2023-12-22T11:35:23.846240024Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-12-22T11:35:23.846398576Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=160.822µs grafana | logger=migrator t=2023-12-22T11:35:23.849585732Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-22T11:35:23.849738194Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=152.562µs grafana | logger=migrator t=2023-12-22T11:35:23.853064722Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-22T11:35:23.85432308Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.261018ms grafana | logger=migrator t=2023-12-22T11:35:23.85923198Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-22T11:35:23.862620778Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.388368ms grafana | logger=migrator t=2023-12-22T11:35:23.866500824Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-12-22T11:35:23.867796442Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.288908ms grafana | logger=migrator t=2023-12-22T11:35:23.871377124Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-22T11:35:23.872085374Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=705.57µs grafana | logger=migrator t=2023-12-22T11:35:23.876557168Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-22T11:35:23.87740593Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=847.302µs grafana | logger=migrator t=2023-12-22T11:35:23.881053122Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-22T11:35:23.882260959Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.206427ms grafana | logger=migrator t=2023-12-22T11:35:23.885834161Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-22T11:35:23.886603722Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=769.281µs grafana | logger=migrator t=2023-12-22T11:35:23.890906523Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-22T11:35:23.898667124Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.759731ms grafana | logger=migrator t=2023-12-22T11:35:23.901793029Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-22T11:35:23.90257817Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=784.651µs grafana | logger=migrator t=2023-12-22T11:35:23.905937268Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-22T11:35:23.90674342Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=805.992µs grafana | logger=migrator t=2023-12-22T11:35:23.910790998Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-22T11:35:23.911576119Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=784.742µs grafana | logger=migrator t=2023-12-22T11:35:23.914895596Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-22T11:35:23.915669777Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=773.601µs grafana | logger=migrator t=2023-12-22T11:35:23.919258529Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-22T11:35:23.922697168Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.438509ms grafana | logger=migrator t=2023-12-22T11:35:23.926857627Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-22T11:35:23.9291609Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.302303ms grafana | logger=migrator t=2023-12-22T11:35:23.933205858Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-22T11:35:23.933408311Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=206.563µs grafana | logger=migrator t=2023-12-22T11:35:23.936989222Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-22T11:35:23.937291747Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=298.465µs grafana | logger=migrator t=2023-12-22T11:35:23.940390551Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-22T11:35:23.942840766Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.449785ms grafana | logger=migrator t=2023-12-22T11:35:23.947678325Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-22T11:35:23.948101591Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=422.936µs grafana | logger=migrator t=2023-12-22T11:35:23.951635402Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-22T11:35:23.952017217Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=381.645µs grafana | logger=migrator t=2023-12-22T11:35:23.954730646Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-22T11:35:23.958439919Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.710203ms grafana | logger=migrator t=2023-12-22T11:35:23.963688284Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-22T11:35:23.964134881Z level=info msg="Migration successfully executed" id="Update uid value" duration=428.776µs grafana | logger=migrator t=2023-12-22T11:35:23.967778843Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-22T11:35:23.969143022Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.363929ms grafana | logger=migrator t=2023-12-22T11:35:23.972283637Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-22T11:35:23.97314869Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=864.543µs grafana | logger=migrator t=2023-12-22T11:35:23.978349974Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-22T11:35:23.979539521Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.189467ms grafana | logger=migrator t=2023-12-22T11:35:23.98299155Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-22T11:35:23.984284139Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.292599ms grafana | logger=migrator t=2023-12-22T11:35:23.9878887Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-22T11:35:23.98925281Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.36381ms grafana | logger=migrator t=2023-12-22T11:35:23.994798399Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-22T11:35:23.995687112Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=888.813µs grafana | logger=migrator t=2023-12-22T11:35:24.000184646Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-22T11:35:24.001386923Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.200887ms grafana | logger=migrator t=2023-12-22T11:35:24.004684791Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-22T11:35:24.005977159Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.291468ms grafana | logger=migrator t=2023-12-22T11:35:24.011320356Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-12-22T11:35:24.012123707Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=803.491µs grafana | logger=migrator t=2023-12-22T11:35:24.015249236Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-22T11:35:24.024708166Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.45805ms grafana | logger=migrator t=2023-12-22T11:35:24.02816122Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-22T11:35:24.028635416Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=472.646µs grafana | logger=migrator t=2023-12-22T11:35:24.033839461Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-22T11:35:24.034393598Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=555.127µs grafana | logger=migrator t=2023-12-22T11:35:24.037313325Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-22T11:35:24.038561481Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.248306ms grafana | logger=migrator t=2023-12-22T11:35:24.043742957Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-22T11:35:24.044998042Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.253715ms grafana | logger=migrator t=2023-12-22T11:35:24.048235253Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-12-22T11:35:24.048562687Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=327.664µs grafana | logger=migrator t=2023-12-22T11:35:24.051460164Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-22T11:35:24.052175763Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=714.489µs grafana | logger=migrator t=2023-12-22T11:35:24.054600814Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-22T11:35:24.054640564Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=40.58µs grafana | logger=migrator t=2023-12-22T11:35:24.059646458Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-22T11:35:24.063656898Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.014001ms grafana | logger=migrator t=2023-12-22T11:35:24.066894439Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-22T11:35:24.069409711Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.514342ms grafana | logger=migrator t=2023-12-22T11:35:24.072433309Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-22T11:35:24.072587951Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=154.832µs grafana | logger=migrator t=2023-12-22T11:35:24.077609164Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-22T11:35:24.080135046Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.523572ms grafana | logger=migrator t=2023-12-22T11:35:24.083091883Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-22T11:35:24.085874868Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.780045ms grafana | logger=migrator t=2023-12-22T11:35:24.089066438Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-22T11:35:24.089717887Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=651.169µs grafana | logger=migrator t=2023-12-22T11:35:24.094638978Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-22T11:35:24.095136774Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=497.506µs grafana | logger=migrator t=2023-12-22T11:35:24.098044111Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-22T11:35:24.099031093Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=985.162µs grafana | logger=migrator t=2023-12-22T11:35:24.102601858Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-22T11:35:24.104254579Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.653391ms grafana | logger=migrator t=2023-12-22T11:35:24.109463484Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-22T11:35:24.110263814Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=799.94µs grafana | logger=migrator t=2023-12-22T11:35:24.113220251Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-22T11:35:24.114040591Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=819.87µs grafana | logger=migrator t=2023-12-22T11:35:24.117050659Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-22T11:35:24.11711177Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=61.901µs grafana | logger=migrator t=2023-12-22T11:35:24.122823832Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-22T11:35:24.122847132Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=26.14µs grafana | logger=migrator t=2023-12-22T11:35:24.12590131Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-22T11:35:24.130041192Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.139592ms grafana | logger=migrator t=2023-12-22T11:35:24.133232072Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-22T11:35:24.135895706Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.663124ms grafana | logger=migrator t=2023-12-22T11:35:24.139135116Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-22T11:35:24.139196877Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=57.901µs grafana | logger=migrator t=2023-12-22T11:35:24.144904659Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-22T11:35:24.145547187Z level=info msg="Migration successfully executed" id="create quota table v1" duration=642.208µs grafana | logger=migrator t=2023-12-22T11:35:24.148692386Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-12-22T11:35:24.149943962Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.250896ms grafana | logger=migrator t=2023-12-22T11:35:24.153165112Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-22T11:35:24.153200323Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=36.361µs grafana | logger=migrator t=2023-12-22T11:35:24.158773822Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-22T11:35:24.159440781Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=666.729µs grafana | logger=migrator t=2023-12-22T11:35:24.16257696Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-22T11:35:24.16335718Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=779.65µs grafana | logger=migrator t=2023-12-22T11:35:24.166578481Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-22T11:35:24.171052897Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.473876ms grafana | logger=migrator t=2023-12-22T11:35:24.212535997Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-22T11:35:24.212572037Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=37.07µs grafana | logger=migrator t=2023-12-22T11:35:24.217989955Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-22T11:35:24.21917156Z level=info msg="Migration successfully executed" id="create session table" duration=1.181015ms grafana | logger=migrator t=2023-12-22T11:35:24.222387541Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-22T11:35:24.222466352Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=78.911µs grafana | logger=migrator t=2023-12-22T11:35:24.225346248Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-22T11:35:24.225418838Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=72.52µs grafana | logger=migrator t=2023-12-22T11:35:24.23116557Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-22T11:35:24.232110382Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=945.072µs grafana | logger=migrator t=2023-12-22T11:35:24.235536845Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-22T11:35:24.236534598Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=999.533µs grafana | logger=migrator t=2023-12-22T11:35:24.239960771Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-22T11:35:24.239990401Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=33.44µs grafana | logger=migrator t=2023-12-22T11:35:24.24548993Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-22T11:35:24.245531881Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=43.571µs grafana | logger=migrator t=2023-12-22T11:35:24.249115386Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-22T11:35:24.254330171Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.213586ms grafana | logger=migrator t=2023-12-22T11:35:24.257497211Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-22T11:35:24.260744202Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.246061ms grafana | logger=migrator t=2023-12-22T11:35:24.264913024Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-22T11:35:24.265077706Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=164.492µs grafana | logger=migrator t=2023-12-22T11:35:24.270496934Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-22T11:35:24.270625755Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=129.661µs grafana | logger=migrator t=2023-12-22T11:35:24.273786985Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-22T11:35:24.275030511Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.239415ms grafana | logger=migrator t=2023-12-22T11:35:24.279966193Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-22T11:35:24.280001723Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=36.82µs grafana | logger=migrator t=2023-12-22T11:35:24.283301064Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-22T11:35:24.288074204Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.7722ms grafana | logger=migrator t=2023-12-22T11:35:24.293269019Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-22T11:35:24.293418361Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=147.062µs grafana | logger=migrator t=2023-12-22T11:35:24.296349128Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-22T11:35:24.299480127Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.130409ms grafana | logger=migrator t=2023-12-22T11:35:24.302553716Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-12-22T11:35:24.305617444Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.063738ms grafana | logger=migrator t=2023-12-22T11:35:24.310977411Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-22T11:35:24.311040572Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=64.001µs grafana | logger=migrator t=2023-12-22T11:35:24.314169381Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-22T11:35:24.315039592Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=869.711µs grafana | logger=migrator t=2023-12-22T11:35:24.318561107Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-22T11:35:24.320018135Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.456498ms grafana | logger=migrator t=2023-12-22T11:35:24.325067088Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-12-22T11:35:24.32600313Z level=info msg="Migration successfully executed" id="create alert table v1" duration=935.722µs grafana | logger=migrator t=2023-12-22T11:35:24.329075138Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-12-22T11:35:24.32998898Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=913.162µs grafana | logger=migrator t=2023-12-22T11:35:24.335217035Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-22T11:35:24.336447581Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.230306ms grafana | logger=migrator t=2023-12-22T11:35:24.340087527Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-22T11:35:24.341323952Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.236345ms grafana | logger=migrator t=2023-12-22T11:35:24.344631233Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-22T11:35:24.345210311Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=579.138µs grafana | logger=migrator t=2023-12-22T11:35:24.34833099Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-22T11:35:24.34914979Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=818.22µs grafana | logger=migrator t=2023-12-22T11:35:24.353780538Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-22T11:35:24.355113185Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.332247ms grafana | logger=migrator t=2023-12-22T11:35:24.358437287Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-22T11:35:24.374932634Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=16.495927ms grafana | logger=migrator t=2023-12-22T11:35:24.377500306Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-22T11:35:24.377949571Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=449.245µs grafana | logger=migrator t=2023-12-22T11:35:24.382413087Z 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-22T11:35:24.383259368Z 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=848.461µs grafana | logger=migrator t=2023-12-22T11:35:24.386014852Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-22T11:35:24.386409767Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=393.985µs grafana | logger=migrator t=2023-12-22T11:35:24.391176317Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-22T11:35:24.392059578Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=882.751µs grafana | logger=migrator t=2023-12-22T11:35:24.397395785Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-22T11:35:24.398616841Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.221836ms grafana | logger=migrator t=2023-12-22T11:35:24.40179573Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-22T11:35:24.408371693Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.576843ms grafana | logger=migrator t=2023-12-22T11:35:24.411425031Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-22T11:35:24.415377231Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.94901ms grafana | logger=migrator t=2023-12-22T11:35:24.420247432Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-22T11:35:24.423760736Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.512544ms grafana | logger=migrator t=2023-12-22T11:35:24.427246189Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-22T11:35:24.432294033Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=5.126275ms grafana | logger=migrator t=2023-12-22T11:35:24.437572929Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-22T11:35:24.438565312Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=995.033µs grafana | logger=migrator t=2023-12-22T11:35:24.443651805Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-22T11:35:24.443727286Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=76.801µs grafana | logger=migrator t=2023-12-22T11:35:24.446677123Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-22T11:35:24.446745494Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=69.911µs grafana | logger=migrator t=2023-12-22T11:35:24.449937154Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-22T11:35:24.450788755Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=852.611µs grafana | logger=migrator t=2023-12-22T11:35:24.456193143Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-22T11:35:24.457355177Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.161894ms grafana | logger=migrator t=2023-12-22T11:35:24.460951282Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-22T11:35:24.461964675Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.012993ms grafana | logger=migrator t=2023-12-22T11:35:24.467274862Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-12-22T11:35:24.468033261Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=758.759µs grafana | logger=migrator t=2023-12-22T11:35:24.47113145Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-22T11:35:24.472094412Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=962.882µs grafana | logger=migrator t=2023-12-22T11:35:24.475219881Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-22T11:35:24.478874237Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.654156ms grafana | logger=migrator t=2023-12-22T11:35:24.484373926Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-12-22T11:35:24.488543048Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.172002ms grafana | logger=migrator t=2023-12-22T11:35:24.496839042Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-22T11:35:24.497361349Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=522.017µs grafana | logger=migrator t=2023-12-22T11:35:24.50143447Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-22T11:35:24.502647325Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.214115ms grafana | logger=migrator t=2023-12-22T11:35:24.506891088Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-22T11:35:24.507679408Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=788.48µs grafana | logger=migrator t=2023-12-22T11:35:24.512209355Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-22T11:35:24.516086084Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.876049ms policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.519176763Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.519245463Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=68.541µs prometheus | ts=2023-12-22T11:35:22.319Z 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 | grafana | logger=migrator t=2023-12-22T11:35:24.52218584Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" prometheus | ts=2023-12-22T11:35:22.319Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2023-12-22T11:35:24.524078564Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.892704ms prometheus | ts=2023-12-22T11:35:22.319Z 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 | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.532124825Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" prometheus | ts=2023-12-22T11:35:22.319Z 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 | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2023-12-22T11:35:24.533765186Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.639321ms prometheus | ts=2023-12-22T11:35:22.319Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.536974606Z level=info msg="Executing migration" id="Drop old annotation table v4" prometheus | ts=2023-12-22T11:35:22.319Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.537146408Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=171.502µs prometheus | ts=2023-12-22T11:35:22.322Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.543772561Z level=info msg="Executing migration" id="create annotation table v5" prometheus | ts=2023-12-22T11:35:22.323Z caller=main.go:1024 level=info msg="Starting TSDB ..." policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2023-12-22T11:35:24.544781073Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.007952ms prometheus | ts=2023-12-22T11:35:22.325Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.547873092Z level=info msg="Executing migration" id="add index annotation 0 v3" prometheus | ts=2023-12-22T11:35:22.325Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-22T11:35:24.548988436Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.114944ms prometheus | ts=2023-12-22T11:35:22.327Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.55325652Z level=info msg="Executing migration" id="add index annotation 1 v3" prometheus | ts=2023-12-22T11:35:22.327Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.83µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.554150271Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=892.821µs prometheus | ts=2023-12-22T11:35:22.327Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.560136406Z level=info msg="Executing migration" id="add index annotation 2 v3" prometheus | ts=2023-12-22T11:35:22.330Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2023-12-22T11:35:24.560942906Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=806.49µs prometheus | ts=2023-12-22T11:35:22.330Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=28.521µs wal_replay_duration=2.658898ms wbl_replay_duration=380ns total_replay_duration=2.717049ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.564705283Z level=info msg="Executing migration" id="add index annotation 3 v3" prometheus | ts=2023-12-22T11:35:22.334Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2023-12-22T11:35:24.566742569Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=2.031786ms prometheus | ts=2023-12-22T11:35:22.334Z caller=main.go:1048 level=info msg="TSDB started" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.571693581Z level=info msg="Executing migration" id="add index annotation 4 v3" prometheus | ts=2023-12-22T11:35:22.334Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.572585882Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=892.191µs prometheus | ts=2023-12-22T11:35:22.336Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.421686ms db_storage=2.39µs remote_storage=3.64µs web_handler=1.01µs query_engine=1.6µs scrape=397.02µs scrape_sd=200.505µs notify=70.592µs notify_sd=36.641µs rules=3.9µs tracing=9.83µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.575960605Z level=info msg="Executing migration" id="Update annotation table charset" prometheus | ts=2023-12-22T11:35:22.336Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2023-12-22T11:35:24.575986895Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=26.82µs prometheus | ts=2023-12-22T11:35:22.336Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.580985978Z level=info msg="Executing migration" id="Add column region_id to annotation table" 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-22T11:35:24.584095527Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.109889ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.587815074Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.588554563Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=739.149µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.592489032Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2023-12-22T11:35:24.595270107Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=2.780455ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.600021976Z level=info msg="Executing migration" id="Create annotation_tag table v2" 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-22T11:35:24.600473402Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=451.536µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.605455585Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.606112413Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=654.838µs policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2023-12-22T11:35:24.609175791Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.609784429Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=608.598µs 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-22T11:35:24.613505206Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.640623955Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=27.112039ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.653977923Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.655447341Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.446588ms policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2023-12-22T11:35:24.658808334Z 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" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.660331803Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.523839ms 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-22T11:35:24.663857617Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.664346073Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=488.956µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.670057995Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2023-12-22T11:35:24.671178669Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.121004ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.674527691Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 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-22T11:35:24.674724963Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=198.122µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.678649752Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.682957737Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.304615ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.686283098Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2023-12-22T11:35:24.691129749Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.845541ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.696567377Z level=info msg="Executing migration" id="Add index for created in annotation table" 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-22T11:35:24.69762458Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.057603ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.700699649Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.701904684Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.203735ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.705102014Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2023-12-22T11:35:24.705970265Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=870.231µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.711716967Z level=info msg="Executing migration" id="Add epoch_end column" 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-22T11:35:24.717007753Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.291396ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.720201964Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.721135925Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=935.181µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.724378796Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2023-12-22T11:35:24.724829042Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=449.946µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.730112298Z level=info msg="Executing migration" id="Move region to single row" 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-22T11:35:24.730503293Z level=info msg="Migration successfully executed" id="Move region to single row" duration=391.155µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.733236077Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.734123958Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=888.131µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.73666098Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2023-12-22T11:35:24.73746545Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=804.31µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.743086901Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 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-22T11:35:24.743943782Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=858.141µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.746698326Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.747355514Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=657.108µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.752705761Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2023-12-22T11:35:24.753628163Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=921.752µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.756320336Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-22T11:35:24.757205668Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=885.372µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.760277106Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.760347067Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=71.141µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.765455721Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2023-12-22T11:35:24.766219901Z level=info msg="Migration successfully executed" id="create test_data table" duration=764.14µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.769688104Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-12-22T11:35:24.770522705Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=833.371µs 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-22T11:35:24.776001324Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.777439962Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.438489ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.783176894Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.784659302Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.481998ms policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2023-12-22T11:35:24.790022859Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.790269322Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=246.833µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-22T11:35:24.793589944Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.793936628Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=347.174µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.797831577Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.797896968Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=66.191µs policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.80285723Z level=info msg="Executing migration" id="create team 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-22T11:35:24.803530549Z level=info msg="Migration successfully executed" id="create team table" duration=673.059µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.808294448Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.809258041Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=961.482µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.817667946Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2023-12-22T11:35:24.819174005Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.505289ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.824602643Z level=info msg="Executing migration" id="Add column uid in team" 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-22T11:35:24.829023918Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.421165ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.836364191Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.836534103Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=169.962µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.841147751Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2023-12-22T11:35:24.842057242Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=909.421µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.847263247Z level=info msg="Executing migration" id="create team member table" 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-22T11:35:24.848447722Z level=info msg="Migration successfully executed" id="create team member table" duration=1.183785ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.853551886Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.854431717Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=877.591µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.859539891Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-12-22T11:35:24.860884288Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.342657ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.866679491Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-12-22T11:35:24.868120369Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.439818ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.872323471Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.876863618Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.537457ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.882118644Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-12-22T11:35:24.886825693Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.706679ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.891860077Z level=info msg="Executing migration" id="Add column permission to team_member 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-22T11:35:24.896860809Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.000082ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.901472047Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.902317378Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=845.231µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.906594761Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2023-12-22T11:35:24.908026429Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.431218ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.913740161Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 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-22T11:35:24.915531134Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.791993ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.919784467Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.921055903Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.267356ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.928740919Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2023-12-22T11:35:24.930325269Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.58359ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.936589558Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 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-22T11:35:24.938129377Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.539429ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.94314308Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.945004033Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.860513ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.949803103Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2023-12-22T11:35:24.950690744Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=887.401µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.956066702Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl 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-22T11:35:24.956529448Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=462.786µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.960139453Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.960496337Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=357.204µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.964959863Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2023-12-22T11:35:24.966138028Z level=info msg="Migration successfully executed" id="create tag table" duration=1.173175ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.971438734Z level=info msg="Executing migration" id="add index tag.key_value" 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-22T11:35:24.972950074Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.51099ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.976161974Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.976858903Z level=info msg="Migration successfully executed" id="create login attempt table" duration=696.089µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.982391352Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.983272863Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=891.181µs 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-22T11:35:24.988436218Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:24.990119019Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.64086ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:24.99414862Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.014389673Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.239533ms policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2023-12-22T11:35:25.019884112Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.020396429Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=511.897µs 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-22T11:35:25.024401639Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.02605747Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.654641ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.030134581Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.030576117Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=441.196µs policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2023-12-22T11:35:25.074277017Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.075385181Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.108564ms 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-22T11:35:25.079323631Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.080696858Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.372657ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.085702411Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.087249671Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.54672ms policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2023-12-22T11:35:25.093026243Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.093091174Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=65.891µs 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-22T11:35:25.097417219Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.10544911Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.032741ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.112483378Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.118616826Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=6.130898ms policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2023-12-22T11:35:25.125862397Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.13089006Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.027263ms 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-22T11:35:25.135359146Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.140302348Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.942822ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.145362542Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.147384658Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=2.021816ms policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2023-12-22T11:35:25.151130995Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.157832719Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.701954ms 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-22T11:35:25.162889313Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.164178529Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.288116ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.168963779Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.171084366Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=2.120297ms policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2023-12-22T11:35:25.176107959Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.176906859Z level=info msg="Migration successfully executed" id="create user auth token table" duration=798.07µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2023-12-22T11:35:25.181175553Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.183758966Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=2.581223ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.191004567Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.191744956Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=739.899µs policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2023-12-22T11:35:25.195860888Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.196678178Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=817.14µs 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-22T11:35:25.201937985Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.209401669Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.464443ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.213657562Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.214701775Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.044133ms policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2023-12-22T11:35:25.219896981Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.220734761Z level=info msg="Migration successfully executed" id="create cache_data table" duration=836.99µs 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-22T11:35:25.224189305Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.225915926Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.725051ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.229640643Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.231127742Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.486509ms 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-22T11:35:25.236837544Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.237953568Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.115154ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.241338241Z 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-22T11:35:25.241637814Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=299.073µs policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2023-12-22T11:35:25.246523636Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.24682809Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=304.273µs grafana | logger=migrator t=2023-12-22T11:35:25.253575835Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-12-22T11:35:25.254551537Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=974.792µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-22T11:35:25.260613753Z 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-22T11:35:25.262892652Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=2.278509ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.267941355Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.269308543Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.366418ms policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2023-12-22T11:35:25.275275268Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.275345089Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=70.471µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-22T11:35:25.279861756Z 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-22T11:35:25.281344514Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.480749ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.286344987Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.287229828Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=884.831µs policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2023-12-22T11:35:25.291921727Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.293380116Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.456689ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2023-12-22T11:35:25.299700505Z 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-22T11:35:25.30164869Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.949565ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.307751807Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.31675175Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.999303ms policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2023-12-22T11:35:25.321839504Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.322997199Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.157435ms 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 | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.327710318Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.32790412Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=194.972µs policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2023-12-22T11:35:25.336115984Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.337482001Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.367977ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-22T11:35:25.342445843Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.343434496Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=988.553µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.347873802Z 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-22T11:35:25.349089307Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.215155ms policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2023-12-22T11:35:25.354261622Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.354387224Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=124.102µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2023-12-22T11:35:25.358990092Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.360025575Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.034923ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.365246071Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.366840351Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.59312ms policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2023-12-22T11:35:25.371684912Z 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 | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.372857326Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.172385ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2023-12-22T11:35:25.378495248Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.380103098Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.607501ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.387579332Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.426127787Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=38.548095ms policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.431564636Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-22T11:35:25.432320185Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=756.289µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.438018217Z 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-22T11:35:25.43907767Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.059543ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.444442448Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2023-12-22T11:35:25.488102817Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=43.659019ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.514584531Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2023-12-22T11:35:25.563133512Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=48.541651ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.56855799Z 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-22T11:35:25.570059649Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.501669ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.574730008Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2023-12-22T11:35:25.576401119Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.670621ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.582478755Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2023-12-22T11:35:25.586952742Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=4.477677ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.591812663Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.592646164Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=833.311µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.599614651Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2023-12-22T11:35:25.601630107Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.015125ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.608798267Z 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 toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-22T11:35:25.610198805Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.403618ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.616585805Z 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-22T11:35:25.61779534Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.209975ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.625089592Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2023-12-22T11:35:25.625209633Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=121.671µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.630554361Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2023-12-22T11:35:25.638490261Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.93755ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.644329584Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.649910025Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.576511ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.656358306Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2023-12-22T11:35:25.6622645Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.905274ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.66620644Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2023-12-22T11:35:25.66781738Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.61129ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.674692936Z 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-22T11:35:25.676369968Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.680792ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.681716095Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2023-12-22T11:35:25.692538351Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=10.823416ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.698376845Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-22T11:35:25.710127053Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=11.742138ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.715338088Z 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-22T11:35:25.717209052Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.871324ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.722669021Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2023-12-22T11:35:25.7297503Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.081939ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.735053707Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2023-12-22T11:35:25.742674123Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=7.620115ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.748249473Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.748365714Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=116.951µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.754770255Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2023-12-22T11:35:25.756163502Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.393247ms 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 | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.762198978Z 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-22T11:35:25.763542195Z 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.346827ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.770677055Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2023-12-22T11:35:25.772455967Z 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.770142ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.775897591Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 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-22T11:35:25.775979802Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=79.791µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.780166224Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.788367368Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.200914ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.792825864Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2023-12-22T11:35:25.79729971Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.473676ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.801359891Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-12-22T11:35:25.8076356Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.275289ms grafana | logger=migrator t=2023-12-22T11:35:25.811528029Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 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-22T11:35:25.817868589Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.33678ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.824692935Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.836747167Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=12.051582ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.84257435Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2023-12-22T11:35:25.842623001Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=49.331µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.846891225Z level=info msg="Executing migration" id=create_alert_configuration_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-22T11:35:25.84814118Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.249285ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.851560533Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.860137341Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.576998ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.865540849Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2023-12-22T11:35:25.86561233Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=71.681µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.86956512Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 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-22T11:35:25.876305605Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.742035ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.880026712Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.881296678Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.269126ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.885913256Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2023-12-22T11:35:25.894868269Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.955492ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.943158877Z level=info msg="Executing migration" id=create_ngalert_configuration_table 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-22T11:35:25.944719806Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.560829ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.949616398Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.950806163Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.189555ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.955669854Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2023-12-22T11:35:25.9624502Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.779616ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.96649551Z level=info msg="Executing migration" id="create provenance_type table" 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-22T11:35:25.967317481Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=821.581µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.970771584Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.973377327Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=2.602903ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.980469506Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2023-12-22T11:35:25.981329887Z level=info msg="Migration successfully executed" id="create alert_image table" duration=859.861µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.986017016Z level=info msg="Executing migration" id="add unique index on token to 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-22T11:35:25.987852379Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.835993ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:25.992255535Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.992371726Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=117.011µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:25.997110696Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2023-12-22T11:35:25.998057858Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=946.902µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.004012743Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-22T11:35:26.005762705Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.749952ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.011638898Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.012030573Z 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 | policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2023-12-22T11:35:26.016256296Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.017326179Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=1.068953ms 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-22T11:35:26.02220545Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.023851971Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.64561ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.030288311Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.041958216Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=11.663525ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2023-12-22T11:35:26.046120698Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.046769246Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=647.968µs 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-22T11:35:26.05106768Z 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-22T11:35:26.05185807Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=789.63µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.056614659Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.057914905Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.299596ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2023-12-22T11:35:26.061241027Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.0630812Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.838473ms 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-22T11:35:26.066666135Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.068280675Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.612901ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.073590651Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.073627291Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=29.74µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2023-12-22T11:35:26.076496667Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.076583088Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=93.811µs 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-22T11:35:26.079766768Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.080205633Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=438.705µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.082864787Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.084293334Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.428567ms policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2023-12-22T11:35:26.089798703Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.090620733Z level=info msg="Migration successfully executed" id="create secrets table" duration=821.58µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2023-12-22T11:35:26.093863644Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.140990892Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.127258ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.144781519Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.149985104Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.202695ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2023-12-22T11:35:26.154966756Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.155229539Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=263.893µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2023-12-22T11:35:26.15847138Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.205351084Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=46.880014ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.209465496Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.261203121Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=51.738015ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2023-12-22T11:35:26.271431798Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.273667096Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=2.234528ms 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-22T11:35:26.284099367Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.285687006Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.586729ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.295850883Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.296539662Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=693.289µs policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2023-12-22T11:35:26.305045058Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.306383485Z level=info msg="Migration successfully executed" id="create permission table" duration=1.343706ms 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-22T11:35:26.316762634Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.318905001Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.148137ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.328768374Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.332028565Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=3.26257ms policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2023-12-22T11:35:26.383380765Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.384950435Z level=info msg="Migration successfully executed" id="create role table" duration=1.565439ms 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-22T11:35:26.390787347Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.402460653Z level=info msg="Migration successfully executed" id="add column display_name" duration=11.674556ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.406776867Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.413392769Z level=info msg="Migration successfully executed" id="add column group_name" duration=6.616582ms policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2023-12-22T11:35:26.416818432Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.417946736Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.127804ms grafana | logger=migrator t=2023-12-22T11:35:26.422015377Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-12-22T11:35:26.423210542Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.195035ms 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-22T11:35:26.426646405Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.428109713Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.461908ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.43185133Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.433293888Z level=info msg="Migration successfully executed" id="create team role table" duration=1.455559ms policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.438586434Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.439694798Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.108233ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2023-12-22T11:35:26.443003739Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.444202594Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.198715ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.449382318Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.450666304Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.283946ms policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-12-22T11:35:26.457007173Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.458529472Z level=info msg="Migration successfully executed" id="create user role table" duration=1.523739ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-12-22T11:35:26.46793075Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.469003083Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.072153ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.473789783Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.475508214Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.717581ms policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-12-22T11:35:26.479578265Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.480630308Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.051003ms policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-12-22T11:35:26.486227758Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.487547054Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.318726ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.495388002Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.497059373Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.670701ms policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.50080725Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.502021085Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.214765ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2023-12-22T11:35:26.505432867Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.513421027Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.98906ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.517944123Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.519014687Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.069454ms policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.523573894Z 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-22T11:35:26.524667727Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.093593ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2023-12-22T11:35:26.528238352Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.529417216Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.177564ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.534795874Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.536412394Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.61527ms policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.541811471Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.54328702Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.475259ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2023-12-22T11:35:26.546901195Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.548264172Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.363717ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.552341632Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.563490292Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.148769ms policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.566652951Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.574279296Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.625055ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.577624488Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.586715601Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=9.089333ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.589967442Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.595709283Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.741791ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2023-12-22T11:35:26.599784104Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.601116811Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.330437ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.604319661Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.605311283Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=990.992µs policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.60984589Z 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-22T11:35:26.611689983Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.843443ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2023-12-22T11:35:26.615056675Z 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-22T11:35:26.615124135Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=65.89µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.618223194Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.618260575Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=38.021µs policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-12-22T11:35:26.621645977Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.622430907Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=784.86µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2023-12-22T11:35:26.626858902Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.627828434Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=971.272µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.631389719Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.63227122Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=876.7µs policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2023-12-22T11:35:26.635587031Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.635865404Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=278.013µs policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2023-12-22T11:35:26.638559288Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.639115225Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=556.927µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.645044699Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.646402966Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.357377ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-12-22T11:35:26.650164793Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.651338177Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.174154ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2023-12-22T11:35:26.65473968Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.663003843Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.268603ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.667264706Z 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-22T11:35:26.667331637Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=67.801µs policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.6707861Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.671803602Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.018072ms 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-22T11:35:26.675284156Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.677479554Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.193667ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.683814272Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.68521002Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.393518ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-12-22T11:35:26.688282538Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.696710413Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.427415ms grafana | logger=migrator t=2023-12-22T11:35:26.700043125Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 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-22T11:35:26.701186509Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.143444ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.705435102Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.706697608Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.261176ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.710234532Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-12-22T11:35:26.744818623Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=34.585501ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.748198485Z level=info msg="Executing migration" id="create correlation v2" 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-22T11:35:26.748983905Z level=info msg="Migration successfully executed" id="create correlation v2" duration=784.85µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.753100267Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.754428713Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.328446ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.758284491Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.760664291Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.37949ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.765433621Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 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-22T11:35:26.766706436Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.277335ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.770392732Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.770803167Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=410.095µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.774878848Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.77582461Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=945.322µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.780877923Z level=info msg="Executing migration" id="add provisioning column" 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-22T11:35:26.789739853Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.86129ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.873025322Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.874782254Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.762742ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.886569101Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.887998239Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.426548ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.893037322Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 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-22T11:35:26.89363673Z 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-22T11:35:26.897384416Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.898249187Z 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-22T11:35:26.901808692Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.902733403Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=924.141µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.906591741Z level=info msg="Executing migration" id="recreate dashboard public config 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-22T11:35:26.908214751Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.6221ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.913463447Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.915906347Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=2.44673ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.919686024Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.920885329Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.199245ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.924559525Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 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-22T11:35:26.926437829Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.878694ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.931119117Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.93297151Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.852143ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.936576505Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-12-22T11:35:26.937462806Z level=info msg="Migration successfully executed" id="Drop public config table" duration=885.551µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.941951732Z level=info msg="Executing migration" id="Recreate dashboard public config 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-22T11:35:26.943055656Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.103264ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.949121662Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.951494111Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=2.37922ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.955353909Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-12-22T11:35:26.956548804Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.195405ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.960682266Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - 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-22T11:35:26.961772749Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.090403ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:26.965186042Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:26.99706072Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=31.870527ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.000722355Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-12-22T11:35:27.00779579Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.068465ms grafana | logger=migrator t=2023-12-22T11:35:27.012119036Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.020854622Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.735016ms 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-22T11:35:27.024500395Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.024666327Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=165.752µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.027910614Z level=info msg="Executing migration" id="add share column" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.034252655Z level=info msg="Migration successfully executed" id="add share column" duration=6.337861ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2023-12-22T11:35:27.039885467Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.040217871Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=333.354µs policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.04566939Z level=info msg="Executing migration" id="create file table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.047098001Z level=info msg="Migration successfully executed" id="create file table" duration=1.427981ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.0518904Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2023-12-22T11:35:27.053749497Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.859007ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.058400644Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-12-22T11:35:27.059465699Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.064315ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.06300686Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.063723691Z level=info msg="Migration successfully executed" id="create file_meta table" duration=719.571µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.067356153Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2023-12-22T11:35:27.068579071Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.222228ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.074430175Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-12-22T11:35:27.074542487Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=113.502µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.078370292Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.078519394Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=149.092µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.082570092Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2023-12-22T11:35:27.083643368Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.071626ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.088050931Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 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-22T11:35:27.088411467Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=359.106µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.093034323Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.094449364Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.415411ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.098174237Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2023-12-22T11:35:27.111123864Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=12.951017ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.114553474Z level=info msg="Executing migration" id="Update uid column values in playlist" 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-22T11:35:27.114670145Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=116.321µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.117974093Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.119209591Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.235258ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.123551003Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2023-12-22T11:35:27.124075471Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=523.138µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.1274658Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.127797995Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=329.905µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.130563425Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2023-12-22T11:35:27.131133523Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=569.358µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.134899627Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2023-12-22T11:35:27.147381197Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.48527ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.151370925Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.157777077Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.404222ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.161072675Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-12-22T11:35:27.162235881Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.162976ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.165986416Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2023-12-22T11:35:27.274334293Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=108.345087ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.322672533Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.324911095Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=2.236912ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.328783652Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-12-22T11:35:27.330879172Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=2.09504ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.33489285Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2023-12-22T11:35:27.372739387Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=37.847927ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2023-12-22T11:35:27.377435265Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2023-12-22T11:35:27.377597387Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=163.292µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2023-12-22T11:35:27.380954456Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.381097148Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=141.712µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.385572213Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.385916678Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=345.785µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2023-12-22T11:35:27.389970406Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.391389287Z level=info msg="Migration successfully executed" id="create folder table" duration=1.418441ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.395162892Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.397180651Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.017099ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2023-12-22T11:35:27.665844741Z 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-22T11:35:27.667862751Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.01582ms 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-22T11:35:27.674166642Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.674209092Z level=info msg="Migration successfully executed" id="Update folder title length" duration=44.081µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.681124852Z 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-22T11:35:27.682325079Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.197957ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2023-12-22T11:35:27.687448233Z 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-22T11:35:27.688554329Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.106096ms policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2023-12-22T11:35:27.694607666Z 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-22T11:35:27.696560155Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.936129ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.700596833Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.701465916Z level=info msg="Migration successfully executed" id="create anon_device table" duration=868.933µs policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2023-12-22T11:35:27.706240465Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.707437202Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.194917ms 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-22T11:35:27.710989954Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.71211663Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.125976ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.715727712Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.716524484Z level=info msg="Migration successfully executed" id="create signing_key table" duration=796.592µs policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2023-12-22T11:35:27.751643622Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.753454859Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.808776ms 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-22T11:35:27.757565608Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.759973983Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=2.413365ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.764141683Z 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-22T11:35:27.764531909Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=392.516µs policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-12-22T11:35:27.768940113Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.778619003Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.67918ms 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-22T11:35:27.782067553Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.78258172Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=514.497µs policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.785708056Z 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-22T11:35:27.786559068Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=850.212µs policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-12-22T11:35:27.791017312Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.792564855Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.544483ms 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-22T11:35:27.798259627Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-22T11:35:27.799439584Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.180077ms policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.802945715Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | grafana | logger=migrator t=2023-12-22T11:35:27.803385591Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=440.336µs policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2023-12-22T11:35:27.807775185Z level=info msg="migrations completed" performed=523 skipped=0 duration=4.482076826s policy-db-migrator | -------------- grafana | logger=sqlstore t=2023-12-22T11:35:27.816549622Z level=info msg="Created default admin" user=admin policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=sqlstore t=2023-12-22T11:35:27.816741675Z level=info msg="Created default organization" policy-db-migrator | -------------- grafana | logger=secrets t=2023-12-22T11:35:27.820637881Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | grafana | logger=plugin.store t=2023-12-22T11:35:27.838867155Z level=info msg="Loading plugins..." policy-db-migrator | grafana | logger=local.finder t=2023-12-22T11:35:27.873501186Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=plugin.store t=2023-12-22T11:35:27.873554527Z level=info msg="Plugins loaded" count=55 duration=34.688262ms policy-db-migrator | -------------- grafana | logger=query_data t=2023-12-22T11:35:27.876968407Z level=info msg="Query Service initialization" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=live.push_http t=2023-12-22T11:35:27.887894115Z level=info msg="Live Push Gateway initialization" policy-db-migrator | -------------- grafana | logger=ngalert.migration t=2023-12-22T11:35:27.894361919Z level=info msg=Starting policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2023-12-22T11:35:27.895279852Z level=info msg="Migrating alerts for organisation" policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2023-12-22T11:35:27.895778539Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=ngalert.migration orgID=1 t=2023-12-22T11:35:27.896251336Z level=warn msg="No available receivers" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2023-12-22T11:35:27.899053676Z level=info msg="Completed legacy migration" policy-db-migrator | -------------- grafana | logger=infra.usagestats.collector t=2023-12-22T11:35:27.929218433Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | grafana | logger=provisioning.datasources t=2023-12-22T11:35:27.9310461Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | grafana | logger=provisioning.alerting t=2023-12-22T11:35:27.943912796Z level=info msg="starting to provision alerting" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=provisioning.alerting t=2023-12-22T11:35:27.943931116Z level=info msg="finished to provision alerting" policy-db-migrator | -------------- grafana | logger=ngalert.state.manager t=2023-12-22T11:35:27.944099688Z level=info msg="Warming state cache for startup" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=ngalert.state.manager t=2023-12-22T11:35:27.944317572Z level=info msg="State cache has been initialized" states=0 duration=217.084µs policy-db-migrator | -------------- grafana | logger=ngalert.scheduler t=2023-12-22T11:35:27.944365112Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | grafana | logger=ngalert.multiorg.alertmanager t=2023-12-22T11:35:27.944445503Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | -------------- grafana | logger=ticker t=2023-12-22T11:35:27.944482964Z level=info msg=starting first_tick=2023-12-22T11:35:30Z policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=http.server t=2023-12-22T11:35:27.948226688Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | -------------- grafana | logger=grafanaStorageLogger t=2023-12-22T11:35:27.949803481Z level=info msg="Storage starting" policy-db-migrator | grafana | logger=sqlstore.transactions t=2023-12-22T11:35:28.241257461Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2023-12-22T11:35:33.733774684Z level=info msg="Update check succeeded" duration=5.789240139s grafana | logger=plugins.update.checker t=2023-12-22T11:35:33.770758388Z level=info msg="Update check succeeded" duration=5.825453962s policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:37 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:38 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:39 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2212231135360800u 1 2023-12-22 11:35:40 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:40 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:40 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:40 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:40 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:40 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:40 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:41 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:41 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:41 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:41 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:41 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:41 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2212231135360900u 1 2023-12-22 11:35:41 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2212231135361000u 1 2023-12-22 11:35:41 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2212231135361000u 1 2023-12-22 11:35:41 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2212231135361000u 1 2023-12-22 11:35:41 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2212231135361000u 1 2023-12-22 11:35:41 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2212231135361000u 1 2023-12-22 11:35:41 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2212231135361000u 1 2023-12-22 11:35:41 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2212231135361000u 1 2023-12-22 11:35:41 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2212231135361000u 1 2023-12-22 11:35:41 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2212231135361000u 1 2023-12-22 11:35:41 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2212231135361100u 1 2023-12-22 11:35:41 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2212231135361200u 1 2023-12-22 11:35:41 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2212231135361200u 1 2023-12-22 11:35:41 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2212231135361200u 1 2023-12-22 11:35:41 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2212231135361200u 1 2023-12-22 11:35:41 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ 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.Ulr6pTQLca ]] + rsync -av /tmp/tmp.Ulr6pTQLca/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,347,176 bytes received 95 bytes 2,694,542.00 bytes/sec total size is 1,346,526 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/jenkins618847775728765020.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins18310698785510608451.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/jenkins8546796645300553068.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-vfKp from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-vfKp/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10120943082828612506.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config2169382339756308203tmp 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/jenkins15991631955193952203.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16120940646070840125.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-vfKp from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-vfKp/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13907223329955639474.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2957540812616863224.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-vfKp 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-vfKp/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/jenkins16133024082161738961.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-vfKp 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-vfKp/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/217 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-6889 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 836 27410 0 3920 30874 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:f0:1f:0d brd ff:ff:ff:ff:ff:ff inet 10.30.106.161/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86048sec preferred_lft 86048sec inet6 fe80::f816:3eff:fef0:1f0d/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:3f:9c:d6:d3 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-6889) 12/22/23 _x86_64_ (8 CPU) 11:32:21 LINUX RESTART (8 CPU) 11:33:02 tps rtps wtps bread/s bwrtn/s 11:34:01 100.32 18.83 81.49 1082.80 25665.21 11:35:01 128.11 23.06 105.05 2766.94 32014.80 11:36:01 370.80 13.23 357.57 815.66 76347.61 11:37:01 15.25 0.00 15.25 0.00 17966.79 11:38:01 54.72 2.02 52.71 128.11 20932.01 Average: 133.95 11.40 122.55 958.35 34615.02 11:33:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30071956 31682556 2867264 8.70 70460 1849560 1427180 4.20 888596 1683764 170520 11:35:01 28941988 31684992 3997232 12.14 101824 2912508 1348444 3.97 969896 2651968 859720 11:36:01 26810936 30417436 6128284 18.60 126080 3676808 4704720 13.84 2324868 3351740 76 11:37:01 26538072 30142808 6401148 19.43 126204 3677488 4997152 14.70 2599120 3348588 52 11:38:01 28111444 31657192 4827776 14.66 129896 3651332 1444328 4.25 1122996 3278784 56276 Average: 28094879 31116997 4844341 14.71 110893 3153539 2784365 8.19 1581095 2862969 217329 11:33:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 ens3 60.65 42.92 997.30 7.50 0.00 0.00 0.00 0.00 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 lo 1.42 1.42 0.15 0.15 0.00 0.00 0.00 0.00 11:35:01 ens3 171.79 118.66 4592.40 13.17 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 7.13 7.13 0.66 0.66 0.00 0.00 0.00 0.00 11:35:01 br-011a71900f40 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 vethddd3082 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 11:36:01 ens3 144.23 86.04 4690.17 7.40 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 lo 4.15 4.15 0.39 0.39 0.00 0.00 0.00 0.00 11:37:01 vethddd3082 0.18 0.18 0.02 0.47 0.00 0.00 0.00 0.00 11:37:01 ens3 2.77 2.78 0.49 0.70 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 lo 9.93 9.93 8.21 8.21 0.00 0.00 0.00 0.00 11:38:01 ens3 63.32 55.77 123.79 25.87 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 7.68 7.68 0.68 0.68 0.00 0.00 0.00 0.00 Average: ens3 88.65 61.30 2084.54 10.94 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.08 6.08 2.03 2.03 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-6889) 12/22/23 _x86_64_ (8 CPU) 11:32:21 LINUX RESTART (8 CPU) 11:33:02 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 9.89 0.00 0.76 2.71 0.03 86.61 11:34:01 0 0.39 0.00 0.19 0.02 0.00 99.41 11:34:01 1 29.77 0.00 1.48 2.43 0.05 66.28 11:34:01 2 32.39 0.00 2.17 4.14 0.07 61.22 11:34:01 3 9.76 0.00 0.71 0.07 0.03 89.43 11:34:01 4 1.66 0.00 0.25 0.05 0.02 98.02 11:34:01 5 1.95 0.00 0.27 0.10 0.03 97.64 11:34:01 6 2.82 0.00 0.92 9.38 0.02 86.87 11:34:01 7 0.46 0.00 0.07 5.55 0.00 93.93 11:35:01 all 10.62 0.00 1.80 2.84 0.05 84.68 11:35:01 0 3.06 0.00 1.92 0.03 0.03 94.95 11:35:01 1 2.87 0.00 1.21 0.13 0.03 95.76 11:35:01 2 17.49 0.00 2.20 4.52 0.05 75.74 11:35:01 3 10.66 0.00 1.48 0.48 0.07 87.31 11:35:01 4 11.87 0.00 2.01 0.62 0.05 85.45 11:35:01 5 21.35 0.00 2.25 3.73 0.05 72.62 11:35:01 6 4.73 0.00 1.17 10.76 0.05 83.29 11:35:01 7 13.03 0.00 2.12 2.48 0.07 82.30 11:36:01 all 18.31 0.00 3.69 6.73 0.10 71.17 11:36:01 0 16.72 0.00 4.13 17.37 0.09 61.68 11:36:01 1 16.87 0.00 3.89 2.39 0.10 76.74 11:36:01 2 19.35 0.00 3.36 3.31 0.06 73.93 11:36:01 3 17.26 0.00 4.58 0.51 0.10 77.55 11:36:01 4 18.20 0.00 2.96 0.32 0.12 78.40 11:36:01 5 14.61 0.00 3.55 20.29 0.10 61.45 11:36:01 6 26.03 0.00 3.88 5.84 0.13 64.11 11:36:01 7 18.01 0.00 3.17 4.11 0.09 74.62 11:37:01 all 3.24 0.00 0.29 1.51 0.07 94.89 11:37:01 0 2.16 0.00 0.27 0.48 0.23 96.86 11:37:01 1 5.25 0.00 0.43 0.00 0.05 94.26 11:37:01 2 3.60 0.00 0.23 0.00 0.07 96.10 11:37:01 3 2.08 0.00 0.22 0.00 0.02 97.68 11:37:01 4 4.83 0.00 0.40 0.00 0.12 94.65 11:37:01 5 4.95 0.00 0.55 11.61 0.03 82.86 11:37:01 6 0.60 0.00 0.05 0.00 0.02 99.33 11:37:01 7 2.47 0.00 0.18 0.00 0.05 97.30 11:38:01 all 7.13 0.00 0.72 1.99 0.04 90.13 11:38:01 0 0.54 0.00 0.47 6.95 0.02 92.03 11:38:01 1 0.94 0.00 0.38 0.58 0.05 98.05 11:38:01 2 2.05 0.00 0.72 0.32 0.03 96.88 11:38:01 3 18.84 0.00 1.10 4.96 0.03 75.06 11:38:01 4 17.42 0.00 1.20 1.05 0.05 80.27 11:38:01 5 14.80 0.00 0.77 1.94 0.05 82.45 11:38:01 6 1.53 0.00 0.53 0.07 0.02 97.85 11:38:01 7 0.90 0.00 0.57 0.05 0.02 98.46 Average: all 9.76 0.00 1.43 3.12 0.06 85.62 Average: 0 4.38 0.00 1.35 4.77 0.08 89.41 Average: 1 11.07 0.00 1.47 1.10 0.06 86.30 Average: 2 14.82 0.00 1.70 2.43 0.05 80.99 Average: 3 11.73 0.00 1.62 1.21 0.05 85.39 Average: 4 10.81 0.00 1.37 0.41 0.07 87.34 Average: 5 11.55 0.00 1.48 7.54 0.05 79.37 Average: 6 6.84 0.00 1.27 5.18 0.04 86.66 Average: 7 6.82 0.00 1.19 2.40 0.04 89.54