Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-12321 (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-EOclqgMa1AjY/agent.2106 SSH_AGENT_PID=2108 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_10730653361154103426.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_10730653361154103426.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/jenkins11739070424058440394.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-gBUe 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-gBUe/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-gBUe/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.59 botocore==1.34.59 bs4==0.0.2 cachetools==5.3.3 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.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.2 httplib2==0.22.0 identify==2.5.35 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.6.0 kubernetes==29.0.0 lftools==0.37.9 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.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.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.5.0 python-openstackclient==6.5.0 python-swiftclient==4.5.0 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.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 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/jenkins4834973028285365039.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/jenkins7193181947628556313.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.IdSoyMqCJf ++ echo ROBOT_VENV=/tmp/tmp.IdSoyMqCJf +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.IdSoyMqCJf ++ source /tmp/tmp.IdSoyMqCJf/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.IdSoyMqCJf +++ 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.IdSoyMqCJf/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.IdSoyMqCJf) ' '!=' x ']' +++ PS1='(tmp.IdSoyMqCJf) ' +++ 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.2 python-dateutil==2.9.0.post0 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.IdSoyMqCJf/src/onap ++ rm -rf /tmp/tmp.IdSoyMqCJf/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==1.0.0 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.2 python-dateutil==2.9.0.post0 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.IdSoyMqCJf/bin/activate + '[' -z /tmp/tmp.IdSoyMqCJf/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.IdSoyMqCJf/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.IdSoyMqCJf ++ 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.IdSoyMqCJf/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.IdSoyMqCJf) ' ++ '[' 'x(tmp.IdSoyMqCJf) ' '!=' x ']' ++ PS1='(tmp.IdSoyMqCJf) (tmp.IdSoyMqCJf) ' ++ 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.Px3up8NRu8 + cd /tmp/tmp.Px3up8NRu8 + 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:bc1794e85c9e00293351b967efa267ce6af1c824ac875a9d0c7ac84700a8b53e 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:f9811e4e687ffecf1a43adb9b64096c50bc0d7a782f8608530f478b6542de7d5 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 11 seconds policy-api Up 10 seconds mariadb Up 14 seconds prometheus Up 12 seconds NAMES STATUS grafana Up 16 seconds policy-api Up 15 seconds mariadb Up 19 seconds prometheus Up 17 seconds NAMES STATUS grafana Up 21 seconds policy-api Up 20 seconds mariadb Up 24 seconds prometheus Up 22 seconds NAMES STATUS grafana Up 26 seconds policy-api Up 25 seconds mariadb Up 29 seconds prometheus Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:35:57 up 3 min, 0 users, load average: 3.47, 1.19, 0.45 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.0 us, 2.0 sy, 0.0 ni, 83.0 id, 3.9 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 26 seconds policy-api Up 25 seconds mariadb Up 29 seconds prometheus Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 1b748ed62af6 grafana 0.03% 56.8MiB / 31.41GiB 0.18% 18.5kB / 3.38kB 0B / 24.6MB 17 4fe430742040 policy-api 0.09% 960.3MiB / 31.41GiB 2.99% 1.04MB / 739kB 0B / 0B 50 a5c5a8cd0f37 mariadb 0.02% 100.4MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.9MB 28 3b88caec468e prometheus 0.00% 19.09MiB / 31.41GiB 0.06% 1.05kB / 158B 127kB / 0B 13 + echo + cd /tmp/tmp.Px3up8NRu8 + 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.Px3up8NRu8/output.xml Log: /tmp/tmp.Px3up8NRu8/log.html Report: /tmp/tmp.Px3up8NRu8/report.html + RESULT=0 + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:08 up 4 min, 0 users, load average: 1.31, 1.04, 0.45 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 1.6 sy, 0.0 ni, 85.9 id, 3.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 mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 1b748ed62af6 grafana 0.19% 58.07MiB / 31.41GiB 0.18% 19.5kB / 4.61kB 0B / 24.6MB 17 4fe430742040 policy-api 0.08% 993.1MiB / 31.41GiB 3.09% 7.32MB / 2.87MB 0B / 0B 52 a5c5a8cd0f37 mariadb 0.02% 101.1MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 68MB 18 3b88caec468e prometheus 0.00% 25.48MiB / 31.41GiB 0.08% 37.6kB / 7.09kB 127kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2024-03-10T11:35:30.387905006Z level=info msg="Starting Grafana" version=10.4.0 commit=03f502a94d17f7dc4e6c34acdf8428aedd986e4c branch=HEAD compiled=2024-03-10T11:35:30Z grafana | logger=settings t=2024-03-10T11:35:30.388121407Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-03-10T11:35:30.388132397Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-03-10T11:35:30.388135957Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-03-10T11:35:30.388139037Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-03-10T11:35:30.388141987Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-10T11:35:30.388144707Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-10T11:35:30.388147977Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-03-10T11:35:30.388151067Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-03-10T11:35:30.388153947Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-03-10T11:35:30.388157457Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-10T11:35:30.388160457Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-10T11:35:30.388164727Z level=info msg=Target target=[all] grafana | logger=settings t=2024-03-10T11:35:30.388170157Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-03-10T11:35:30.388173397Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-03-10T11:35:30.388176677Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-03-10T11:35:30.388179937Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-03-10T11:35:30.388183077Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-03-10T11:35:30.388186467Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-03-10T11:35:30.388421798Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-03-10T11:35:30.388440698Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-03-10T11:35:30.389032322Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-03-10T11:35:30.389994176Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-03-10T11:35:30.39082997Z level=info msg="Migration successfully executed" id="create migration_log table" duration=837.544µs grafana | logger=migrator t=2024-03-10T11:35:30.430681741Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-03-10T11:35:30.431958377Z level=info msg="Migration successfully executed" id="create user table" duration=1.276616ms grafana | logger=migrator t=2024-03-10T11:35:30.435820845Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-03-10T11:35:30.436964762Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.139177ms grafana | logger=migrator t=2024-03-10T11:35:30.442301517Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-03-10T11:35:30.44298087Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=679.353µs grafana | logger=migrator t=2024-03-10T11:35:30.446828168Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-03-10T11:35:30.447872544Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.044136ms grafana | logger=migrator t=2024-03-10T11:35:30.451689022Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-03-10T11:35:30.452716236Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.027064ms grafana | logger=migrator t=2024-03-10T11:35:30.458056342Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-03-10T11:35:30.460277943Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.221231ms grafana | logger=migrator t=2024-03-10T11:35:30.463747719Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-03-10T11:35:30.464570284Z level=info msg="Migration successfully executed" id="create user table v2" duration=822.275µs grafana | logger=migrator t=2024-03-10T11:35:30.46797234Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-03-10T11:35:30.468646633Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=675.893µs grafana | logger=migrator t=2024-03-10T11:35:30.473766238Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-03-10T11:35:30.474798562Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.034734ms grafana | logger=migrator t=2024-03-10T11:35:30.478548491Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-03-10T11:35:30.479158894Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=606.923µs grafana | logger=migrator t=2024-03-10T11:35:30.4826429Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-03-10T11:35:30.483115503Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=472.343µs grafana | logger=migrator t=2024-03-10T11:35:30.487875756Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-03-10T11:35:30.48888353Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.007324ms grafana | logger=migrator t=2024-03-10T11:35:30.493654123Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-03-10T11:35:30.493691683Z level=info msg="Migration successfully executed" id="Update user table charset" duration=38.61µs grafana | logger=migrator t=2024-03-10T11:35:30.497455491Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-03-10T11:35:30.49924173Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.785229ms grafana | logger=migrator t=2024-03-10T11:35:30.504191814Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-03-10T11:35:30.504528355Z level=info msg="Migration successfully executed" id="Add missing user data" duration=337.171µs grafana | logger=migrator t=2024-03-10T11:35:30.510899176Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-03-10T11:35:30.511912771Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.013355ms grafana | logger=migrator t=2024-03-10T11:35:30.515221487Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-03-10T11:35:30.516281542Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.059305ms grafana | logger=migrator t=2024-03-10T11:35:30.519715558Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-03-10T11:35:30.521421016Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.704828ms grafana | logger=migrator t=2024-03-10T11:35:30.525406105Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-03-10T11:35:30.533137093Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.730548ms grafana | logger=migrator t=2024-03-10T11:35:30.53895312Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-03-10T11:35:30.540044016Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.091746ms grafana | logger=migrator t=2024-03-10T11:35:30.543869774Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-03-10T11:35:30.544161895Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=292.471µs grafana | logger=migrator t=2024-03-10T11:35:30.547909663Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-03-10T11:35:30.549040419Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.130246ms grafana | logger=migrator t=2024-03-10T11:35:30.552694686Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-03-10T11:35:30.55350295Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=807.894µs grafana | logger=migrator t=2024-03-10T11:35:30.558470964Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-03-10T11:35:30.559137877Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=666.283µs grafana | logger=migrator t=2024-03-10T11:35:30.562485344Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-03-10T11:35:30.563559658Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.073944ms grafana | logger=migrator t=2024-03-10T11:35:30.567017045Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-03-10T11:35:30.568091611Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.073816ms grafana | logger=migrator t=2024-03-10T11:35:30.573194394Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-03-10T11:35:30.573910928Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=712.984µs grafana | logger=migrator t=2024-03-10T11:35:30.577218764Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-03-10T11:35:30.577244234Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=26.3µs grafana | logger=migrator t=2024-03-10T11:35:30.580768641Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-03-10T11:35:30.581793286Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.024425ms grafana | logger=migrator t=2024-03-10T11:35:30.586979501Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-03-10T11:35:30.587979976Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.000226ms grafana | logger=migrator t=2024-03-10T11:35:30.591453022Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-03-10T11:35:30.592485787Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.032375ms grafana | logger=migrator t=2024-03-10T11:35:30.595783942Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-03-10T11:35:30.596416666Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=628.904µs grafana | logger=migrator t=2024-03-10T11:35:30.601460251Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-10T11:35:30.605748281Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.28623ms grafana | logger=migrator t=2024-03-10T11:35:30.609587429Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-03-10T11:35:30.610888665Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.302386ms grafana | logger=migrator t=2024-03-10T11:35:30.615292226Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-03-10T11:35:30.61603285Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=740.514µs grafana | logger=migrator t=2024-03-10T11:35:30.621910639Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-03-10T11:35:30.622627322Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=716.153µs grafana | logger=migrator t=2024-03-10T11:35:30.625411565Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-03-10T11:35:30.626166708Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=750.993µs grafana | logger=migrator t=2024-03-10T11:35:30.629689826Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-03-10T11:35:30.630973772Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.283056ms grafana | logger=migrator t=2024-03-10T11:35:30.636305567Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-03-10T11:35:30.63689633Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=587.163µs grafana | logger=migrator t=2024-03-10T11:35:30.640358536Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-03-10T11:35:30.641139021Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=779.475µs grafana | logger=migrator t=2024-03-10T11:35:30.644343066Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-03-10T11:35:30.644875028Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=532.122µs grafana | logger=migrator t=2024-03-10T11:35:30.648019353Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-03-10T11:35:30.648631796Z level=info msg="Migration successfully executed" id="create star table" duration=612.003µs grafana | logger=migrator t=2024-03-10T11:35:30.653659941Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-03-10T11:35:30.654816067Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.155346ms grafana | logger=migrator t=2024-03-10T11:35:30.658260303Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-03-10T11:35:30.659385108Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.124405ms grafana | logger=migrator t=2024-03-10T11:35:30.662484882Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-03-10T11:35:30.663196447Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=711.325µs grafana | logger=migrator t=2024-03-10T11:35:30.666253201Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-03-10T11:35:30.666928244Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=674.573µs grafana | logger=migrator t=2024-03-10T11:35:30.671370465Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-03-10T11:35:30.672531071Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.160246ms grafana | logger=migrator t=2024-03-10T11:35:30.676080418Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-03-10T11:35:30.677250934Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.170606ms grafana | logger=migrator t=2024-03-10T11:35:30.680763671Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-03-10T11:35:30.681936476Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.172265ms grafana | logger=migrator t=2024-03-10T11:35:30.685091801Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-03-10T11:35:30.685139831Z level=info msg="Migration successfully executed" id="Update org table charset" duration=49.35µs grafana | logger=migrator t=2024-03-10T11:35:30.690244686Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-03-10T11:35:30.690275256Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=31.49µs grafana | logger=migrator t=2024-03-10T11:35:30.694709888Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-03-10T11:35:30.694870938Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=161.37µs grafana | logger=migrator t=2024-03-10T11:35:30.698096764Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-03-10T11:35:30.699235409Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.138385ms grafana | logger=migrator t=2024-03-10T11:35:30.70347646Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-03-10T11:35:30.704671175Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.194685ms grafana | logger=migrator t=2024-03-10T11:35:30.709353898Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-03-10T11:35:30.710171341Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=817.033µs grafana | logger=migrator t=2024-03-10T11:35:30.713438357Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-03-10T11:35:30.714113481Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=674.864µs grafana | logger=migrator t=2024-03-10T11:35:30.717458817Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-03-10T11:35:30.718689982Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.230225ms grafana | logger=migrator t=2024-03-10T11:35:30.723727156Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-03-10T11:35:30.724391809Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=667.743µs grafana | logger=migrator t=2024-03-10T11:35:30.727600876Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-03-10T11:35:30.732516999Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.915713ms grafana | logger=migrator t=2024-03-10T11:35:30.736024016Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-03-10T11:35:30.736744139Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=719.813µs grafana | logger=migrator t=2024-03-10T11:35:30.741848774Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-03-10T11:35:30.742591007Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=742.033µs grafana | logger=migrator t=2024-03-10T11:35:30.745695692Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-03-10T11:35:30.746503815Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=807.523µs grafana | logger=migrator t=2024-03-10T11:35:30.749827221Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-03-10T11:35:30.750352394Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=524.963µs grafana | logger=migrator t=2024-03-10T11:35:30.756702985Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-03-10T11:35:30.75795301Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.249315ms grafana | logger=migrator t=2024-03-10T11:35:30.761308147Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-03-10T11:35:30.761406678Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=103.671µs grafana | logger=migrator t=2024-03-10T11:35:30.764865924Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-03-10T11:35:30.766626962Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.765498ms grafana | logger=migrator t=2024-03-10T11:35:30.771837997Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-03-10T11:35:30.774351139Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.511372ms grafana | logger=migrator t=2024-03-10T11:35:30.778001997Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-03-10T11:35:30.78074919Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.744853ms grafana | logger=migrator t=2024-03-10T11:35:30.784693389Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-03-10T11:35:30.785423852Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=730.323µs grafana | logger=migrator t=2024-03-10T11:35:30.790745408Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-03-10T11:35:30.793571181Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.825193ms grafana | logger=migrator t=2024-03-10T11:35:30.797314599Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-03-10T11:35:30.798464475Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.154946ms grafana | logger=migrator t=2024-03-10T11:35:30.801694351Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-03-10T11:35:30.802423204Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=728.523µs grafana | logger=migrator t=2024-03-10T11:35:30.807186707Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-03-10T11:35:30.807221387Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=36.08µs grafana | logger=migrator t=2024-03-10T11:35:30.810204521Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-03-10T11:35:30.810240021Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=36.68µs grafana | logger=migrator t=2024-03-10T11:35:30.81421876Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-03-10T11:35:30.817121944Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.902204ms mariadb | 2024-03-10 11:35:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-10 11:35:27+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-03-10 11:35:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-10 11:35:27+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-03-10 11:35:27 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-10 11:35:27 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-10 11:35:27 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-03-10 11:35:29+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-03-10 11:35:29+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-03-10 11:35:29+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-03-10 11:35:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-10 11:35:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-10 11:35:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-10 11:35:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-10 11:35:29 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-03-10 11:35:29 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-10 11:35:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-10 11:35:29 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-10 11:35:29 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-10 11:35:29 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-03-10 11:35:30+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-03-10 11:35:31+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-03-10 11:35:31+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-03-10 11:35:31+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-03-10 11:35:31+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' grafana | logger=migrator t=2024-03-10T11:35:30.821121664Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-03-10T11:35:30.824361989Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.237575ms grafana | logger=migrator t=2024-03-10T11:35:30.829385243Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-03-10T11:35:30.831254643Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.86909ms grafana | logger=migrator t=2024-03-10T11:35:30.834687589Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-03-10T11:35:30.837613733Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.925704ms grafana | logger=migrator t=2024-03-10T11:35:30.84110603Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-03-10T11:35:30.841415171Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=309.071µs grafana | logger=migrator t=2024-03-10T11:35:30.846793027Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-03-10T11:35:30.84750358Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=710.213µs grafana | logger=migrator t=2024-03-10T11:35:30.851376269Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-03-10T11:35:30.852416204Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.039905ms grafana | logger=migrator t=2024-03-10T11:35:30.857214057Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-03-10T11:35:30.857257717Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=44.73µs grafana | logger=migrator t=2024-03-10T11:35:30.863006895Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-03-10T11:35:30.86416579Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.166255ms grafana | logger=migrator t=2024-03-10T11:35:30.867925929Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-03-10T11:35:30.868967183Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.040474ms grafana | logger=migrator t=2024-03-10T11:35:30.87253886Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-10T11:35:30.879798435Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.260285ms grafana | logger=migrator t=2024-03-10T11:35:30.88487622Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-03-10T11:35:30.885570083Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=693.443µs grafana | logger=migrator t=2024-03-10T11:35:30.88915725Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-03-10T11:35:30.889974885Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=817.205µs grafana | logger=migrator t=2024-03-10T11:35:30.89318423Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-03-10T11:35:30.893972903Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=788.093µs grafana | logger=migrator t=2024-03-10T11:35:30.900422874Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-03-10T11:35:30.900878276Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=455.762µs grafana | logger=migrator t=2024-03-10T11:35:30.904551174Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-03-10T11:35:30.905327968Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=776.424µs grafana | logger=migrator t=2024-03-10T11:35:30.909240586Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-03-10T11:35:30.912408452Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.166916ms grafana | logger=migrator t=2024-03-10T11:35:30.915813678Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-03-10T11:35:30.916564161Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=749.923µs grafana | logger=migrator t=2024-03-10T11:35:30.921514536Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-03-10T11:35:30.921697666Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=183.38µs grafana | logger=migrator t=2024-03-10T11:35:30.926175607Z level=info msg="Executing migration" id="delete stars for deleted dashboards" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' prometheus | ts=2024-03-10T11:35:29.470Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-03-10T11:35:29.471Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.1, branch=HEAD, revision=8c9b0285360a0b6288d76214a75ce3025bce4050)" prometheus | ts=2024-03-10T11:35:29.471Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@6213bb3ee580, date=20240226-11:36:26, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-03-10T11:35:29.471Z caller=main.go:614 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-03-10T11:35:29.471Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-03-10T11:35:29.471Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-03-10T11:35:29.475Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-03-10T11:35:29.475Z caller=main.go:1118 level=info msg="Starting TSDB ..." prometheus | ts=2024-03-10T11:35:29.477Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-03-10T11:35:29.477Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-03-10T11:35:29.482Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-03-10T11:35:29.482Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.03µs prometheus | ts=2024-03-10T11:35:29.482Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-03-10T11:35:29.483Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-03-10T11:35:29.483Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=29.99µs wal_replay_duration=515.044µs wbl_replay_duration=180ns total_replay_duration=570.104µs prometheus | ts=2024-03-10T11:35:29.485Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-03-10T11:35:29.485Z caller=main.go:1142 level=info msg="TSDB started" prometheus | ts=2024-03-10T11:35:29.485Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-03-10T11:35:29.486Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.12953ms db_storage=1.04µs remote_storage=1.74µs web_handler=870ns query_engine=770ns scrape=231.562µs scrape_sd=148.661µs notify=28.77µs notify_sd=17.63µs rules=34.931µs tracing=74.911µs prometheus | ts=2024-03-10T11:35:29.486Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-03-10T11:35:29.486Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." 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-03-10 11:35:32+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-03-10 11:35:32 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-03-10 11:35:32 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-03-10 11:35:32 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-03-10 11:35:32 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-03-10 11:35:32 0 [Note] InnoDB: Buffer pool(s) dump completed at 240310 11:35:32 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Shutdown completed; log sequence number 340550; transaction id 298 mariadb | 2024-03-10 11:35:33 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-03-10 11:35:33+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-03-10 11:35:33+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-03-10 11:35:33 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-10 11:35:33 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-10 11:35:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-10 11:35:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: log sequence number 340550; transaction id 299 mariadb | 2024-03-10 11:35:33 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-03-10 11:35:33 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-10 11:35:33 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-10 11:35:33 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-03-10 11:35:33 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-03-10 11:35:33 0 [Note] Server socket created on IP: '::'. mariadb | 2024-03-10 11:35:33 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-03-10 11:35:33 0 [Note] InnoDB: Buffer pool(s) load completed at 240310 11:35:33 mariadb | 2024-03-10 11:35:34 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-03-10 11:35:34 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2024-03-10T11:35:30.926441549Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=266.232µs grafana | logger=migrator t=2024-03-10T11:35:30.929937906Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-03-10T11:35:30.931150561Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.213935ms grafana | logger=migrator t=2024-03-10T11:35:30.936688278Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-03-10T11:35:30.939371361Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.683803ms grafana | logger=migrator t=2024-03-10T11:35:30.977271873Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-03-10T11:35:30.978725289Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.453176ms grafana | logger=migrator t=2024-03-10T11:35:30.98284883Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-03-10T11:35:30.984097075Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.247605ms grafana | logger=migrator t=2024-03-10T11:35:30.9892193Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-03-10T11:35:30.990033614Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=816.974µs grafana | logger=migrator t=2024-03-10T11:35:30.994134284Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-03-10T11:35:30.995203379Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.069164ms grafana | logger=migrator t=2024-03-10T11:35:31.000098052Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-03-10T11:35:31.001220447Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.121995ms grafana | logger=migrator t=2024-03-10T11:35:31.006158137Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-03-10T11:35:31.01207743Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=5.918753ms grafana | logger=migrator t=2024-03-10T11:35:31.016416418Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-03-10T11:35:31.017298421Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=881.623µs grafana | logger=migrator t=2024-03-10T11:35:31.022273201Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-03-10T11:35:31.023036623Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=763.092µs grafana | logger=migrator t=2024-03-10T11:35:31.026763148Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-03-10T11:35:31.027746522Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=983.404µs grafana | logger=migrator t=2024-03-10T11:35:31.031697027Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-03-10T11:35:31.03246837Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=770.683µs grafana | logger=migrator t=2024-03-10T11:35:31.03735057Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-03-10T11:35:31.039627939Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.272609ms grafana | logger=migrator t=2024-03-10T11:35:31.044148347Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-03-10T11:35:31.046387095Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.238248ms grafana | logger=migrator t=2024-03-10T11:35:31.05003021Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-03-10T11:35:31.05005311Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=23.66µs grafana | logger=migrator t=2024-03-10T11:35:31.054616617Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-03-10T11:35:31.054811328Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=194.751µs grafana | logger=migrator t=2024-03-10T11:35:31.058429153Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-03-10T11:35:31.060669231Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.240798ms grafana | logger=migrator t=2024-03-10T11:35:31.064349566Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-03-10T11:35:31.064562847Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=211.981µs grafana | logger=migrator t=2024-03-10T11:35:31.068238211Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-03-10T11:35:31.068388492Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=150.431µs grafana | logger=migrator t=2024-03-10T11:35:31.073271051Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-03-10T11:35:31.077221206Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.944065ms grafana | logger=migrator t=2024-03-10T11:35:31.081086782Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-03-10T11:35:31.081273213Z level=info msg="Migration successfully executed" id="Update uid value" duration=186.471µs grafana | logger=migrator t=2024-03-10T11:35:31.084922837Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-03-10T11:35:31.08573234Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=810.113µs grafana | logger=migrator t=2024-03-10T11:35:31.09092093Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-03-10T11:35:31.092165876Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.239586ms grafana | logger=migrator t=2024-03-10T11:35:31.096465662Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-03-10T11:35:31.097800318Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.333766ms grafana | logger=migrator t=2024-03-10T11:35:31.101984164Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-03-10T11:35:31.103079179Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.096005ms grafana | logger=migrator t=2024-03-10T11:35:31.108269008Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-03-10T11:35:31.108989361Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=720.333µs grafana | logger=migrator t=2024-03-10T11:35:31.113001007Z level=info msg="Executing migration" id="add index api_key.account_id_name" 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-03-10T11:35:41.952+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 28 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-03-10T11:35:41.956+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-03-10T11:35:43.369+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-03-10T11:35:43.471+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 89 ms. Found 6 JPA repository interfaces. policy-api | [2024-03-10T11:35:44.677+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-03-10T11:35:44.692+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-10T11:35:44.693+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-03-10T11:35:44.693+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-03-10T11:35:44.792+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-03-10T11:35:44.792+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2761 ms policy-api | [2024-03-10T11:35:45.341+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-03-10T11:35:45.417+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-03-10T11:35:45.692+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-03-10T11:35:45.838+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-03-10T11:35:45.955+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-03-10T11:35:45.979+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-03-10T11:35:47.501+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-03-10T11:35:47.514+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-03-10T11:35:48.687+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-03-10T11:35:49.439+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-03-10T11:35:50.526+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@10ac5a14, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5cfcb55c, org.springframework.security.web.context.SecurityContextPersistenceFilter@a555005, org.springframework.security.web.header.HeaderWriterFilter@e73787, org.springframework.security.web.authentication.logout.LogoutFilter@337f6716, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5bee88e3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@42d039ef, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@190a5f74, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@416dd4d8, org.springframework.security.web.session.SessionManagementFilter@50cdaf32, org.springframework.security.web.access.ExceptionTranslationFilter@556d8c78, org.springframework.security.web.access.intercept.AuthorizationFilter@65ff1e6d] policy-api | [2024-03-10T11:35:50.678+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-03-10T11:35:54.499+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-03-10T11:35:54.529+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-10T11:35:54.620+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-03-10T11:35:54.639+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 13.59 seconds (JVM running for 14.228) policy-api | [2024-03-10T11:35:59.985+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-03-10T11:35:59.985+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-03-10T11:35:59.986+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-03-10T11:36:02.477+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-03-10T11:36:02.606+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-03-10T11:36:02.866+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2024-03-10T11:36:04.016+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policies policy-api | [2024-03-10T11:36:06.053+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-03-10T11:36:06.469+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-03-10T11:36:06.728+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-03-10T11:36:07.010+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-03-10T11:36:07.244+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-03-10T11:36:07.470+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-03-10T11:35:31.114298462Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.296785ms grafana | logger=migrator t=2024-03-10T11:35:31.120281045Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-03-10T11:35:31.1215228Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.240795ms grafana | logger=migrator t=2024-03-10T11:35:31.126251249Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-03-10T11:35:31.127353232Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.101874ms grafana | logger=migrator t=2024-03-10T11:35:31.131223098Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-03-10T11:35:31.131911861Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=691.523µs grafana | logger=migrator t=2024-03-10T11:35:31.135384474Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-03-10T11:35:31.14205141Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.666426ms grafana | logger=migrator t=2024-03-10T11:35:31.146828578Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-03-10T11:35:31.147543071Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=713.803µs grafana | logger=migrator t=2024-03-10T11:35:31.151472107Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-03-10T11:35:31.152215809Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=743.502µs grafana | logger=migrator t=2024-03-10T11:35:31.156821638Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-03-10T11:35:31.158130443Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.308165ms grafana | logger=migrator t=2024-03-10T11:35:31.162100269Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-03-10T11:35:31.163285653Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.179684ms grafana | logger=migrator t=2024-03-10T11:35:31.1676919Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-03-10T11:35:31.168003641Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=311.281µs grafana | logger=migrator t=2024-03-10T11:35:31.172727559Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-03-10T11:35:31.173212982Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=481.673µs grafana | logger=migrator t=2024-03-10T11:35:31.177769229Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-03-10T11:35:31.177809299Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=41.1µs grafana | logger=migrator t=2024-03-10T11:35:31.182840899Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-03-10T11:35:31.186745234Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.896135ms grafana | logger=migrator t=2024-03-10T11:35:31.191000371Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-03-10T11:35:31.1934012Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.400399ms grafana | logger=migrator t=2024-03-10T11:35:31.198077828Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-03-10T11:35:31.19823167Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=153.932µs grafana | logger=migrator t=2024-03-10T11:35:31.201884414Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-03-10T11:35:31.204260763Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.376079ms grafana | logger=migrator t=2024-03-10T11:35:31.208065947Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-03-10T11:35:31.210576927Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.51054ms grafana | logger=migrator t=2024-03-10T11:35:31.21628653Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-03-10T11:35:31.217023102Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=736.162µs grafana | logger=migrator t=2024-03-10T11:35:31.220786957Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-03-10T11:35:31.221286599Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=499.242µs grafana | logger=migrator t=2024-03-10T11:35:31.225200264Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-03-10T11:35:31.22662582Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.425006ms grafana | logger=migrator t=2024-03-10T11:35:31.23174319Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-03-10T11:35:31.232996105Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.252465ms grafana | logger=migrator t=2024-03-10T11:35:31.23713456Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-03-10T11:35:31.238504296Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.369186ms grafana | logger=migrator t=2024-03-10T11:35:31.242929643Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-03-10T11:35:31.243681967Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=751.924µs grafana | logger=migrator t=2024-03-10T11:35:31.249921491Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-03-10T11:35:31.250023641Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=101µs grafana | logger=migrator t=2024-03-10T11:35:31.253822995Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-03-10T11:35:31.253862616Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=46.601µs grafana | logger=migrator t=2024-03-10T11:35:31.257644231Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-03-10T11:35:31.262171608Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.522307ms grafana | logger=migrator t=2024-03-10T11:35:31.265914783Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-03-10T11:35:31.268477923Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.56283ms grafana | logger=migrator t=2024-03-10T11:35:31.273178711Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-03-10T11:35:31.273238641Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=60.32µs grafana | logger=migrator t=2024-03-10T11:35:31.277141867Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-03-10T11:35:31.27788012Z level=info msg="Migration successfully executed" id="create quota table v1" duration=737.923µs grafana | logger=migrator t=2024-03-10T11:35:31.431960331Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-03-10T11:35:31.479081895Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=47.127644ms grafana | logger=migrator t=2024-03-10T11:35:31.497159895Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-03-10T11:35:31.497214135Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=49.96µs grafana | logger=migrator t=2024-03-10T11:35:31.504798875Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-03-10T11:35:31.506497762Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.700297ms grafana | logger=migrator t=2024-03-10T11:35:31.527211922Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-03-10T11:35:31.527825835Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=614.203µs grafana | logger=migrator t=2024-03-10T11:35:31.53152709Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-03-10T11:35:31.533522937Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=1.993987ms grafana | logger=migrator t=2024-03-10T11:35:31.537499473Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-03-10T11:35:31.537515553Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=19.39µs grafana | logger=migrator t=2024-03-10T11:35:31.541743299Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-03-10T11:35:31.542319501Z level=info msg="Migration successfully executed" id="create session table" duration=576.212µs grafana | logger=migrator t=2024-03-10T11:35:31.547385781Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-03-10T11:35:31.547441851Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=60.15µs grafana | logger=migrator t=2024-03-10T11:35:31.552780612Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-03-10T11:35:31.552837702Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=58.86µs grafana | logger=migrator t=2024-03-10T11:35:31.558176493Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-03-10T11:35:31.558665575Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=488.902µs grafana | logger=migrator t=2024-03-10T11:35:31.563473994Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-03-10T11:35:31.563967376Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=493.262µs grafana | logger=migrator t=2024-03-10T11:35:31.569123226Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-03-10T11:35:31.569155686Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=34.37µs grafana | logger=migrator t=2024-03-10T11:35:31.574260076Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-03-10T11:35:31.574290866Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=32.28µs grafana | logger=migrator t=2024-03-10T11:35:31.579403726Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-03-10T11:35:31.584117414Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.706248ms grafana | logger=migrator t=2024-03-10T11:35:31.588578452Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-03-10T11:35:31.591535313Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.956681ms grafana | logger=migrator t=2024-03-10T11:35:31.595265548Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-03-10T11:35:31.595345278Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=80.16µs grafana | logger=migrator t=2024-03-10T11:35:31.598938453Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-03-10T11:35:31.599009953Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=71.86µs grafana | logger=migrator t=2024-03-10T11:35:31.603950321Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-03-10T11:35:31.605171657Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.220776ms grafana | logger=migrator t=2024-03-10T11:35:31.609236272Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-03-10T11:35:31.609274862Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=39.83µs grafana | logger=migrator t=2024-03-10T11:35:31.612943307Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-03-10T11:35:31.615939439Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=2.993132ms grafana | logger=migrator t=2024-03-10T11:35:31.62130883Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-03-10T11:35:31.62145541Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=146.39µs grafana | logger=migrator t=2024-03-10T11:35:31.625323755Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-03-10T11:35:31.628288106Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.961391ms grafana | logger=migrator t=2024-03-10T11:35:31.632070631Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-03-10T11:35:31.635092433Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.021362ms grafana | logger=migrator t=2024-03-10T11:35:31.638958438Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext 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 | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-03-10T11:35:31.639017339Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=59.341µs grafana | logger=migrator t=2024-03-10T11:35:31.644786481Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-03-10T11:35:31.645665784Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=878.893µs grafana | logger=migrator t=2024-03-10T11:35:31.696460022Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-03-10T11:35:31.697837538Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.377016ms grafana | logger=migrator t=2024-03-10T11:35:31.702316805Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-03-10T11:35:31.70336407Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.047095ms grafana | logger=migrator t=2024-03-10T11:35:31.708227209Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-03-10T11:35:31.709117182Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=892.863µs grafana | logger=migrator t=2024-03-10T11:35:31.712896536Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-03-10T11:35:31.71374105Z level=info msg="Migration successfully executed" id="add index alert state" duration=844.304µs grafana | logger=migrator t=2024-03-10T11:35:31.718844159Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-03-10T11:35:31.719618103Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=773.504µs grafana | logger=migrator t=2024-03-10T11:35:31.724638902Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-03-10T11:35:31.725681957Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.037565ms grafana | logger=migrator t=2024-03-10T11:35:31.765970443Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-03-10T11:35:31.767290989Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.319806ms grafana | logger=migrator t=2024-03-10T11:35:31.805891749Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-03-10T11:35:31.807110015Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.218656ms grafana | logger=migrator t=2024-03-10T11:35:31.861814457Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-03-10T11:35:31.874249466Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.433459ms grafana | logger=migrator t=2024-03-10T11:35:31.879230066Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-03-10T11:35:31.880093869Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=857.763µs grafana | logger=migrator t=2024-03-10T11:35:31.886950495Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-03-10T11:35:31.88807871Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.126395ms grafana | logger=migrator t=2024-03-10T11:35:31.892343966Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-03-10T11:35:31.892749328Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=405.062µs grafana | logger=migrator t=2024-03-10T11:35:31.908730301Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-03-10T11:35:31.909480713Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=750.222µs grafana | logger=migrator t=2024-03-10T11:35:31.918473689Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-03-10T11:35:31.919609163Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.134804ms grafana | logger=migrator t=2024-03-10T11:35:31.940364504Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-03-10T11:35:31.946189457Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.817723ms grafana | logger=migrator t=2024-03-10T11:35:31.951265186Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-03-10T11:35:31.954955851Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.694705ms grafana | logger=migrator t=2024-03-10T11:35:31.961107915Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-03-10T11:35:31.964534208Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.426003ms grafana | logger=migrator t=2024-03-10T11:35:31.968547535Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-03-10T11:35:31.972047488Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.499583ms grafana | logger=migrator t=2024-03-10T11:35:31.976079823Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-03-10T11:35:31.976869706Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=790.303µs grafana | logger=migrator t=2024-03-10T11:35:31.982251487Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-03-10T11:35:31.982277287Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=25.99µs grafana | logger=migrator t=2024-03-10T11:35:31.988024979Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-03-10T11:35:31.9880603Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=36.621µs grafana | logger=migrator t=2024-03-10T11:35:32.008747263Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-03-10T11:35:32.009991263Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.24413ms grafana | logger=migrator t=2024-03-10T11:35:32.014077982Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-03-10T11:35:32.015418263Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.339461ms grafana | logger=migrator t=2024-03-10T11:35:32.021646566Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-03-10T11:35:32.022316272Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=672.446µs grafana | logger=migrator t=2024-03-10T11:35:32.025994354Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-03-10T11:35:32.026995952Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=999.968µs grafana | logger=migrator t=2024-03-10T11:35:32.033203226Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-03-10T11:35:32.034585297Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.379061ms grafana | logger=migrator t=2024-03-10T11:35:32.038663253Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-03-10T11:35:32.042243953Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.58009ms grafana | logger=migrator t=2024-03-10T11:35:32.045979945Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-03-10T11:35:32.049493205Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.51293ms grafana | logger=migrator t=2024-03-10T11:35:32.055474677Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-03-10T11:35:32.055641899Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=167.311µs grafana | logger=migrator t=2024-03-10T11:35:32.059765953Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-03-10T11:35:32.068895362Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=9.128439ms grafana | logger=migrator t=2024-03-10T11:35:32.072440383Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-03-10T11:35:32.073050208Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=609.645µs grafana | logger=migrator t=2024-03-10T11:35:32.078056481Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-03-10T11:35:32.080695054Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=2.638323ms grafana | logger=migrator t=2024-03-10T11:35:32.084173213Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-03-10T11:35:32.084275944Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=102.551µs grafana | logger=migrator t=2024-03-10T11:35:32.087973005Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-03-10T11:35:32.088633571Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=660.506µs grafana | logger=migrator t=2024-03-10T11:35:32.092758867Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-03-10T11:35:32.093481733Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=722.846µs grafana | logger=migrator t=2024-03-10T11:35:32.098417245Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-03-10T11:35:32.098546566Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=128.931µs grafana | logger=migrator t=2024-03-10T11:35:32.101944085Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-03-10T11:35:32.102705792Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=761.687µs grafana | logger=migrator t=2024-03-10T11:35:32.107358272Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-03-10T11:35:32.108196309Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=837.927µs grafana | logger=migrator t=2024-03-10T11:35:32.116026156Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-03-10T11:35:32.116703742Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=676.796µs grafana | logger=migrator t=2024-03-10T11:35:32.121802276Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-03-10T11:35:32.122490421Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=687.935µs grafana | logger=migrator t=2024-03-10T11:35:32.129155969Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-03-10T11:35:32.130251578Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.095499ms grafana | logger=migrator t=2024-03-10T11:35:32.13745287Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-03-10T11:35:32.138459259Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.005969ms grafana | logger=migrator t=2024-03-10T11:35:32.144549971Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-03-10T11:35:32.144567951Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=18.67µs grafana | logger=migrator t=2024-03-10T11:35:32.151709893Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-03-10T11:35:32.154616358Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=2.905765ms grafana | logger=migrator t=2024-03-10T11:35:32.15955089Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-03-10T11:35:32.160228016Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=677.186µs grafana | logger=migrator t=2024-03-10T11:35:32.165550332Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-03-10T11:35:32.168364596Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=2.812744ms grafana | logger=migrator t=2024-03-10T11:35:32.175887391Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-03-10T11:35:32.176454875Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=565.774µs grafana | logger=migrator t=2024-03-10T11:35:32.182127004Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-03-10T11:35:32.183177313Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.050159ms grafana | logger=migrator t=2024-03-10T11:35:32.188972592Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-03-10T11:35:32.189598577Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=626.145µs grafana | logger=migrator t=2024-03-10T11:35:32.19565069Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-03-10T11:35:32.204026642Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=8.375442ms grafana | logger=migrator t=2024-03-10T11:35:32.209245116Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.209858042Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=612.646µs grafana | logger=migrator t=2024-03-10T11:35:32.216465538Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-03-10T11:35:32.217150274Z 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=684.786µs grafana | logger=migrator t=2024-03-10T11:35:32.224350326Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-03-10T11:35:32.224574918Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=225.582µs grafana | logger=migrator t=2024-03-10T11:35:32.230282107Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-03-10T11:35:32.230933402Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=652.455µs grafana | logger=migrator t=2024-03-10T11:35:32.237299687Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-03-10T11:35:32.237444379Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=144.672µs grafana | logger=migrator t=2024-03-10T11:35:32.243970725Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-03-10T11:35:32.24694345Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=2.972775ms grafana | logger=migrator t=2024-03-10T11:35:32.253547376Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-03-10T11:35:32.256718563Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.171327ms grafana | logger=migrator t=2024-03-10T11:35:32.273431657Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-03-10T11:35:32.274157974Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=726.097µs grafana | logger=migrator t=2024-03-10T11:35:32.283131751Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-03-10T11:35:32.28420292Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.074128ms grafana | logger=migrator t=2024-03-10T11:35:32.291860385Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-03-10T11:35:32.292239899Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=378.954µs grafana | logger=migrator t=2024-03-10T11:35:32.30051963Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-03-10T11:35:32.306856294Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.337714ms grafana | logger=migrator t=2024-03-10T11:35:32.314965964Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-03-10T11:35:32.316165244Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.1973ms grafana | logger=migrator t=2024-03-10T11:35:32.323698738Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-03-10T11:35:32.323979251Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=278.713µs grafana | logger=migrator t=2024-03-10T11:35:32.329216516Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-03-10T11:35:32.330260865Z level=info msg="Migration successfully executed" id="Move region to single row" duration=1.043529ms grafana | logger=migrator t=2024-03-10T11:35:32.335032276Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-03-10T11:35:32.335883604Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=851.018µs grafana | logger=migrator t=2024-03-10T11:35:32.34129613Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-03-10T11:35:32.342286298Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=989.628µs grafana | logger=migrator t=2024-03-10T11:35:32.349839123Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-03-10T11:35:32.351360596Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.520833ms grafana | logger=migrator t=2024-03-10T11:35:32.358061714Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-03-10T11:35:32.359554656Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.491892ms grafana | logger=migrator t=2024-03-10T11:35:32.368618444Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-03-10T11:35:32.370018426Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.398062ms grafana | logger=migrator t=2024-03-10T11:35:32.377784593Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-03-10T11:35:32.379211245Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.424892ms grafana | logger=migrator t=2024-03-10T11:35:32.38564904Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-03-10T11:35:32.385755511Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=106.961µs grafana | logger=migrator t=2024-03-10T11:35:32.392350668Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-03-10T11:35:32.393163485Z level=info msg="Migration successfully executed" id="create test_data table" duration=815.477µs grafana | logger=migrator t=2024-03-10T11:35:32.398147408Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-03-10T11:35:32.399388268Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.2402ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.40661957Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-03-10T11:35:32.407544708Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=924.598µs grafana | logger=migrator t=2024-03-10T11:35:32.416097401Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-03-10T11:35:32.417734836Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.635015ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-03-10T11:35:32.422968211Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.423280133Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=311.902µ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-03-10T11:35:32.427349348Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.427911034Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=561.156µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.435200236Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.435345557Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=148.392µs policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-03-10T11:35:32.444601716Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.445842267Z level=info msg="Migration successfully executed" id="create team table" duration=1.240021ms 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-03-10T11:35:32.45077435Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.452391623Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.617453ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.457599458Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.458550926Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=951.048µs policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-03-10T11:35:32.465115733Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.472152102Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.035429ms 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-03-10T11:35:32.478600369Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.47879357Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=193.562µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.484901442Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.48689451Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.990288ms policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-03-10T11:35:32.491861392Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.493034732Z level=info msg="Migration successfully executed" id="create team member table" duration=1.17393ms grafana | logger=migrator t=2024-03-10T11:35:32.500524816Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-03-10T11:35:32.502037899Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.512843ms 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-03-10T11:35:32.547342578Z 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-03-10T11:35:32.548831581Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.488243ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.555412457Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.55684143Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.428903ms policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-10T11:35:32.562575759Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.567708242Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.133543ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-03-10T11:35:32.572643535Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.577130314Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.486169ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.581579382Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.586134541Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.554279ms policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-10T11:35:32.594979897Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.596576911Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.596804ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-10T11:35:32.605598818Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.606792638Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.19243ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.613891799Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.615742416Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.849627ms policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-10T11:35:32.62445005Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.626193885Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.741804ms policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-10T11:35:32.633000764Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.634053772Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.054479ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.641242934Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.642946198Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.702574ms policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-10T11:35:32.650946047Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.651900625Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=954.428µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-03-10T11:35:32.659795143Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.661472598Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.677635ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.670024841Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.671048429Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=1.021058ms policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-10T11:35:32.677803708Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.678213131Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=411.853µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-03-10T11:35:32.686485963Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.687688603Z level=info msg="Migration successfully executed" id="create tag table" duration=1.20206ms policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-10T11:35:32.692797307Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.694069479Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.272952ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-03-10T11:35:32.698809059Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.700557724Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.747405ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.71051623Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.712171644Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.655074ms policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-10T11:35:32.720671738Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.722375543Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.703195ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-03-10T11:35:32.729603474Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.744317171Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.713847ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.75231444Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.752894566Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=579.666µs policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-10T11:35:32.759834566Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.761873823Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=2.041057ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-03-10T11:35:32.766579063Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.767066568Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=487.305µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.776164457Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.776778982Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=613.885µs policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-10T11:35:32.784277237Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.785513857Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.23637ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-03-10T11:35:32.792439767Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.794262192Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.821535ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.800489027Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.800595738Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=109.991µs policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-10T11:35:32.807059903Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.815366955Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.307552ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-03-10T11:35:32.821619479Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.829831949Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=8.21046ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.835098955Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.838838617Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=3.737912ms policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-03-10T11:35:32.844527466Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.849754231Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.225335ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-03-10T11:35:32.85546176Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.856428438Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=965.998µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.861439872Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.870202797Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.762685ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-10T11:35:32.878055695Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.878886572Z level=info msg="Migration successfully executed" id="create server_lock table" duration=830.757µs policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-03-10T11:35:32.886335286Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.887986671Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.650615ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.893455948Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.894952861Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.497543ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-10T11:35:32.899049057Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.901462488Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=2.413271ms 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-03-10T11:35:32.905797914Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.906895654Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.09841ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.910733857Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.911746136Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.011729ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-10T11:35:32.915905082Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.921181938Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.275336ms 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-03-10T11:35:32.924863579Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.925889708Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.025069ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-10T11:35:32.9307374Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.932152913Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.415263ms 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-03-10T11:35:32.936352028Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.937853372Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.500613ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.942072968Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.942951855Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=878.297µs policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-10T11:35:32.947356613Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.948344061Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=986.478µ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-03-10T11:35:32.952183735Z 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-03-10T11:35:32.952287476Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=104.291µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.95623463Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.956351871Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=117.481µs policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-10T11:35:32.960101902Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.960998751Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=898.379µs 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-03-10T11:35:32.965756342Z 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-03-10T11:35:32.967328905Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.572563ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.971145528Z 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-03-10T11:35:32.972737582Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.591024ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-10T11:35:32.97708559Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:32.977194191Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=109.911µs 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-03-10T11:35:32.982207123Z 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-03-10T11:35:32.983674437Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.467644ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:32.987929143Z 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-03-10T11:35:32.989289025Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.359072ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-10T11:35:32.993611812Z 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-03-10T11:35:32.994599941Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=987.97µ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-03-10T11:35:32.999565774Z 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-03-10T11:35:33.000523382Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=956.788µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.004753464Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.010467938Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.713953ms policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-10T11:35:33.014363764Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.015245147Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=880.883µs 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-03-10T11:35:33.020227858Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.020358298Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=127.84µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.024426444Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.025929301Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.500287ms policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-10T11:35:33.031130632Z 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-03-10T11:35:33.032112586Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=981.574µs 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-03-10T11:35:33.03573422Z 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-03-10T11:35:33.037263477Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.528967ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.041130852Z 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-03-10T11:35:33.041231812Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=99.92µs policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-10T11:35:33.082952541Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.084328788Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.373777ms 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-03-10T11:35:33.092564971Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.094375698Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.809897ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.108543605Z 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 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-10T11:35:33.110166312Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.622577ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.120784275Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-03-10T11:35:33.122371271Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.586906ms 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-03-10T11:35:33.133297626Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.142370713Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.073387ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.15400777Z 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-03-10T11:35:33.155378035Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.370615ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-03-10T11:35:33.170271446Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.171631701Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.361075ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-03-10T11:35:33.187646746Z 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-03-10T11:35:33.214963326Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=27.315ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.227979959Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.256592985Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=28.614026ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-10T11:35:33.259855178Z 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-03-10T11:35:33.260848613Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=989.225µs policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-10T11:35:33.266268475Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.267189918Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=920.613µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.273420073Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.279262987Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.843024ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-10T11:35:33.284243707Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.291344437Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=7.10069ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-10T11:35:33.295109272Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.296041325Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=931.334µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.301518797Z 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-03-10T11:35:33.302549272Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.030015ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-03-10T11:35:33.305932986Z 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-03-10T11:35:33.306932609Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.000874ms 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-03-10T11:35:33.310896036Z 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-03-10T11:35:33.31194253Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.046104ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.318085334Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.318197195Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=112.921µs policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-10T11:35:33.322061101Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.32945953Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.399039ms 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-03-10T11:35:33.333021856Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.339296651Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.274175ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.384685045Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.393313979Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=8.630484ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-03-10T11:35:33.397623717Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.398546581Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=924.124µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.40576148Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.406760444Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=998.184µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-03-10T11:35:33.413045529Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.421868075Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.821606ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-03-10T11:35:33.426480424Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.433398872Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.918468ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.437626799Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.438346272Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=718.723µs policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-10T11:35:33.444549587Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-03-10T11:35:33.454057066Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.508349ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.459608898Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.465629763Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.018705ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.469830319Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-10T11:35:33.469895769Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=65.58µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.474697319Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-03-10T11:35:33.475785134Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.087455ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-03-10T11:35:33.481289427Z 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 | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-03-10T11:35:33.482959343Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.669086ms policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-03-10T11:35:33.48964462Z 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-03-10T11:35:33.491490977Z 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.840717ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.497801303Z 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-03-10T11:35:33.497900623Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=100.16µs policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-10T11:35:33.503260605Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.510504734Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.245439ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-03-10T11:35:33.515888406Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.522164952Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.275526ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.526986081Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.533068496Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.081645ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-03-10T11:35:33.539226921Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.54868183Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.456289ms 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-03-10T11:35:33.55639489Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.564858764Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=8.469094ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.572676036Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.572742696Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=67.61µs policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-03-10T11:35:33.576332081Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.577087515Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=757.264µs policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-03-10T11:35:33.580790009Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.590516609Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.7283ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.626445984Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.626548904Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=107.66µs policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-03-10T11:35:33.631197124Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.638651484Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=7.455121ms 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-03-10T11:35:33.642482199Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.643437633Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=954.684µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.648129282Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.654366727Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.237015ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-03-10T11:35:33.658148563Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.658958766Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=810.163µs policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-03-10T11:35:33.662673211Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.664149887Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.476226ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.669143018Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.675765244Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.622926ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-10T11:35:33.6798597Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.680612274Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=752.224µs policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-03-10T11:35:33.684289619Z 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-03-10T11:35:33.685287202Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=996.843µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.688988368Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-10T11:35:33.690273513Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.286865ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.695392664Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 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-03-10T11:35:33.696874069Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.480925ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.700796286Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.700857676Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=61.6µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.70450537Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-03-10T11:35:33.705468335Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=962.865µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.710561795Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-03-10T11:35:33.711985361Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.419706ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.716199378Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.716786661Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.720625006Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-10T11:35:33.721218528Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=592.822µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.726280239Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-03-10T11:35:33.727788825Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.508146ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.731729531Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.739246882Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.517721ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.743470648Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-03-10T11:35:33.744513512Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.042554ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.749448102Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-03-10T11:35:33.750538568Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.091526ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.754127472Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.754979475Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=851.593µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.758717971Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-03-10T11:35:33.759686604Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=968.003µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.764453714Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-03-10T11:35:33.76604655Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.592046ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.769911086Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.769953196Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=43.17µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.773943422Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-03-10T11:35:33.774040322Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=97.6µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.779509485Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.779900316Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=391.351µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.784880766Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-03-10T11:35:33.786424802Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.543346ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.790324369Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.791584213Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.259294ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.79545236Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-03-10T11:35:33.824214476Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=28.762116ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.828753855Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-03-10T11:35:33.833832244Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.078329ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.837836351Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.837978802Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=142.411µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.846215505Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-10T11:35:33.875573294Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=29.354819ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.879759261Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.909072659Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=29.312968ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.912858425Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-03-10T11:35:33.913477028Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=617.173µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.917239583Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.918325498Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.085325ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.923120916Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-10T11:35:33.923317657Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=196.461µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.927101363Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.928461028Z level=info msg="Migration successfully executed" id="create permission table" duration=1.357075ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.932093132Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-03-10T11:35:33.933154857Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.061915ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.938524589Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-03-10T11:35:33.939682504Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.157154ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.943130367Z level=info msg="Executing migration" id="create role table" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.944005431Z level=info msg="Migration successfully executed" id="create role table" duration=874.554µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.947248674Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-03-10T11:35:33.954630255Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.381321ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.959302583Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-03-10T11:35:33.966369682Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.066639ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.970370428Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.971448053Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.077905ms policy-db-migrator | msg grafana | logger=migrator t=2024-03-10T11:35:33.975038107Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-03-10T11:35:33.976174051Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.135764ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.979796936Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-03-10T11:35:33.980968331Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.169725ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.985846611Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-03-10T11:35:33.986985355Z level=info msg="Migration successfully executed" id="create team role table" duration=1.136564ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:33.990965541Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.992673418Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.704727ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:33.998156561Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-10T11:35:33.999301065Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.144074ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:34.003235371Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-03-10T11:35:34.004949358Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.711827ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:34.008900754Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:34.010282609Z level=info msg="Migration successfully executed" id="create user role table" duration=1.381095ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:34.01523094Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-10T11:35:34.016290845Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.060015ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:34.020468461Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:34.022284029Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.815768ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:34.026672136Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-03-10T11:35:34.028285303Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.613767ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:34.033820935Z level=info msg="Executing migration" id="create builtin role table" 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)) grafana | logger=migrator t=2024-03-10T11:35:34.034679189Z level=info msg="Migration successfully executed" id="create builtin role table" duration=858.064µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:34.038708955Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:34.040433532Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.724697ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:34.044250917Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-03-10T11:35:34.045986194Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.735357ms grafana | logger=migrator t=2024-03-10T11:35:34.050066491Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-03-10T11:35:34.057858912Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.790791ms policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-03-10T11:35:34.062784362Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:34.063879837Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.095475ms policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:34.067915193Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:34.069035868Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.120435ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-03-10T11:35:34.072811453Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:34.074882151Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=2.066408ms 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)) grafana | logger=migrator t=2024-03-10T11:35:34.07942577Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:34.081279308Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.853578ms 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)) grafana | logger=migrator t=2024-03-10T11:35:34.086578409Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-10T11:35:34.087437873Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=859.284µs policy-db-migrator | grafana | logger=migrator t=2024-03-10T11:35:34.091703189Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=migrator t=2024-03-10T11:35:34.093596607Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.895808ms policy-db-migrator | name version grafana | logger=migrator t=2024-03-10T11:35:34.097929195Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | policyadmin 1200 grafana | logger=migrator t=2024-03-10T11:35:34.107660594Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.732299ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-03-10T11:35:34.112707395Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 grafana | logger=migrator t=2024-03-10T11:35:34.120463167Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.755372ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 grafana | logger=migrator t=2024-03-10T11:35:34.124132111Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 grafana | logger=migrator t=2024-03-10T11:35:34.129606803Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.474262ms policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 grafana | logger=migrator t=2024-03-10T11:35:34.133102377Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 grafana | logger=migrator t=2024-03-10T11:35:34.140848399Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.745692ms policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 grafana | logger=migrator t=2024-03-10T11:35:34.193420792Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 grafana | logger=migrator t=2024-03-10T11:35:34.195257489Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.837277ms policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:34 grafana | logger=migrator t=2024-03-10T11:35:34.199636067Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.200859452Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.222835ms policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.204768568Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.205839452Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.071104ms policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.211337354Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.212280468Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=942.714µs policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.216185044Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.218012102Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.826648ms policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.22262082Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.22272119Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=101.73µs policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.227801541Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.227835671Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=34.71µs policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.231613776Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.23224309Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=629.414µs policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.235986004Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.236966638Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=981.974µs policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.242009599Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.243228424Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.217835ms policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.249102528Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.249395629Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=293.201µs policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.253251884Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.253817126Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=564.992µs policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.257940654Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.259310629Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.369635ms policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.264235739Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:35 grafana | logger=migrator t=2024-03-10T11:35:34.266122697Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.886618ms policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.270568714Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.279877313Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=9.309419ms policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.283581007Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.283645638Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=65.541µs policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.287594413Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.288722778Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.127515ms policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.293708279Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.295448065Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.739816ms policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.299563552Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.301301359Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.738137ms policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.305624677Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.31375568Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.130393ms policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.318704739Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.319750844Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.047515ms policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.323618809Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.325262596Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.644037ms policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.330434008Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.351209571Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=20.775793ms policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.355320258Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.356164332Z level=info msg="Migration successfully executed" id="create correlation v2" duration=842.334µs policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.359713176Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.360697989Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=983.223µs policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.366222922Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.3681035Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.880708ms policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:36 grafana | logger=migrator t=2024-03-10T11:35:34.372215267Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.373312141Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.096644ms policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.377110536Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.377456567Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=343.611µs policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.382472738Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.383770954Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.297496ms policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.38799309Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.397113287Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.119537ms policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.401363765Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-03-10T11:35:34.403002122Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.638537ms policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.408588254Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.409812669Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.224295ms policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.413403983Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.413980855Z 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 | 73 0820-toscatrigger.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.417622971Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.418148923Z 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 | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.424006686Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.425431643Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.423997ms policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.431482687Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.432473151Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=990.604µs policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.439093737Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.440927655Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.833408ms policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.444858691Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.446456787Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.598066ms policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.450018931Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.451003286Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=984.265µs policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.455521844Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:37 grafana | logger=migrator t=2024-03-10T11:35:34.456501388Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=979.384µs policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.460341214Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.461085796Z level=info msg="Migration successfully executed" id="Drop public config table" duration=744.232µs policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.466040727Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.467160151Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.118794ms policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.470785786Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.47183138Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.045514ms policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.477879024Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-03-10T11:35:34.479710292Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.830568ms policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.48682848Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.488667078Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.838578ms policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1003241135340800u 1 2024-03-10 11:35:38 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.493002346Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.51625146Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.251234ms policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.520002895Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.526137981Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.135966ms policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.530767399Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.539151433Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.380494ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.543092489Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:38 grafana | logger=migrator t=2024-03-10T11:35:34.54331504Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=223.071µs policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.546891064Z level=info msg="Executing migration" id="add share column" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.555327299Z level=info msg="Migration successfully executed" id="add share column" duration=8.434575ms policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.560037668Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.560242469Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=204.801µs policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1003241135340900u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.564286695Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.565290608Z level=info msg="Migration successfully executed" id="create file table" duration=1.003683ms policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.569737437Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.571515184Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.777477ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.575684411Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.576729286Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.044485ms policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.581205933Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.581995436Z level=info msg="Migration successfully executed" id="create file_meta table" duration=789.213µs policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.585796692Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1003241135341000u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.586850916Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.053874ms policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1003241135341100u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.590646742Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1003241135341200u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.590710362Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=64.08µs policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1003241135341200u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.59532716Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1003241135341200u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.595427551Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=101.271µs policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1003241135341200u 1 2024-03-10 11:35:39 grafana | logger=migrator t=2024-03-10T11:35:34.599342707Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2024-03-10T11:35:34.60014165Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=799.053µs grafana | logger=migrator t=2024-03-10T11:35:34.604112046Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-03-10T11:35:34.604441337Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=322.241µs grafana | logger=migrator t=2024-03-10T11:35:34.608276113Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-03-10T11:35:34.610324942Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.047789ms grafana | logger=migrator t=2024-03-10T11:35:34.615405192Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-03-10T11:35:34.624527109Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.121887ms grafana | logger=migrator t=2024-03-10T11:35:34.628452105Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-03-10T11:35:34.628611115Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=158.94µs grafana | logger=migrator t=2024-03-10T11:35:34.632535031Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-03-10T11:35:34.633735386Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.199895ms grafana | logger=migrator t=2024-03-10T11:35:34.638597396Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-03-10T11:35:34.639182048Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=585.682µs grafana | logger=migrator t=2024-03-10T11:35:34.643290345Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-03-10T11:35:34.643610146Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=319.561µs grafana | logger=migrator t=2024-03-10T11:35:34.647508142Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-03-10T11:35:34.647960944Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=450.502µs grafana | logger=migrator t=2024-03-10T11:35:34.651639729Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-03-10T11:35:34.660541684Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.899285ms grafana | logger=migrator t=2024-03-10T11:35:34.665000403Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-03-10T11:35:34.671302608Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.301265ms grafana | logger=migrator t=2024-03-10T11:35:34.674794333Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-03-10T11:35:34.675821697Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.027254ms grafana | logger=migrator t=2024-03-10T11:35:34.679284561Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-03-10T11:35:34.750942061Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=71.65719ms grafana | logger=migrator t=2024-03-10T11:35:34.756194713Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-03-10T11:35:34.757967659Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.773606ms grafana | logger=migrator t=2024-03-10T11:35:34.763159831Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-03-10T11:35:34.764905898Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.745417ms grafana | logger=migrator t=2024-03-10T11:35:34.771111643Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-03-10T11:35:34.796817307Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=25.705444ms grafana | logger=migrator t=2024-03-10T11:35:34.802889431Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-03-10T11:35:34.810182881Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.29268ms grafana | logger=migrator t=2024-03-10T11:35:34.814452918Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-03-10T11:35:34.8147499Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=297.282µs grafana | logger=migrator t=2024-03-10T11:35:34.821155756Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-03-10T11:35:34.821312277Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=158.831µs grafana | logger=migrator t=2024-03-10T11:35:34.825336992Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-03-10T11:35:34.825525933Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=188.631µs grafana | logger=migrator t=2024-03-10T11:35:34.829006068Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-03-10T11:35:34.829200889Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=194.461µs grafana | logger=migrator t=2024-03-10T11:35:34.835604754Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-03-10T11:35:34.835926926Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=322.492µs grafana | logger=migrator t=2024-03-10T11:35:34.843322956Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-03-10T11:35:34.844887812Z level=info msg="Migration successfully executed" id="create folder table" duration=1.564696ms grafana | logger=migrator t=2024-03-10T11:35:34.849089139Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-03-10T11:35:34.851250658Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.162249ms grafana | logger=migrator t=2024-03-10T11:35:34.856133117Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-03-10T11:35:34.857253862Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.118855ms grafana | logger=migrator t=2024-03-10T11:35:34.862265643Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-03-10T11:35:34.862307993Z level=info msg="Migration successfully executed" id="Update folder title length" duration=40.48µs grafana | logger=migrator t=2024-03-10T11:35:34.867762944Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-03-10T11:35:34.869683922Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.918248ms grafana | logger=migrator t=2024-03-10T11:35:34.875813367Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-03-10T11:35:34.876820182Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.006925ms grafana | logger=migrator t=2024-03-10T11:35:34.88162502Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-03-10T11:35:34.883450208Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.824398ms grafana | logger=migrator t=2024-03-10T11:35:34.888648089Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-03-10T11:35:34.889318052Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=669.553µs grafana | logger=migrator t=2024-03-10T11:35:34.893090378Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-03-10T11:35:34.893333289Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=243.751µs grafana | logger=migrator t=2024-03-10T11:35:34.897555385Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-03-10T11:35:34.898722951Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.166266ms grafana | logger=migrator t=2024-03-10T11:35:34.907070564Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-03-10T11:35:34.908868491Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.796747ms grafana | logger=migrator t=2024-03-10T11:35:34.915054696Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-03-10T11:35:34.916108121Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.052915ms grafana | logger=migrator t=2024-03-10T11:35:34.921169092Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-03-10T11:35:34.922361236Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.190864ms grafana | logger=migrator t=2024-03-10T11:35:34.926714874Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-03-10T11:35:34.92831663Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.601026ms grafana | logger=migrator t=2024-03-10T11:35:34.932239625Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-03-10T11:35:34.93312946Z level=info msg="Migration successfully executed" id="create anon_device table" duration=889.205µs grafana | logger=migrator t=2024-03-10T11:35:34.941622364Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-03-10T11:35:34.943543582Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.920358ms grafana | logger=migrator t=2024-03-10T11:35:34.948714322Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-03-10T11:35:34.950108539Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.394587ms grafana | logger=migrator t=2024-03-10T11:35:34.954309695Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-03-10T11:35:34.955218599Z level=info msg="Migration successfully executed" id="create signing_key table" duration=908.384µs grafana | logger=migrator t=2024-03-10T11:35:34.96037987Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-03-10T11:35:34.962293108Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.913538ms grafana | logger=migrator t=2024-03-10T11:35:34.966696526Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-03-10T11:35:34.968353202Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.657996ms grafana | logger=migrator t=2024-03-10T11:35:34.973162672Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-03-10T11:35:34.973423923Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=262.121µs grafana | logger=migrator t=2024-03-10T11:35:34.979455297Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-03-10T11:35:34.991233015Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.778248ms grafana | logger=migrator t=2024-03-10T11:35:34.995172921Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-03-10T11:35:34.995857124Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=685.103µs grafana | logger=migrator t=2024-03-10T11:35:35.000051621Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-03-10T11:35:35.001145255Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.093184ms grafana | logger=migrator t=2024-03-10T11:35:35.006210866Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-03-10T11:35:35.007856162Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.646056ms grafana | logger=migrator t=2024-03-10T11:35:35.014354009Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-03-10T11:35:35.015983875Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.629816ms grafana | logger=migrator t=2024-03-10T11:35:35.020902685Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-03-10T11:35:35.022885833Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.979088ms grafana | logger=migrator t=2024-03-10T11:35:35.027421271Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-03-10T11:35:35.028646977Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.224846ms grafana | logger=migrator t=2024-03-10T11:35:35.033024644Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-03-10T11:35:35.034159349Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.134125ms grafana | logger=migrator t=2024-03-10T11:35:35.039467161Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-03-10T11:35:35.040297954Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=831.633µs grafana | logger=migrator t=2024-03-10T11:35:35.045862326Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-03-10T11:35:35.046399588Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=541.732µs grafana | logger=migrator t=2024-03-10T11:35:35.052742165Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-03-10T11:35:35.052939816Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=158.79µs grafana | logger=migrator t=2024-03-10T11:35:35.057203612Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-03-10T11:35:35.071238359Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=14.036677ms grafana | logger=migrator t=2024-03-10T11:35:35.076835182Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-03-10T11:35:35.085573407Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=8.736975ms grafana | logger=migrator t=2024-03-10T11:35:35.089324683Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-03-10T11:35:35.089611004Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=286.021µs grafana | logger=migrator t=2024-03-10T11:35:35.093410449Z level=info msg="migrations completed" performed=547 skipped=0 duration=4.703470013s grafana | logger=sqlstore t=2024-03-10T11:35:35.100536278Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-03-10T11:35:35.10087468Z level=info msg="Created default organization" grafana | logger=secrets t=2024-03-10T11:35:35.106823344Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-03-10T11:35:35.126750714Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-03-10T11:35:35.171397365Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-03-10T11:35:35.171425705Z level=info msg="Plugins loaded" count=55 duration=44.675531ms grafana | logger=query_data t=2024-03-10T11:35:35.173751525Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-03-10T11:35:35.177347989Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-03-10T11:35:35.191375216Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-03-10T11:35:35.192140399Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-03-10T11:35:35.192945623Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-03-10T11:35:35.193647226Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-03-10T11:35:35.195356362Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-03-10T11:35:35.222254931Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-03-10T11:35:35.224552761Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-03-10T11:35:35.226493139Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-03-10T11:35:35.272156694Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-03-10T11:35:35.272270654Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-03-10T11:35:35.272547895Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-03-10T11:35:35.272736356Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.state.manager t=2024-03-10T11:35:35.273424088Z level=info msg="State cache has been initialized" states=0 duration=874.833µs grafana | logger=ngalert.scheduler t=2024-03-10T11:35:35.273470008Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-03-10T11:35:35.274394033Z level=info msg=starting first_tick=2024-03-10T11:35:40Z grafana | logger=grafanaStorageLogger t=2024-03-10T11:35:35.275144296Z level=info msg="Storage starting" grafana | logger=http.server t=2024-03-10T11:35:35.277342645Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=provisioning.dashboard t=2024-03-10T11:35:35.332006046Z level=info msg="starting to provision dashboards" grafana | logger=sqlstore.transactions t=2024-03-10T11:35:35.356340235Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-03-10T11:35:35.367723961Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=plugins.update.checker t=2024-03-10T11:35:35.406048666Z level=info msg="Update check succeeded" duration=132.916199ms grafana | logger=sqlstore.transactions t=2024-03-10T11:35:35.456417691Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2024-03-10T11:35:35.496825664Z level=info msg="Update check succeeded" duration=223.691737ms grafana | logger=provisioning.dashboard t=2024-03-10T11:35:35.610975527Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-03-10T11:35:35.788833207Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-03-10T11:35:35.789564141Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-03-10T11:36:35.284915032Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing 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.Px3up8NRu8 ]] + rsync -av /tmp/tmp.Px3up8NRu8/ /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,588 bytes received 95 bytes 2,695,366.00 bytes/sec total size is 1,346,938 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 2108 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/jenkins695000440693684938.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17020357437683775461.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/jenkins16136130348772578516.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-gBUe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-gBUe/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13608246812344374459.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config6007288903114657410tmp 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/jenkins8555126739447349187.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7390294141431728882.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-gBUe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-gBUe/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17277135061405542391.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3960960309394550351.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-gBUe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-gBUe/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/jenkins6188829065933554793.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-gBUe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-gBUe/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/296 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-12321 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 843 27422 0 3901 30867 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:98:05:5a brd ff:ff:ff:ff:ff:ff inet 10.30.107.112/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86062sec preferred_lft 86062sec inet6 fe80::f816:3eff:fe98:55a/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:4a:36:fe:7c 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-12321) 03/10/24 _x86_64_ (8 CPU) 11:32:30 LINUX RESTART (8 CPU) 11:33:01 tps rtps wtps bread/s bwrtn/s 11:34:01 143.36 70.69 72.67 4567.11 22798.60 11:35:01 131.56 22.98 108.58 2773.54 27299.05 11:36:01 377.14 15.93 361.21 810.10 75194.92 11:37:01 13.41 0.00 13.41 0.00 14870.22 11:38:01 56.12 1.93 54.19 111.98 17318.51 Average: 144.30 22.30 122.00 1652.38 31494.60 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30149496 31731152 2789724 8.47 68108 1824244 1379476 4.06 836880 1660320 156848 11:35:01 28998904 31654192 3940316 11.96 99080 2832448 1553576 4.57 1000940 2574132 811292 11:36:01 26821048 30450100 6118172 18.57 127036 3669284 4697604 13.82 2291600 3375004 324 11:37:01 26844816 30445472 6094404 18.50 127188 3669972 4679240 13.77 2297812 3345136 48 11:38:01 28057696 31585292 4881524 14.82 129260 3636968 1516584 4.46 1191816 3264536 23668 Average: 28174392 31173242 4764828 14.47 110134 3126583 2765296 8.14 1523810 2843826 198436 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 ens3 355.41 254.54 1560.72 70.79 0.00 0.00 0.00 0.00 11:34:01 lo 1.53 1.53 0.16 0.16 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 br-dffb5d82c835 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 169.27 115.86 4320.63 13.79 0.00 0.00 0.00 0.00 11:35:01 lo 6.60 6.60 0.62 0.62 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-dffb5d82c835 0.88 0.95 0.10 0.34 0.00 0.00 0.00 0.00 11:36:01 vethd832325 30.83 27.50 14.18 24.58 0.00 0.00 0.00 0.00 11:36:01 veth7c17329 0.05 0.28 0.00 0.02 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 br-dffb5d82c835 2.91 3.33 5.83 2.20 0.00 0.00 0.00 0.00 11:37:01 vethd832325 84.28 67.59 32.49 94.47 0.00 0.00 0.00 0.01 11:37:01 veth7c17329 0.18 0.18 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 764.54 531.99 11083.05 130.90 0.00 0.00 0.00 0.00 11:38:01 lo 34.14 34.14 10.43 10.43 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 150.35 104.33 2202.74 25.92 0.00 0.00 0.00 0.00 Average: lo 6.07 6.07 2.02 2.02 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-12321) 03/10/24 _x86_64_ (8 CPU) 11:32:30 LINUX RESTART (8 CPU) 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 11.06 0.00 1.01 2.49 0.05 85.39 11:34:01 0 27.82 0.00 2.21 2.35 0.07 67.55 11:34:01 1 18.96 0.00 1.01 1.19 0.03 78.81 11:34:01 2 14.66 0.00 0.99 0.52 0.03 83.81 11:34:01 3 7.70 0.00 0.85 0.58 0.03 90.83 11:34:01 4 2.44 0.00 0.80 0.65 0.03 96.07 11:34:01 5 8.07 0.00 0.92 0.82 0.05 90.14 11:34:01 6 5.65 0.00 0.55 0.74 0.08 92.98 11:34:01 7 3.30 0.00 0.70 13.10 0.03 82.87 11:35:01 all 10.73 0.00 1.46 2.46 0.04 85.31 11:35:01 0 9.75 0.00 1.19 1.19 0.05 87.82 11:35:01 1 3.38 0.00 1.03 3.62 0.03 91.94 11:35:01 2 5.72 0.00 1.23 0.90 0.02 92.13 11:35:01 3 25.04 0.00 2.08 1.59 0.05 71.24 11:35:01 4 10.21 0.00 2.11 0.17 0.05 87.46 11:35:01 5 4.19 0.00 1.44 0.30 0.05 94.02 11:35:01 6 24.68 0.00 1.71 1.14 0.07 72.40 11:35:01 7 2.93 0.00 0.87 10.74 0.05 85.41 11:36:01 all 18.49 0.00 3.50 6.31 0.07 71.62 11:36:01 0 20.05 0.00 3.10 2.58 0.07 74.20 11:36:01 1 20.11 0.00 3.28 3.05 0.07 73.49 11:36:01 2 18.88 0.00 3.13 1.69 0.05 76.24 11:36:01 3 15.98 0.00 3.05 4.41 0.05 76.51 11:36:01 4 16.08 0.00 3.76 0.67 0.07 79.42 11:36:01 5 12.10 0.00 2.55 3.69 0.07 81.58 11:36:01 6 23.83 0.00 5.09 23.29 0.08 47.70 11:36:01 7 20.95 0.00 4.09 11.24 0.07 63.65 11:37:01 all 3.78 0.00 0.32 0.98 0.04 94.88 11:37:01 0 1.97 0.00 0.23 0.03 0.07 97.70 11:37:01 1 3.93 0.00 0.23 0.00 0.03 95.80 11:37:01 2 4.93 0.00 0.30 0.00 0.03 94.73 11:37:01 3 5.63 0.00 0.62 7.33 0.05 86.38 11:37:01 4 2.95 0.00 0.32 0.17 0.05 96.52 11:37:01 5 4.07 0.00 0.28 0.30 0.00 95.35 11:37:01 6 2.95 0.00 0.28 0.00 0.05 96.72 11:37:01 7 3.80 0.00 0.28 0.00 0.03 95.88 11:38:01 all 7.30 0.00 0.63 1.32 0.04 90.71 11:38:01 0 7.75 0.00 0.77 0.68 0.08 90.72 11:38:01 1 2.57 0.00 0.47 0.05 0.02 96.89 11:38:01 2 1.73 0.00 0.53 0.22 0.02 97.50 11:38:01 3 9.90 0.00 0.75 1.53 0.05 87.77 11:38:01 4 2.17 0.00 0.52 0.08 0.03 97.19 11:38:01 5 0.57 0.00 0.40 4.91 0.03 94.09 11:38:01 6 28.50 0.00 0.95 3.02 0.05 67.48 11:38:01 7 5.16 0.00 0.73 0.03 0.03 94.04 Average: all 10.26 0.00 1.38 2.71 0.05 85.60 Average: 0 13.45 0.00 1.50 1.36 0.07 83.62 Average: 1 9.78 0.00 1.20 1.58 0.04 87.41 Average: 2 9.17 0.00 1.24 0.66 0.03 88.90 Average: 3 12.84 0.00 1.47 3.09 0.05 82.56 Average: 4 6.76 0.00 1.50 0.35 0.05 91.34 Average: 5 5.79 0.00 1.12 2.00 0.04 91.05 Average: 6 17.09 0.00 1.71 5.61 0.07 75.52 Average: 7 7.20 0.00 1.33 7.01 0.04 84.42