Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-5327 (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-z0NtT8Kk26C2/agent.2074 SSH_AGENT_PID=2076 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_7024575493170797344.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_7024575493170797344.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/jenkins7612417269693051036.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-pQ6Y 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-pQ6Y/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-pQ6Y/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.41 botocore==1.34.41 bs4==0.0.2 cachetools==5.3.2 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.5.0 docker==4.2.2 dogpile.cache==1.3.1 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.27.0 httplib2==0.22.0 identify==2.5.34 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.0.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.0 pytz==2024.1 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.2 typing_extensions==4.9.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins14240528917601834455.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/jenkins8512125053878223405.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.RBXI1HRj80 ++ echo ROBOT_VENV=/tmp/tmp.RBXI1HRj80 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.RBXI1HRj80 ++ source /tmp/tmp.RBXI1HRj80/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.RBXI1HRj80 +++ 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.RBXI1HRj80/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.RBXI1HRj80) ' '!=' x ']' +++ PS1='(tmp.RBXI1HRj80) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.RBXI1HRj80/src/onap ++ rm -rf /tmp/tmp.RBXI1HRj80/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.RBXI1HRj80/bin/activate + '[' -z /tmp/tmp.RBXI1HRj80/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.RBXI1HRj80/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.RBXI1HRj80 ++ 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.RBXI1HRj80/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.RBXI1HRj80) ' ++ '[' 'x(tmp.RBXI1HRj80) ' '!=' x ']' ++ PS1='(tmp.RBXI1HRj80) (tmp.RBXI1HRj80) ' ++ 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.nFVMsZky2E + cd /tmp/tmp.nFVMsZky2E + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-london-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 12 seconds prometheus Up 11 seconds mariadb Up 14 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds prometheus Up 16 seconds mariadb Up 19 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds prometheus Up 21 seconds mariadb Up 24 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds prometheus Up 26 seconds mariadb Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:36:43 up 3 min, 0 users, load average: 3.05, 1.19, 0.46 Tasks: 181 total, 1 running, 101 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.6 us, 1.9 sy, 0.0 ni, 82.0 id, 5.4 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds prometheus Up 26 seconds mariadb Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS bd0bb2b33f92 grafana 0.02% 52.09MiB / 31.41GiB 0.16% 18.4kB / 3.25kB 0B / 23.7MB 13 5c2cea5e8327 policy-api 0.13% 911.7MiB / 31.41GiB 2.83% 1.04MB / 755kB 0B / 0B 50 2c61b055f025 prometheus 0.00% 20.1MiB / 31.41GiB 0.06% 16.2kB / 802B 225kB / 0B 13 8e49ccb16bc4 mariadb 0.02% 100.7MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 62.1MB 31 + echo + cd /tmp/tmp.nFVMsZky2E + 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.nFVMsZky2E/output.xml Log: /tmp/tmp.nFVMsZky2E/log.html Report: /tmp/tmp.nFVMsZky2E/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:53 up 5 min, 0 users, load average: 1.08, 1.01, 0.44 Tasks: 179 total, 1 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.9 us, 1.5 sy, 0.0 ni, 85.3 id, 4.2 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS bd0bb2b33f92 grafana 0.04% 57.53MiB / 31.41GiB 0.18% 21.4kB / 4.52kB 0B / 23.8MB 13 5c2cea5e8327 policy-api 0.11% 941.8MiB / 31.41GiB 2.93% 7.32MB / 2.89MB 0B / 0B 52 2c61b055f025 prometheus 0.00% 26.11MiB / 31.41GiB 0.08% 53kB / 7.85kB 225kB / 0B 13 8e49ccb16bc4 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.75MB / 7.35MB 11MB / 62.3MB 18 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, prometheus, mariadb grafana | logger=settings t=2024-02-14T11:36:17.792245137Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-02-14T11:36:17Z grafana | logger=settings t=2024-02-14T11:36:17.792595311Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-14T11:36:17.792634152Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-14T11:36:17.792658032Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-14T11:36:17.792698763Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-14T11:36:17.792723733Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-14T11:36:17.792789534Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-14T11:36:17.792824494Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-14T11:36:17.792888965Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-14T11:36:17.792933596Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-14T11:36:17.792984296Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-14T11:36:17.793057227Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-14T11:36:17.793088198Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-14T11:36:17.793144708Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-14T11:36:17.793169969Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-14T11:36:17.793218319Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-14T11:36:17.79326482Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-14T11:36:17.793332731Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-14T11:36:17.793379971Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-14T11:36:17.793735846Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-14T11:36:17.793808956Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-02-14T11:36:17.794458934Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-02-14T11:36:17.795385607Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-02-14T11:36:17.796254378Z level=info msg="Migration successfully executed" id="create migration_log table" duration=868.701µs grafana | logger=migrator t=2024-02-14T11:36:17.81367953Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-02-14T11:36:17.814971057Z level=info msg="Migration successfully executed" id="create user table" duration=1.291017ms grafana | logger=migrator t=2024-02-14T11:36:17.898022105Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-02-14T11:36:17.899275402Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.252617ms grafana | logger=migrator t=2024-02-14T11:36:17.904451448Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-02-14T11:36:17.905870406Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.418438ms grafana | logger=migrator t=2024-02-14T11:36:17.910366163Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-02-14T11:36:17.911861332Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.495719ms grafana | logger=migrator t=2024-02-14T11:36:17.917864858Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-02-14T11:36:17.918611079Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=745.941µs grafana | logger=migrator t=2024-02-14T11:36:17.921902951Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-02-14T11:36:17.926427778Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.523828ms grafana | logger=migrator t=2024-02-14T11:36:17.930305288Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-02-14T11:36:17.931113328Z level=info msg="Migration successfully executed" id="create user table v2" duration=807.76µs grafana | logger=migrator t=2024-02-14T11:36:17.93441622Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-02-14T11:36:17.93520405Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=787.22µs grafana | logger=migrator t=2024-02-14T11:36:17.940555988Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-02-14T11:36:17.941738053Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.181655ms grafana | logger=migrator t=2024-02-14T11:36:17.956429741Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-02-14T11:36:17.957132639Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=698.598µs grafana | logger=migrator t=2024-02-14T11:36:17.963339529Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-02-14T11:36:17.964259291Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=919.982µs grafana | logger=migrator t=2024-02-14T11:36:17.985861736Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-02-14T11:36:17.987901062Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.039136ms grafana | logger=migrator t=2024-02-14T11:36:17.99945456Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-02-14T11:36:17.999569861Z level=info msg="Migration successfully executed" id="Update user table charset" duration=92.991µs grafana | logger=migrator t=2024-02-14T11:36:18.003285389Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-02-14T11:36:18.00414326Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=857.451µs grafana | logger=migrator t=2024-02-14T11:36:18.007095719Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-02-14T11:36:18.007323992Z level=info msg="Migration successfully executed" id="Add missing user data" duration=224.402µs grafana | logger=migrator t=2024-02-14T11:36:18.012785153Z level=info msg="Executing migration" id="Add is_disabled column to user" mariadb | 2024-02-14 11:36:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-14 11:36:13+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-02-14 11:36:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-14 11:36:13+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-02-14 11:36:13 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-14 11:36:13 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-14 11:36:13 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-02-14 11:36:15+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-02-14 11:36:15+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-02-14 11:36:15+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-02-14 11:36:15 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-14 11:36:15 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-14 11:36:15 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-14 11:36:15 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-14 11:36:15 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-02-14 11:36:15 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-14 11:36:15 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-14 11:36:15 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-14 11:36:15 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-14 11:36:15 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-02-14 11:36:16+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-02-14 11:36:18+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-02-14 11:36:18+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-02-14 11:36:18+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-02-14 11:36:18+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 | grafana | logger=migrator t=2024-02-14T11:36:18.013595984Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=810.551µs grafana | logger=migrator t=2024-02-14T11:36:18.015450867Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-02-14T11:36:18.016052505Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=601.288µs grafana | logger=migrator t=2024-02-14T11:36:18.019524981Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-02-14T11:36:18.020588864Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.063403ms grafana | logger=migrator t=2024-02-14T11:36:18.025788642Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-02-14T11:36:18.033043616Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.254713ms grafana | logger=migrator t=2024-02-14T11:36:18.041658818Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-02-14T11:36:18.042797493Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.136315ms grafana | logger=migrator t=2024-02-14T11:36:18.046645072Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-02-14T11:36:18.047903379Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.258587ms grafana | logger=migrator t=2024-02-14T11:36:18.054083129Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-02-14T11:36:18.054878039Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=794.64µs grafana | logger=migrator t=2024-02-14T11:36:18.060033077Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-14T11:36:18.060826577Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=795.971µs grafana | logger=migrator t=2024-02-14T11:36:18.065087832Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-14T11:36:18.066295298Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.206886ms grafana | logger=migrator t=2024-02-14T11:36:18.07024588Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-14T11:36:18.070378101Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=131.801µs grafana | logger=migrator t=2024-02-14T11:36:18.075875433Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-02-14T11:36:18.076607532Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=731.809µs grafana | logger=migrator t=2024-02-14T11:36:18.08035391Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-14T11:36:18.08182735Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.47282ms grafana | logger=migrator t=2024-02-14T11:36:18.085943013Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-14T11:36:18.087067588Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.124695ms grafana | logger=migrator t=2024-02-14T11:36:18.094562235Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-14T11:36:18.095277395Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=711.33µs grafana | logger=migrator t=2024-02-14T11:36:18.099245716Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-14T11:36:18.102917253Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.671317ms grafana | logger=migrator t=2024-02-14T11:36:18.109032234Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-02-14T11:36:18.109853734Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=819.92µs grafana | logger=migrator t=2024-02-14T11:36:18.1165316Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-14T11:36:18.117597935Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.068415ms grafana | logger=migrator t=2024-02-14T11:36:18.123277999Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-14T11:36:18.123979408Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=700.139µs grafana | logger=migrator t=2024-02-14T11:36:18.127305661Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-14T11:36:18.128306704Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.000343ms grafana | logger=migrator t=2024-02-14T11:36:18.132302736Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-14T11:36:18.133304968Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.001882ms grafana | logger=migrator t=2024-02-14T11:36:18.138470366Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-14T11:36:18.139223305Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=751.929µs grafana | logger=migrator t=2024-02-14T11:36:18.142688741Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-14T11:36:18.14343048Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=740.949µs grafana | logger=migrator t=2024-02-14T11:36:18.146804884Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-14T11:36:18.14726437Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=458.736µs grafana | logger=migrator t=2024-02-14T11:36:18.152217034Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-14T11:36:18.152921633Z level=info msg="Migration successfully executed" id="create star table" duration=704.169µs grafana | logger=migrator t=2024-02-14T11:36:18.157377092Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-14T11:36:18.159043233Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.664731ms grafana | logger=migrator t=2024-02-14T11:36:18.163646143Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-14T11:36:18.164662636Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.017253ms grafana | logger=migrator t=2024-02-14T11:36:18.169542609Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-02-14T11:36:18.170384471Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=839.812µs grafana | logger=migrator t=2024-02-14T11:36:18.175430706Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-14T11:36:18.176159656Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=728.06µs grafana | logger=migrator t=2024-02-14T11:36:18.181972471Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-14T11:36:18.183262138Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.289237ms grafana | logger=migrator t=2024-02-14T11:36:18.191438494Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-14T11:36:18.193207237Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.764953ms grafana | logger=migrator t=2024-02-14T11:36:18.20034674Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-14T11:36:18.201340983Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=994.123µs grafana | logger=migrator t=2024-02-14T11:36:18.207160739Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-14T11:36:18.207200049Z level=info msg="Migration successfully executed" id="Update org table charset" duration=40.49µs grafana | logger=migrator t=2024-02-14T11:36:18.214873858Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-14T11:36:18.214912789Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=40.241µs grafana | logger=migrator t=2024-02-14T11:36:18.223202856Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-14T11:36:18.223737804Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=531.068µs grafana | logger=migrator t=2024-02-14T11:36:18.229532649Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-14T11:36:18.230539062Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.005853ms grafana | logger=migrator t=2024-02-14T11:36:18.236297907Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-14T11:36:18.237181778Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=883.221µs grafana | logger=migrator t=2024-02-14T11:36:18.243276748Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-02-14T11:36:18.244183459Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=903.601µs grafana | logger=migrator t=2024-02-14T11:36:18.254026737Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-02-14T11:36:18.255562907Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.53526ms grafana | logger=migrator t=2024-02-14T11:36:18.263034705Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-02-14T11:36:18.264386962Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.351267ms grafana | logger=migrator t=2024-02-14T11:36:18.271836649Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-02-14T11:36:18.272993474Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.155484ms grafana | logger=migrator t=2024-02-14T11:36:18.279009782Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-02-14T11:36:18.286384188Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.376117ms grafana | logger=migrator t=2024-02-14T11:36:18.291494974Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-02-14T11:36:18.292227584Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=732.03µs grafana | logger=migrator t=2024-02-14T11:36:18.297558723Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-02-14T11:36:18.299021431Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.462368ms grafana | logger=migrator t=2024-02-14T11:36:18.305564377Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-02-14T11:36:18.306417308Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=853.281µs grafana | logger=migrator t=2024-02-14T11:36:18.310974217Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-02-14T11:36:18.311383673Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=406.516µs grafana | logger=migrator t=2024-02-14T11:36:18.316711082Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-02-14T11:36:18.318053349Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.342037ms grafana | logger=migrator t=2024-02-14T11:36:18.323593661Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-02-14T11:36:18.323797683Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=204.772µs grafana | logger=migrator t=2024-02-14T11:36:18.330485271Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-02-14T11:36:18.332354425Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.868204ms grafana | logger=migrator t=2024-02-14T11:36:18.340303358Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-02-14T11:36:18.343185905Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.880197ms grafana | logger=migrator t=2024-02-14T11:36:18.350007165Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-02-14T11:36:18.352822121Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.814486ms grafana | logger=migrator t=2024-02-14T11:36:18.359974594Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-02-14T11:36:18.360823395Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=850.091µs grafana | logger=migrator t=2024-02-14T11:36:18.369105712Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-02-14T11:36:18.373669492Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=4.56471ms grafana | logger=migrator t=2024-02-14T11:36:18.377640484Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-02-14T11:36:27.723+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-02-14T11:36:27.727+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-02-14T11:36:29.022+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-02-14T11:36:29.108+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. policy-api | [2024-02-14T11:36:30.104+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-02-14T11:36:30.119+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-14T11:36:30.119+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-02-14T11:36:30.120+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-02-14T11:36:30.193+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-02-14T11:36:30.193+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2390 ms policy-api | [2024-02-14T11:36:30.696+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-02-14T11:36:30.760+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-02-14T11:36:30.950+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-02-14T11:36:31.081+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-02-14T11:36:31.184+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-02-14T11:36:31.206+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-02-14T11:36:32.593+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-02-14T11:36:32.607+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-02-14T11:36:33.817+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-02-14T11:36:35.263+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-02-14T11:36:36.223+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@72bf63a, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2162b22d, org.springframework.security.web.context.SecurityContextPersistenceFilter@5434de8, org.springframework.security.web.header.HeaderWriterFilter@2411cf8b, org.springframework.security.web.authentication.logout.LogoutFilter@a6e0e5f, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4644b1c6, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2a2d0cff, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5f58ac11, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6a4ec62d, org.springframework.security.web.session.SessionManagementFilter@22816de1, org.springframework.security.web.access.ExceptionTranslationFilter@4fddd42b, org.springframework.security.web.access.intercept.AuthorizationFilter@3d1ecf3b] policy-api | [2024-02-14T11:36:36.348+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-02-14T11:36:39.285+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-02-14T11:36:39.313+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-14T11:36:39.341+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-02-14T11:36:39.357+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.467 seconds (JVM running for 13.057) policy-api | [2024-02-14T11:36:39.946+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-02-14T11:36:39.946+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' policy-api | [2024-02-14T11:36:39.948+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 2 ms policy-api | [2024-02-14T11:36:48.617+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-8] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-02-14T11:36:48.722+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policytypes policy-api | [2024-02-14T11:36:48.979+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policytypes policy-api | [2024-02-14T11:36:50.054+00:00|WARN|CommonRestController|http-nio-6969-exec-3] POST /policies policy-api | [2024-02-14T11:36:51.888+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-02-14T11:36:52.258+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-02-14T11:36:52.495+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-02-14T11:36:52.723+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-02-14T11:36:52.927+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-02-14T11:36:53.137+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-02-14 11:36:18+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-02-14 11:36:18 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-02-14 11:36:18 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-02-14 11:36:18 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-02-14 11:36:18 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-14 11:36:18 0 [Note] InnoDB: Buffer pool(s) dump completed at 240214 11:36:18 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Shutdown completed; log sequence number 340197; transaction id 298 mariadb | 2024-02-14 11:36:19 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-02-14 11:36:19+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-02-14 11:36:19+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-02-14 11:36:19 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-14 11:36:19 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-14 11:36:19 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-14 11:36:19 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: log sequence number 340197; transaction id 299 mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-14 11:36:19 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-14 11:36:19 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-14 11:36:19 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-02-14 11:36:19 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-02-14 11:36:19 0 [Note] Server socket created on IP: '::'. mariadb | 2024-02-14 11:36:19 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-02-14 11:36:19 0 [Note] InnoDB: Buffer pool(s) load completed at 240214 11:36:19 mariadb | 2024-02-14 11:36:20 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-02-14 11:36:20 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) prometheus | ts=2024-02-14T11:36:16.584Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-02-14T11:36:16.584Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" prometheus | ts=2024-02-14T11:36:16.584Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-02-14T11:36:16.585Z caller=main.go:594 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-02-14T11:36:16.585Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-02-14T11:36:16.585Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-02-14T11:36:16.586Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-02-14T11:36:16.587Z caller=main.go:1039 level=info msg="Starting TSDB ..." prometheus | ts=2024-02-14T11:36:16.588Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-02-14T11:36:16.588Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-02-14T11:36:16.596Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-02-14T11:36:16.596Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.59µs prometheus | ts=2024-02-14T11:36:16.596Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-02-14T11:36:16.596Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-02-14T11:36:16.596Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=27.96µs wal_replay_duration=475.148µs wbl_replay_duration=180ns total_replay_duration=588.74µs prometheus | ts=2024-02-14T11:36:16.598Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-02-14T11:36:16.598Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-02-14T11:36:16.598Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-02-14T11:36:16.601Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.48054ms db_storage=1.17µs remote_storage=1.56µs web_handler=870ns query_engine=1.07µs scrape=212.314µs scrape_sd=109.321µs notify=33.691µs notify_sd=10.84µs rules=1.54µs tracing=4.1µs prometheus | ts=2024-02-14T11:36:16.621Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." prometheus | ts=2024-02-14T11:36:16.621Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." grafana | logger=migrator t=2024-02-14T11:36:18.378718547Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.075473ms grafana | logger=migrator t=2024-02-14T11:36:18.386470958Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-02-14T11:36:18.387609793Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.138795ms grafana | logger=migrator t=2024-02-14T11:36:18.39356306Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-02-14T11:36:18.39358587Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=23.27µs grafana | logger=migrator t=2024-02-14T11:36:18.400513901Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-02-14T11:36:18.400538151Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=25.6µs grafana | logger=migrator t=2024-02-14T11:36:18.408017778Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-02-14T11:36:18.412166652Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=4.147774ms grafana | logger=migrator t=2024-02-14T11:36:18.421177089Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-02-14T11:36:18.423507139Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.3291ms grafana | logger=migrator t=2024-02-14T11:36:18.430421659Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-02-14T11:36:18.433125274Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.703615ms grafana | logger=migrator t=2024-02-14T11:36:18.445630157Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-02-14T11:36:18.452651208Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=7.019861ms grafana | logger=migrator t=2024-02-14T11:36:18.459830671Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-02-14T11:36:18.460321328Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=491.407µs grafana | logger=migrator t=2024-02-14T11:36:18.467744644Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-02-14T11:36:18.468628246Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=883.112µs grafana | logger=migrator t=2024-02-14T11:36:18.476964614Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-02-14T11:36:18.478544535Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.579721ms grafana | logger=migrator t=2024-02-14T11:36:18.482655278Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-02-14T11:36:18.482676678Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=22.21µs grafana | logger=migrator t=2024-02-14T11:36:18.489541237Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-02-14T11:36:18.490373558Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=830.801µs grafana | logger=migrator t=2024-02-14T11:36:18.503708762Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-02-14T11:36:18.505193981Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.484109ms grafana | logger=migrator t=2024-02-14T11:36:18.510776723Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-14T11:36:18.517821435Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.044232ms grafana | logger=migrator t=2024-02-14T11:36:18.525850159Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-02-14T11:36:18.526514338Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=663.539µs grafana | logger=migrator t=2024-02-14T11:36:18.533033282Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-02-14T11:36:18.533839013Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=804.721µs grafana | logger=migrator t=2024-02-14T11:36:18.539342364Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-02-14T11:36:18.540235246Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=895.942µs grafana | logger=migrator t=2024-02-14T11:36:18.545279591Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-02-14T11:36:18.545649826Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=369.605µs grafana | logger=migrator t=2024-02-14T11:36:18.554289769Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-02-14T11:36:18.554902017Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=611.268µs grafana | logger=migrator t=2024-02-14T11:36:18.560415208Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-02-14T11:36:18.562409414Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.994046ms grafana | logger=migrator t=2024-02-14T11:36:18.566395756Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-02-14T11:36:18.567819984Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.424008ms grafana | logger=migrator t=2024-02-14T11:36:18.576874042Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-02-14T11:36:18.577149976Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=274.854µs grafana | logger=migrator t=2024-02-14T11:36:18.582426325Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-02-14T11:36:18.582818839Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=391.205µs grafana | logger=migrator t=2024-02-14T11:36:18.5882502Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-02-14T11:36:18.589712759Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.461879ms grafana | logger=migrator t=2024-02-14T11:36:18.598143988Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-02-14T11:36:18.600291116Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.146328ms grafana | logger=migrator t=2024-02-14T11:36:18.608915948Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-02-14T11:36:18.610421388Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.50202ms grafana | logger=migrator t=2024-02-14T11:36:18.61521132Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-02-14T11:36:18.616018761Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=807.191µs grafana | logger=migrator t=2024-02-14T11:36:18.623198834Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-02-14T11:36:18.624666583Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.466329ms grafana | logger=migrator t=2024-02-14T11:36:18.633998044Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-02-14T11:36:18.635157949Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.159725ms grafana | logger=migrator t=2024-02-14T11:36:18.640335436Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-02-14T11:36:18.641564773Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.229157ms grafana | logger=migrator t=2024-02-14T11:36:18.648735665Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-02-14T11:36:18.659952351Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=11.217516ms grafana | logger=migrator t=2024-02-14T11:36:18.665144369Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-02-14T11:36:18.66600222Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=856.071µs grafana | logger=migrator t=2024-02-14T11:36:18.672745738Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-02-14T11:36:18.674159746Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.413818ms grafana | logger=migrator t=2024-02-14T11:36:18.682371372Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-02-14T11:36:18.683862702Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.48931ms grafana | logger=migrator t=2024-02-14T11:36:18.690295436Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-02-14T11:36:18.690932654Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=635.948µs grafana | logger=migrator t=2024-02-14T11:36:18.694844055Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-02-14T11:36:18.697208176Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.363361ms grafana | logger=migrator t=2024-02-14T11:36:18.707231576Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-02-14T11:36:18.710110793Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.876677ms grafana | logger=migrator t=2024-02-14T11:36:18.716387654Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-02-14T11:36:18.716425095Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=38.931µs grafana | logger=migrator t=2024-02-14T11:36:18.721063825Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-02-14T11:36:18.721304588Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=240.413µs grafana | logger=migrator t=2024-02-14T11:36:18.724619071Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-02-14T11:36:18.728601744Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.980533ms grafana | logger=migrator t=2024-02-14T11:36:18.736916972Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-02-14T11:36:18.737154385Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=236.713µs grafana | logger=migrator t=2024-02-14T11:36:18.739602387Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-02-14T11:36:18.73985492Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=251.763µs grafana | logger=migrator t=2024-02-14T11:36:18.747844374Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-02-14T11:36:18.752160689Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.264845ms grafana | logger=migrator t=2024-02-14T11:36:18.758388Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-02-14T11:36:18.758645944Z level=info msg="Migration successfully executed" id="Update uid value" duration=257.254µs grafana | logger=migrator t=2024-02-14T11:36:18.765785996Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-02-14T11:36:18.767475579Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.689383ms grafana | logger=migrator t=2024-02-14T11:36:18.778395171Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-02-14T11:36:18.779707947Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.312136ms grafana | logger=migrator t=2024-02-14T11:36:18.784414019Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-02-14T11:36:18.785600144Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.185045ms grafana | logger=migrator t=2024-02-14T11:36:18.791149106Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-02-14T11:36:18.791936496Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=785.73µs grafana | logger=migrator t=2024-02-14T11:36:18.797273815Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-02-14T11:36:18.798613743Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.341318ms grafana | logger=migrator t=2024-02-14T11:36:18.8030237Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-02-14T11:36:18.804133285Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.110525ms grafana | logger=migrator t=2024-02-14T11:36:18.810831342Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-02-14T11:36:18.811532171Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=700.838µs grafana | logger=migrator t=2024-02-14T11:36:18.815452112Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-02-14T11:36:18.817336866Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.884264ms grafana | logger=migrator t=2024-02-14T11:36:18.822116248Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-02-14T11:36:18.823369895Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.252397ms grafana | logger=migrator t=2024-02-14T11:36:18.829654897Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-02-14T11:36:18.839736337Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.082831ms grafana | logger=migrator t=2024-02-14T11:36:18.844475649Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-02-14T11:36:18.844922904Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=446.995µs grafana | logger=migrator t=2024-02-14T11:36:18.850341415Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-02-14T11:36:18.851082065Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=740.32µs grafana | logger=migrator t=2024-02-14T11:36:18.85917795Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-02-14T11:36:18.860370956Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.192006ms grafana | logger=migrator t=2024-02-14T11:36:18.865947988Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-02-14T11:36:18.867183424Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.231446ms grafana | logger=migrator t=2024-02-14T11:36:18.873316493Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-02-14T11:36:18.873871621Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=554.828µs grafana | logger=migrator t=2024-02-14T11:36:18.877388987Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-02-14T11:36:18.878226837Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=837.51µs grafana | logger=migrator t=2024-02-14T11:36:18.881722322Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-02-14T11:36:18.881744053Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=22.421µs grafana | logger=migrator t=2024-02-14T11:36:18.887994815Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-02-14T11:36:18.891687782Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.692327ms grafana | logger=migrator t=2024-02-14T11:36:18.894932754Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-02-14T11:36:18.898183646Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.251242ms grafana | logger=migrator t=2024-02-14T11:36:18.901233076Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-02-14T11:36:18.901387798Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=154.592µs grafana | logger=migrator t=2024-02-14T11:36:18.907132504Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-02-14T11:36:18.911003213Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.8702ms grafana | logger=migrator t=2024-02-14T11:36:18.914413658Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-02-14T11:36:18.917031952Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.620405ms grafana | logger=migrator t=2024-02-14T11:36:18.920465856Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-02-14T11:36:18.921152706Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=685.55µs grafana | logger=migrator t=2024-02-14T11:36:18.926982051Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-02-14T11:36:18.927480418Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=498.257µs grafana | logger=migrator t=2024-02-14T11:36:18.930689829Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-02-14T11:36:18.931398608Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=708.849µs grafana | logger=migrator t=2024-02-14T11:36:18.93463643Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-02-14T11:36:18.935861407Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.224956ms grafana | logger=migrator t=2024-02-14T11:36:18.942577823Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-02-14T11:36:18.943910211Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.331808ms grafana | logger=migrator t=2024-02-14T11:36:18.947224884Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-02-14T11:36:18.94851461Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.288986ms grafana | logger=migrator t=2024-02-14T11:36:18.951822193Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-02-14T11:36:18.951923115Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=103.492µs grafana | logger=migrator t=2024-02-14T11:36:18.955091567Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-02-14T11:36:18.955124537Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=34.811µs grafana | logger=migrator t=2024-02-14T11:36:18.959631915Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-02-14T11:36:18.963325634Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.691899ms grafana | logger=migrator t=2024-02-14T11:36:18.967638269Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-02-14T11:36:18.970747829Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.1105ms grafana | logger=migrator t=2024-02-14T11:36:18.973949081Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-02-14T11:36:18.974009412Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=60.911µs grafana | logger=migrator t=2024-02-14T11:36:18.978253057Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-02-14T11:36:18.978878825Z level=info msg="Migration successfully executed" id="create quota table v1" duration=625.798µs grafana | logger=migrator t=2024-02-14T11:36:18.981994765Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-02-14T11:36:18.982776546Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=781.231µs grafana | logger=migrator t=2024-02-14T11:36:18.9861678Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-02-14T11:36:18.98618946Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=22.59µs grafana | logger=migrator t=2024-02-14T11:36:18.989301811Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-02-14T11:36:18.989959639Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=657.538µs grafana | logger=migrator t=2024-02-14T11:36:18.994477798Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-02-14T11:36:18.995855066Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.376328ms grafana | logger=migrator t=2024-02-14T11:36:18.99929272Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-02-14T11:36:19.003826459Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.532799ms grafana | logger=migrator t=2024-02-14T11:36:19.00779235Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-02-14T11:36:19.007814571Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.351µs grafana | logger=migrator t=2024-02-14T11:36:19.013271982Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-02-14T11:36:19.014431637Z level=info msg="Migration successfully executed" id="create session table" duration=1.159205ms grafana | logger=migrator t=2024-02-14T11:36:19.018114005Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-02-14T11:36:19.018242877Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=128.961µs grafana | logger=migrator t=2024-02-14T11:36:19.021943315Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-02-14T11:36:19.022019266Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=76.441µs grafana | logger=migrator t=2024-02-14T11:36:19.026657016Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-02-14T11:36:19.027283004Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=625.588µs grafana | logger=migrator t=2024-02-14T11:36:19.031190955Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-02-14T11:36:19.03233438Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.140974ms grafana | logger=migrator t=2024-02-14T11:36:19.036435183Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-02-14T11:36:19.036475834Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=41.971µs grafana | logger=migrator t=2024-02-14T11:36:19.040308023Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-02-14T11:36:19.040331834Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=24.821µs grafana | logger=migrator t=2024-02-14T11:36:19.045121526Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-02-14T11:36:19.048169946Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.04767ms grafana | logger=migrator t=2024-02-14T11:36:19.05161914Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-02-14T11:36:19.054607459Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.988119ms grafana | logger=migrator t=2024-02-14T11:36:19.058355158Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-02-14T11:36:19.05847712Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=121.342µs grafana | logger=migrator t=2024-02-14T11:36:19.062902727Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-02-14T11:36:19.063033948Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=129.361µs grafana | logger=migrator t=2024-02-14T11:36:19.068577621Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-02-14T11:36:19.069958719Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.378778ms grafana | logger=migrator t=2024-02-14T11:36:19.085592312Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-02-14T11:36:19.085633382Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=41.7µs grafana | logger=migrator t=2024-02-14T11:36:19.097547497Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-02-14T11:36:19.102014815Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.467148ms grafana | logger=migrator t=2024-02-14T11:36:19.124566458Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-02-14T11:36:19.124797171Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=231.513µs grafana | logger=migrator t=2024-02-14T11:36:19.142495632Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-02-14T11:36:19.146733846Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.234784ms grafana | logger=migrator t=2024-02-14T11:36:19.162569132Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-02-14T11:36:19.166374551Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.793439ms grafana | logger=migrator t=2024-02-14T11:36:19.177719479Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-02-14T11:36:19.177785569Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=66.42µs grafana | logger=migrator t=2024-02-14T11:36:19.186580424Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-02-14T11:36:19.188008813Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.427919ms grafana | logger=migrator t=2024-02-14T11:36:19.199735405Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-02-14T11:36:19.201236975Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.50199ms grafana | logger=migrator t=2024-02-14T11:36:19.23243579Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.234236343Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.829603ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) grafana | logger=migrator t=2024-02-14T11:36:19.239613603Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.241758091Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=2.142808ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.246732396Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.247729488Z level=info msg="Migration successfully executed" id="add index alert state" duration=997.172µs policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql grafana | logger=migrator t=2024-02-14T11:36:19.254237373Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.255402028Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.162975ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) grafana | logger=migrator t=2024-02-14T11:36:19.259976127Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.260689637Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=713.65µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.265424958Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-02-14T11:36:19.266365521Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=939.703µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.270343602Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2024-02-14T11:36:19.271279265Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=935.003µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.275327797Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-02-14T11:36:19.289323889Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.995792ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.292123105Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.292583461Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=460.326µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.296460991Z 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" policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2024-02-14T11:36:19.297181031Z 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=719.3µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.300646046Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) grafana | logger=migrator t=2024-02-14T11:36:19.30094178Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=296.024µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.304257163Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.30483999Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=582.117µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.309151386Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2024-02-14T11:36:19.309852855Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=701.039µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.313622155Z level=info msg="Executing migration" id="Add column is_default" 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=2024-02-14T11:36:19.317374783Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.752398ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.321179252Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.3255755Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.392998ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.330637066Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2024-02-14T11:36:19.334442265Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.803629ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.388281394Z level=info msg="Executing migration" id="Add column disable_resolve_message" 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=2024-02-14T11:36:19.396178667Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=7.896753ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.400583285Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.401352364Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=770.259µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.407568535Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2024-02-14T11:36:19.407611186Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=44.421µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.413700205Z level=info msg="Executing migration" id="Update alert_notification table charset" 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=2024-02-14T11:36:19.413743985Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=45.351µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.417839079Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.419064104Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.221435ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.423935188Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-02-14T11:36:19.42486756Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=931.322µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.431416205Z level=info msg="Executing migration" id="drop alert_notification_journal" 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=2024-02-14T11:36:19.432649691Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.232436ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.437762538Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.438530527Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=769.049µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.445491248Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-02-14T11:36:19.44642986Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=937.952µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.451074141Z level=info msg="Executing migration" id="Add for to alert table" 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=2024-02-14T11:36:19.454627987Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.554036ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.461673598Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.465332936Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.658998ms policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-02-14T11:36:19.471252223Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-02-14T11:36:19.471455225Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=202.352µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.47644515Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 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=2024-02-14T11:36:19.4779882Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.54281ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.486042025Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.486929756Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=887.701µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.492556089Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-02-14T11:36:19.499087744Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.530255ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.50336394Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 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=2024-02-14T11:36:19.503448741Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=85.902µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.507612705Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.508578647Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=964.662µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.514304612Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-02-14T11:36:19.516228127Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.923595ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.52184641Z level=info msg="Executing migration" id="Drop old annotation table v4" 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=2024-02-14T11:36:19.521949341Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=102.821µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.527905489Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.529410489Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.50089ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.534724018Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-02-14T11:36:19.53571966Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=995.622µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.540399771Z level=info msg="Executing migration" id="add index annotation 1 v3" 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=2024-02-14T11:36:19.541419394Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.018973ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.545342095Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.546375699Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.033264ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.553342339Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-02-14T11:36:19.555542538Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=2.204189ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.564020318Z level=info msg="Executing migration" id="add index annotation 4 v3" 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=2024-02-14T11:36:19.565024391Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=999.993µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.572955274Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.573007005Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=53.5µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.577565534Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-02-14T11:36:19.584757047Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=7.188423ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.588714059Z level=info msg="Executing migration" id="Drop category_id index" 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=2024-02-14T11:36:19.589380937Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=667.268µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.592618589Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.595464216Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=2.845497ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.600010516Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-02-14T11:36:19.600719555Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=708.629µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.604014057Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 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=2024-02-14T11:36:19.6049565Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=942.663µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.60958068Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.610436341Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=856.791µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.615142982Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-02-14T11:36:19.633140326Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=17.996804ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.6365527Z level=info msg="Executing migration" id="Create annotation_tag table v3" 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=2024-02-14T11:36:19.637054907Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=504.387µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.63958108Z 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=2024-02-14T11:36:19.640197918Z 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=615.798µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.644238071Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-02-14T11:36:19.644512074Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=273.893µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.648327273Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-02-14T11:36:19.650242608Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.893515ms 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=2024-02-14T11:36:19.654375212Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.654724626Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=345.334µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.658295603Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.663431979Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.137366ms policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-02-14T11:36:19.667811066Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.671938211Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.126985ms 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=2024-02-14T11:36:19.675022131Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.675893962Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=873.851µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.679292506Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.680134936Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=841.89µs policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-14T11:36:19.684534374Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.684953449Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=400.275µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-02-14T11:36:19.688514925Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.694180919Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.666804ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.697573534Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.698439944Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=865.99µs policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-02-14T11:36:19.702550757Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.702718241Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=167.704µs 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=2024-02-14T11:36:19.706060144Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.706438739Z level=info msg="Migration successfully executed" id="Move region to single row" duration=378.445µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.709681931Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.710867676Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.184164ms policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-02-14T11:36:19.715738829Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.717032126Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.292987ms 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=2024-02-14T11:36:19.720214018Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.721106509Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=892.101µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.72427446Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.725154752Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=879.532µs policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-02-14T11:36:19.729474248Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.730285368Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=810.92µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-02-14T11:36:19.733647892Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.734480103Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=831.311µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.737798076Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.737861327Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=63.501µs policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-02-14T11:36:19.742640239Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.743374228Z level=info msg="Migration successfully executed" id="create test_data table" duration=733.549µs 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=2024-02-14T11:36:19.746699511Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.747906368Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.206477ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.752944832Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.753785594Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=840.552µs policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-02-14T11:36:19.758470474Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.760135466Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.662792ms 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=2024-02-14T11:36:19.763967726Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.764254349Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=286.804µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.767512192Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.76813364Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=619.888µs policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-02-14T11:36:19.771149469Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.771260641Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=111.392µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.776450608Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.777261538Z level=info msg="Migration successfully executed" id="create team table" duration=807.81µs policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-02-14T11:36:19.780665062Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.782287124Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.621962ms 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=2024-02-14T11:36:19.785922621Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.786892044Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=969.463µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.792457497Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.79892681Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.466634ms policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-02-14T11:36:19.802420475Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.802603718Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=182.613µs 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=2024-02-14T11:36:19.805412584Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.806147633Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=733.869µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.811918369Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.814125407Z level=info msg="Migration successfully executed" id="create team member table" duration=2.196438ms policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-02-14T11:36:19.818204261Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.819396906Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.193735ms 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=2024-02-14T11:36:19.822556297Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.82355291Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=995.493µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.828136749Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.829103423Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=966.754µs policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-02-14T11:36:19.832706889Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.83740732Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.700421ms 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=2024-02-14T11:36:19.841427632Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.845890111Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.461879ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.850939925Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.855662917Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.725632ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-02-14T11:36:19.859457856Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.860406729Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=948.523µs 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=2024-02-14T11:36:19.864111047Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.865150191Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.039014ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.869913042Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.871022417Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.108625ms policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-02-14T11:36:19.874665674Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.876281855Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.614251ms 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=2024-02-14T11:36:19.88278221Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.883830143Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.005993ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.888104659Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.88974155Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.636831ms policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-02-14T11:36:19.893478599Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.894429751Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=951.542µs 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=2024-02-14T11:36:19.897786604Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.898778608Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=991.484µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.903202845Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.903745602Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=541.957µs policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-02-14T11:36:19.909556137Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.910027884Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=471.307µs 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=2024-02-14T11:36:19.913791723Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.915030218Z level=info msg="Migration successfully executed" id="create tag table" duration=1.237475ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.91893981Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.919914772Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=974.422µs policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-02-14T11:36:19.923558949Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.9243023Z level=info msg="Migration successfully executed" id="create login attempt table" duration=742.73µ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=2024-02-14T11:36:19.928894289Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.929873162Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=979.054µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.934035305Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.935070659Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.033944ms policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-02-14T11:36:19.93979642Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.960022973Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.230413ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-14T11:36:19.964708274Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.965320582Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=612.608µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.969204163Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.970036203Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=830.52µs policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-02-14T11:36:19.974279778Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.974822066Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=541.128µ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=2024-02-14T11:36:19.980115225Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.980971656Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=854.341µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.989457956Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:19.990709592Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.252386ms policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-02-14T11:36:19.994640683Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:19.995640406Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=999.803µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.000120485Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.000186865Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=66.91µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.003751331Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.008937239Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.185298ms policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-02-14T11:36:20.013404756Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.018484433Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.078297ms grafana | logger=migrator t=2024-02-14T11:36:20.0228721Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-02-14T11:36:20.027984317Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.111087ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-14T11:36:20.031571173Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.037046594Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.476821ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.040942694Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.042194711Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.251077ms policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-02-14T11:36:20.047031163Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.053754351Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.716758ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-14T11:36:20.057309417Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.057937815Z level=info msg="Migration successfully executed" id="create server_lock table" duration=628.078µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.061402711Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.06213548Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=732.719µs policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-02-14T11:36:20.066733779Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.067641962Z level=info msg="Migration successfully executed" id="create user auth token table" duration=907.893µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.071954927Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.07365301Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.694673ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.079387764Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.080557309Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.170155ms policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-02-14T11:36:20.085769557Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.086852441Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.079794ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.090879893Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.096256803Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.37653ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.09986507Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.100915424Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.050204ms policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-02-14T11:36:20.105419692Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.106492937Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.071205ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-14T11:36:20.110362297Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.111961658Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.598971ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.116384035Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.117284087Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=898.672µs policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-02-14T11:36:20.121732994Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.123307395Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.575281ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.127177425Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.127381358Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=203.243µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.131305169Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.131425891Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=120.382µs policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-02-14T11:36:20.135022647Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.135880488Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=856.821µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.14062724Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.1422388Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.61133ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.146104361Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.147391767Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.286606ms policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-02-14T11:36:20.151304629Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.151433741Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=128.391µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-14T11:36:20.156129801Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.157109024Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=978.743µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.160607059Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.161718113Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.110504ms policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-02-14T11:36:20.165789807Z 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=2024-02-14T11:36:20.166700718Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=910.321µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.171955337Z 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=2024-02-14T11:36:20.172912129Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=956.752µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.176568457Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.182050698Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.479681ms policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-02-14T11:36:20.186633727Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.18756447Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=930.233µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.19145781Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.191543721Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=85.421µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.195428461Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.19683801Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.409019ms policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-02-14T11:36:20.202269541Z 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=2024-02-14T11:36:20.203364075Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.094044ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-14T11:36:20.207334557Z 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=2024-02-14T11:36:20.208434871Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.096084ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.212423562Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.212690217Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=266.395µs policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-02-14T11:36:20.218042935Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.21914471Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.101155ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.223157702Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.224637402Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.478049ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.231888405Z 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 | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-02-14T11:36:20.233956732Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=2.067477ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.239375503Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.241065345Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.689702ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.245056277Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.250807591Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.750574ms policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-02-14T11:36:20.254418438Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.255397881Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=978.943µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-14T11:36:20.26065744Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.262443962Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.786952ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.266519186Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.304114854Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=37.596908ms policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-02-14T11:36:20.307281825Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.348919246Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.634621ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.356008949Z 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=2024-02-14T11:36:20.357338835Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.327256ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.363754538Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.364816533Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.062455ms policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-02-14T11:36:20.370088551Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.378765064Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.678153ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.383993592Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.389733667Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.740345ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.392787726Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.393746988Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=958.822µs policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-02-14T11:36:20.403194702Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.404786552Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.59249ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-14T11:36:20.411040173Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.412829457Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.789463ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.416535654Z 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=2024-02-14T11:36:20.417775851Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.239957ms policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-02-14T11:36:20.421242016Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.421357077Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=114.341µs grafana | logger=migrator t=2024-02-14T11:36:20.426541395Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-02-14T11:36:20.432750675Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.20946ms grafana | logger=migrator t=2024-02-14T11:36:20.436488914Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-14T11:36:20.442485682Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.993379ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.446321122Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.452158218Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.836585ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.457613738Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-02-14T11:36:20.458580651Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=969.023µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.46163769Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.462685835Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.047624ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.467906722Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.473947511Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.040159ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.479871618Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-02-14T11:36:20.485855875Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.983067ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.489210769Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-14T11:36:20.490447875Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.236806ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.494047182Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.50006824Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.020528ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.505612992Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-02-14T11:36:20.51162582Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.012378ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.515184267Z level=info msg="Executing migration" id="fix is_paused column for alert_rule 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=2024-02-14T11:36:20.515285688Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=99.011µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.518417989Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.519443752Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.025493ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-02-14T11:36:20.525256277Z 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=2024-02-14T11:36:20.527296354Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=2.037457ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.531712771Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.532905337Z 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.193156ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.536321321Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.536423662Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=101.831µs policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-02-14T11:36:20.541871703Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.55086813Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.997737ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.55466334Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.559550123Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.885822ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.563031919Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-02-14T11:36:20.569144838Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.11222ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.57549251Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-14T11:36:20.58166053Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.16493ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.585008993Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.591105183Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.09558ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.595388878Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-02-14T11:36:20.595469489Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=80.951µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.599030815Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-14T11:36:20.599796266Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=765.141µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.605256097Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.613638226Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.382469ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.616956319Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-02-14T11:36:20.61705622Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=99.121µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.619615813Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.625985796Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.368323ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.633552025Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.634647998Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.098213ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.637987942Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-02-14T11:36:20.647675458Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.687846ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.651915873Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.652881806Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=964.913µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.659823166Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.661032522Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.208886ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.664953812Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-02-14T11:36:20.674154552Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.20144ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.678096793Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-14T11:36:20.678796932Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=699.319µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.688715481Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.689797405Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.080914ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.697511946Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-02-14T11:36:20.698756762Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.243875ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.703356252Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.704970342Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.61358ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.70862887Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.708845233Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=215.713µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.715900694Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.71783775Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.954306ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.722006273Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.723441602Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.435459ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.730994181Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.731635659Z 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 | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-02-14T11:36:20.739318789Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.74016672Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=847.101µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-14T11:36:20.743997269Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.745045213Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.047754ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.748404807Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.755575239Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.169822ms policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-02-14T11:36:20.758967704Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.760105889Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.137895ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-02-14T11:36:20.763909338Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.765465858Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.55443ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.771892732Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.772871585Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=978.413µs policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-02-14T11:36:20.775871434Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.776945508Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.073483ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-14T11:36:20.780481903Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.781803751Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.321018ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.785344567Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.785369587Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=25.78µs policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-02-14T11:36:20.788358096Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.788464287Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=101.161µs grafana | logger=migrator t=2024-02-14T11:36:20.79101985Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-14T11:36:20.791385195Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=365.405µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.795749622Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.797430853Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.683381ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.802198216Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-14T11:36:20.803015736Z level=info msg="Migration successfully executed" id="create secrets table" duration=816.79µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.807683867Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-02-14T11:36:20.852954255Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.260188ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.856706323Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.861773039Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.066586ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.868028081Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-14T11:36:20.868271125Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=242.473µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.872276726Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-14T11:36:20.924037688Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=51.751542ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.92954589Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.983792035Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=54.230975ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:20.989843184Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-14T11:36:20.991001998Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.158774ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:20.994884449Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-14T11:36:20.996337448Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.439109ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.000069687Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.000394851Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=324.144µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.005436087Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.006593071Z level=info msg="Migration successfully executed" id="create permission table" duration=1.154054ms policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.012276345Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.014216311Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.940956ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.022575969Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.023882986Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.306537ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.028425345Z level=info msg="Executing migration" id="create role table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-02-14T11:36:21.029382577Z level=info msg="Migration successfully executed" id="create role table" duration=956.222µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.03499779Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.043326839Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.328368ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.047249939Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.055284004Z level=info msg="Migration successfully executed" id="add column group_name" duration=8.032305ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.060745975Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-02-14T11:36:21.061824699Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.073674ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.066595321Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.067615574Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.019313ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.074604605Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.076240786Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.635701ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.082444857Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-02-14T11:36:21.083359278Z level=info msg="Migration successfully executed" id="create team role table" duration=913.871µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.08804917Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.090209698Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=2.157918ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.09421765Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.09578308Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.56425ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.101815659Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-02-14T11:36:21.102989573Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.174144ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.109006142Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.110192557Z level=info msg="Migration successfully executed" id="create user role table" duration=1.187965ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.120703444Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.122939513Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=2.235368ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.128610587Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-02-14T11:36:21.129842063Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.230176ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.133977486Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.135198832Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.221296ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.140794845Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-14T11:36:21.141753927Z level=info msg="Migration successfully executed" id="create builtin role table" duration=954.902µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.147278139Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-02-14T11:36:21.148465445Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.190126ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.152538188Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.154653385Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=2.113418ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.159928744Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-02-14T11:36:21.168989881Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.059627ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.172960443Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-02-14T11:36:21.173894825Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=934.902µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.178405393Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.180762534Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=2.325001ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.186559579Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-02-14T11:36:21.187929838Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.373729ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.192984304Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-02-14T11:36:21.19427416Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.290096ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.19885128Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.199719501Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=867.851µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.203163895Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.20428466Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.120035ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.207974058Z level=info msg="Executing migration" id="add column hidden to role table" 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=2024-02-14T11:36:21.216331217Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.356499ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.220711523Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.229036881Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.325318ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-14T11:36:21.232297714Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.238067879Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.770035ms 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=2024-02-14T11:36:21.243296096Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.252041411Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.744525ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.256542389Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.257828376Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.283147ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-14T11:36:21.264202239Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.265350313Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.157465ms 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=2024-02-14T11:36:21.269602449Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.270608411Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.005542ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.276739341Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.277024016Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=285.634µs policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.281922878Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.282162071Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=234.603µs 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=2024-02-14T11:36:21.286862803Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.287825295Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=962.172µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.294656944Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.295397154Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=748.19µs policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.300792874Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.301994079Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.200995ms 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=2024-02-14T11:36:21.305705248Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.306129073Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=423.435µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.311431292Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.311826597Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=395.335µs policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.316405547Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.318096569Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.690001ms 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=2024-02-14T11:36:21.326325936Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.327713514Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.387469ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.333887494Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.344199157Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.310843ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.34824336Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.348346362Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=86.452µs 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=2024-02-14T11:36:21.353434338Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.354625833Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.188785ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.358715697Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.360660731Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.944384ms policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.366051931Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.367379109Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.331758ms 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=2024-02-14T11:36:21.37281716Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.383052412Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.235972ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.3882554Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.389377875Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.122545ms policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-14T11:36:21.393249735Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.39441863Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.166695ms 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=2024-02-14T11:36:21.401755546Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.435514814Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=33.756028ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.4405604Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.44136753Z level=info msg="Migration successfully executed" id="create correlation v2" duration=807.48µs policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-14T11:36:21.446635289Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.447852534Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.217245ms 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=2024-02-14T11:36:21.452372583Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.454371129Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.001836ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.458857757Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.460018533Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.160376ms policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-02-14T11:36:21.465015638Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.465383823Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=363.535µs grafana | logger=migrator t=2024-02-14T11:36:21.470072283Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-02-14T11:36:21.470920485Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=848.022µs grafana | logger=migrator t=2024-02-14T11:36:21.474377589Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-02-14T11:36:21.482506055Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.127776ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-14T11:36:21.488078947Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.488951018Z level=info msg="Migration successfully executed" id="create entity_events table" duration=871.741µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.493061472Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.494312298Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.248806ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-02-14T11:36:21.500906954Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.501824956Z 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 | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-02-14T11:36:21.506966523Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.507469459Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.511628313Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.51290789Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.278857ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-02-14T11:36:21.517301217Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.518530463Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.230476ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-14T11:36:21.523534538Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.524742554Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.207987ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.530562779Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.531938288Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.376788ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-14T11:36:21.539366893Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.541321919Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.958116ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-14T11:36:21.54597972Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.547184895Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.205015ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.551338199Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.552221561Z level=info msg="Migration successfully executed" id="Drop public config table" duration=883.082µs policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-02-14T11:36:21.557393968Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.558537853Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.143905ms policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-02-14T11:36:21.562402063Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.564312828Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.911075ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.569394024Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.570914893Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.521899ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-14T11:36:21.576375014Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.577662551Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.286997ms policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-02-14T11:36:21.581144546Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.616237923Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=35.088797ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.62221518Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.62836495Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.15009ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-02-14T11:36:21.632991921Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.64381359Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=10.82198ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.647846713Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.648138687Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=302.844µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-02-14T11:36:21.652454283Z level=info msg="Executing migration" id="add share column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.661355899Z level=info msg="Migration successfully executed" id="add share column" duration=8.900996ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.667036523Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.667354267Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=317.324µs policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-14T11:36:21.673574327Z level=info msg="Executing migration" id="create file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.674636851Z level=info msg="Migration successfully executed" id="create file table" duration=1.061524ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-02-14T11:36:21.678584923Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.680859492Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.272939ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.685526882Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.686698068Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.171106ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-14T11:36:21.690251504Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.69152707Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.275326ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-02-14T11:36:21.695464142Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-02-14T11:36:21.697457488Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.992806ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-02-14T11:36:21.705180848Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-02-14T11:36:21.70532674Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=145.362µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.712138509Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.712386302Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=247.363µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.716289352Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-14T11:36:21.717293226Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.003034ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.721160336Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-02-14T11:36:21.721614081Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=453.425µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.726193371Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.727079462Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=885.841µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.730444766Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-02-14T11:36:21.739443324Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.997858ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.745696935Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-02-14T11:36:21.745881947Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=184.272µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.749594995Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.751664312Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.068577ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.758566131Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-02-14T11:36:21.759046128Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=480.797µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.762544554Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-02-14T11:36:21.762832137Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=287.363µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.768207147Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.769046758Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=839.511µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.77537593Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-02-14T11:36:21.788074855Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.699965ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.791653211Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-02-14T11:36:21.799163639Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.509378ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.802499452Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.803661437Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.161995ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.810468046Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-02-14T11:36:21.918544961Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=108.071365ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.922176268Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-02-14T11:36:21.923196281Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.019663ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.926521774Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.9277314Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.209116ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.933443014Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-14T11:36:21.968993076Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.550402ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.972476891Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-02-14T11:36:21.972706944Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=229.693µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.975275898Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-02-14T11:36:21.975548681Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=272.643µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.979873697Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-02-14T11:36:21.980168041Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=293.534µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.984348305Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.985826955Z level=info msg="Migration successfully executed" id="create folder table" duration=1.47733ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:21.989590594Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-02-14T11:36:21.991511709Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.920496ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:21.996225979Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-02-14T11:36:21.997477026Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.250657ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.001949764Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:22.002096806Z level=info msg="Migration successfully executed" id="Update folder title length" duration=146.472µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:22.005626282Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-02-14T11:36:22.007536256Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.909924ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.013580885Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-02-14T11:36:22.0147044Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.125905ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.019282899Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:22.021213294Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.930155ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:22.025370379Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-02-14T11:36:22.026206939Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=836.05µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.031800982Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-02-14T11:36:22.032167267Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=365.725µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.035927545Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:22.037391865Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.46444ms policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:22.041478927Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-02-14T11:36:22.043619805Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.140478ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.050384224Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-02-14T11:36:22.051602129Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.217515ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.055272316Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:22.056710106Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.4399ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.061264894Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-02-14T11:36:22.062727434Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.46303ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.066839367Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:22.068061523Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.222306ms grafana | logger=migrator t=2024-02-14T11:36:22.071365506Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-02-14T11:36:22.07171533Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=350.454µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.07551797Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-02-14T11:36:22.085020543Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.501173ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.088335646Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:22.089019785Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=686.189µs policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:22.092665613Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-02-14T11:36:22.093589605Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=923.692µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.098309126Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-02-14T11:36:22.099440651Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.134165ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.104384105Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | grafana | logger=migrator t=2024-02-14T11:36:22.105708562Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.326337ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.109923277Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-02-14T11:36:22.110513165Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=591.007µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-14T11:36:22.11406099Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.318704273s policy-db-migrator | grafana | logger=sqlstore t=2024-02-14T11:36:22.123781837Z level=info msg="Created default admin" user=admin policy-db-migrator | grafana | logger=sqlstore t=2024-02-14T11:36:22.124179012Z level=info msg="Created default organization" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=secrets t=2024-02-14T11:36:22.129110557Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | -------------- grafana | logger=plugin.store t=2024-02-14T11:36:22.147594096Z level=info msg="Loading plugins..." policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=local.finder t=2024-02-14T11:36:22.197760148Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | -------------- grafana | logger=plugin.store t=2024-02-14T11:36:22.197816279Z level=info msg="Plugins loaded" count=55 duration=50.222733ms policy-db-migrator | grafana | logger=query_data t=2024-02-14T11:36:22.20022655Z level=info msg="Query Service initialization" policy-db-migrator | -------------- grafana | logger=live.push_http t=2024-02-14T11:36:22.203827197Z level=info msg="Live Push Gateway initialization" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=ngalert.migration t=2024-02-14T11:36:22.208856852Z level=info msg=Starting policy-db-migrator | -------------- grafana | logger=ngalert.migration orgID=1 t=2024-02-14T11:36:22.210560105Z level=info msg="Migrating alerts for organisation" policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2024-02-14T11:36:22.212045393Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-14T11:36:22.215886674Z level=info msg="Completed legacy migration" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=infra.usagestats.collector t=2024-02-14T11:36:22.243142777Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | -------------- grafana | logger=provisioning.datasources t=2024-02-14T11:36:22.245863913Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=provisioning.alerting t=2024-02-14T11:36:22.259782914Z level=info msg="starting to provision alerting" policy-db-migrator | -------------- grafana | logger=provisioning.alerting t=2024-02-14T11:36:22.259801594Z level=info msg="finished to provision alerting" policy-db-migrator | grafana | logger=ngalert.state.manager t=2024-02-14T11:36:22.259900175Z level=info msg="Warming state cache for startup" policy-db-migrator | grafana | logger=grafanaStorageLogger t=2024-02-14T11:36:22.260060817Z level=info msg="Storage starting" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=ngalert.state.manager t=2024-02-14T11:36:22.260183719Z level=info msg="State cache has been initialized" states=0 duration=283.084µs policy-db-migrator | -------------- grafana | logger=ngalert.scheduler t=2024-02-14T11:36:22.260243Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=ticker t=2024-02-14T11:36:22.260289481Z level=info msg=starting first_tick=2024-02-14T11:36:30Z policy-db-migrator | -------------- grafana | logger=ngalert.multiorg.alertmanager t=2024-02-14T11:36:22.260466183Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | grafana | logger=http.server t=2024-02-14T11:36:22.262505989Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | msg grafana | logger=grafana-apiserver t=2024-02-14T11:36:22.265362486Z level=info msg="Authentication is disabled" policy-db-migrator | upgrade to 1100 completed grafana | logger=grafana-apiserver t=2024-02-14T11:36:22.269581662Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | grafana | logger=plugins.update.checker t=2024-02-14T11:36:22.365047752Z level=info msg="Update check succeeded" duration=104.793812ms policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=grafana.update.checker t=2024-02-14T11:36:22.408802711Z level=info msg="Update check succeeded" duration=147.082292ms policy-db-migrator | -------------- grafana | logger=sqlstore.transactions t=2024-02-14T11:36:22.414464494Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=sqlstore.transactions t=2024-02-14T11:36:22.426062495Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | -------------- grafana | logger=sqlstore.transactions t=2024-02-14T11:36:22.436745883Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" policy-db-migrator | grafana | logger=sqlstore.transactions t=2024-02-14T11:36:22.447443882Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=3 code="database is locked" policy-db-migrator | grafana | logger=sqlstore.transactions t=2024-02-14T11:36:22.466689912Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=4 code="database is locked" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=plugin.signature.key_retriever t=2024-02-14T11:36:22.486613131Z level=error msg="Error downloading plugin manifest keys" error="kv set: database is locked" policy-db-migrator | -------------- grafana | logger=infra.usagestats t=2024-02-14T11:37:24.272018621Z level=info msg="Usage stats are ready to report" 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 1402241136200800u 1 2024-02-14 11:36:20 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:20 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:21 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:22 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:23 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:24 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:24 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:24 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:24 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1402241136200800u 1 2024-02-14 11:36:24 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1402241136200900u 1 2024-02-14 11:36:24 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:24 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:24 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:24 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:24 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:24 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:24 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:25 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:25 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1402241136201000u 1 2024-02-14 11:36:25 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1402241136201100u 1 2024-02-14 11:36:25 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1402241136201200u 1 2024-02-14 11:36:25 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1402241136201200u 1 2024-02-14 11:36:25 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1402241136201200u 1 2024-02-14 11:36:25 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1402241136201200u 1 2024-02-14 11:36:25 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing prometheus ... Removing mariadb ... Removing policy-api ... done Removing prometheus ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.nFVMsZky2E ]] + rsync -av /tmp/tmp.nFVMsZky2E/ /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,162 bytes received 95 bytes 2,694,514.00 bytes/sec total size is 1,346,512 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 2076 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13169792374622231448.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16593140206082769504.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/jenkins6723821596126814074.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-pQ6Y from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-pQ6Y/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17840049180895751136.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config11342719265930823422tmp 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/jenkins3284787185876559444.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13305664998471479521.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-pQ6Y from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-pQ6Y/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17464258642672365152.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6597059835803603960.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-pQ6Y from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-pQ6Y/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/jenkins11646953151822991653.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-pQ6Y from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-pQ6Y/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/271 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-5327 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 828 27452 0 3886 30882 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:5f:25:2b brd ff:ff:ff:ff:ff:ff inet 10.30.106.101/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86045sec preferred_lft 86045sec inet6 fe80::f816:3eff:fe5f:252b/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:83:46:2c:b6 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-5327) 02/14/24 _x86_64_ (8 CPU) 11:33:03 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 142.83 26.56 116.26 2065.26 67660.19 11:36:01 164.85 9.82 155.03 1668.13 76682.93 11:37:01 302.15 13.60 288.55 819.33 37858.17 11:38:01 25.16 0.05 25.11 12.26 1546.34 Average: 158.75 12.51 146.24 1141.22 45935.63 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30045812 31748904 2893400 8.78 77600 1929144 1416344 4.17 824952 1761544 123292 11:36:01 28192836 31690068 4746376 14.41 112004 3623424 1435880 4.22 970960 3361336 946816 11:37:01 26949804 30516988 5989408 18.18 126084 3644128 4579628 13.47 2224612 3311944 212 11:38:01 27100180 30689780 5839032 17.73 126464 3671060 3067692 9.03 2076296 3322760 0 Average: 28072158 31161435 4867054 14.78 110538 3216939 2624886 7.72 1524205 2939396 267580 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 lo 1.07 1.07 0.11 0.11 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 63.42 42.46 905.09 7.80 0.00 0.00 0.00 0.00 11:36:01 lo 9.27 9.27 0.85 0.85 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 br-102154a60618 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 ens3 298.77 198.93 9090.68 17.91 0.00 0.00 0.00 0.00 11:37:01 lo 7.18 7.18 8.13 8.13 0.00 0.00 0.00 0.00 11:37:01 veth4c04667 0.13 0.32 0.01 0.27 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 veth180541d 115.08 94.78 46.48 119.08 0.00 0.00 0.00 0.01 11:38:01 lo 11.11 11.11 0.84 0.84 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 veth180541d 1.32 1.42 0.54 0.10 0.00 0.00 0.00 0.00 11:38:01 br-102154a60618 5.48 6.28 6.09 2.76 0.00 0.00 0.00 0.00 Average: lo 7.16 7.16 2.48 2.48 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: veth180541d 29.10 24.05 11.76 29.79 0.00 0.00 0.00 0.00 Average: br-102154a60618 1.37 1.57 1.52 0.69 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-5327) 02/14/24 _x86_64_ (8 CPU) 11:33:03 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 9.59 0.00 0.74 5.02 0.04 84.61 11:35:01 0 9.00 0.00 1.14 30.94 0.07 58.86 11:35:01 1 12.28 0.00 1.10 1.77 0.07 84.77 11:35:01 2 33.49 0.00 1.79 5.58 0.08 59.05 11:35:01 3 13.70 0.00 0.78 0.03 0.03 85.45 11:35:01 4 5.28 0.00 0.43 0.32 0.03 93.93 11:35:01 5 0.63 0.00 0.25 0.83 0.02 98.27 11:35:01 6 0.35 0.00 0.13 0.20 0.02 99.30 11:35:01 7 2.08 0.00 0.32 0.57 0.02 97.02 11:36:01 all 10.51 0.00 2.52 5.96 0.05 80.96 11:36:01 0 6.45 0.00 2.66 4.81 0.05 86.03 11:36:01 1 4.45 0.00 2.00 25.82 0.07 67.66 11:36:01 2 10.01 0.00 2.57 8.65 0.03 78.74 11:36:01 3 8.18 0.00 2.02 1.19 0.05 88.56 11:36:01 4 6.15 0.00 1.40 3.19 0.03 89.22 11:36:01 5 8.36 0.00 2.46 0.12 0.03 89.02 11:36:01 6 25.23 0.00 3.70 3.29 0.07 67.72 11:36:01 7 15.30 0.00 3.34 0.66 0.03 80.67 11:37:01 all 16.64 0.00 2.15 3.83 0.06 77.31 11:37:01 0 15.20 0.00 2.09 1.36 0.05 81.30 11:37:01 1 15.00 0.00 2.08 5.71 0.05 77.16 11:37:01 2 18.35 0.00 2.67 18.14 0.08 60.76 11:37:01 3 15.35 0.00 1.71 0.15 0.05 82.74 11:37:01 4 18.37 0.00 2.42 2.45 0.07 76.69 11:37:01 5 16.85 0.00 2.00 0.75 0.05 80.35 11:37:01 6 15.72 0.00 2.38 1.19 0.05 80.66 11:37:01 7 18.24 0.00 1.89 0.92 0.07 78.88 11:38:01 all 0.68 0.00 0.26 0.27 0.03 98.76 11:38:01 0 0.72 0.00 0.30 0.42 0.03 98.53 11:38:01 1 0.50 0.00 0.22 0.32 0.03 98.93 11:38:01 2 0.85 0.00 0.28 0.02 0.02 98.83 11:38:01 3 0.23 0.00 0.27 0.02 0.05 99.43 11:38:01 4 0.88 0.00 0.25 0.38 0.02 98.47 11:38:01 5 0.43 0.00 0.27 0.45 0.02 98.83 11:38:01 6 0.50 0.00 0.27 0.50 0.00 98.73 11:38:01 7 1.34 0.00 0.23 0.08 0.02 98.33 Average: all 9.34 0.00 1.42 3.77 0.04 85.43 Average: 0 7.84 0.00 1.54 9.38 0.05 81.19 Average: 1 8.06 0.00 1.35 8.37 0.05 82.17 Average: 2 15.67 0.00 1.83 8.08 0.05 74.37 Average: 3 9.36 0.00 1.19 0.35 0.05 89.05 Average: 4 7.66 0.00 1.12 1.58 0.04 89.60 Average: 5 6.55 0.00 1.24 0.54 0.03 91.64 Average: 6 10.40 0.00 1.61 1.29 0.03 86.67 Average: 7 9.22 0.00 1.44 0.56 0.03 88.75