Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-13305 (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-ZszBPv5GGH8L/agent.2096 SSH_AGENT_PID=2098 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_15378191882270501723.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_15378191882270501723.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/jenkins12120812418375955835.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-wm4G 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-wm4G/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-wm4G/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.63 botocore==1.34.63 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.10 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 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.6.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.4.0 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.1 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/jenkins17522599494368565077.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/jenkins16559317732849776396.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.R1QgxLKEoG ++ echo ROBOT_VENV=/tmp/tmp.R1QgxLKEoG +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.R1QgxLKEoG ++ source /tmp/tmp.R1QgxLKEoG/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.R1QgxLKEoG +++ 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.R1QgxLKEoG/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.R1QgxLKEoG) ' '!=' x ']' +++ PS1='(tmp.R1QgxLKEoG) ' +++ 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.R1QgxLKEoG/src/onap ++ rm -rf /tmp/tmp.R1QgxLKEoG/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.R1QgxLKEoG/bin/activate + '[' -z /tmp/tmp.R1QgxLKEoG/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.R1QgxLKEoG/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.R1QgxLKEoG ++ 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.R1QgxLKEoG/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.R1QgxLKEoG) ' ++ '[' 'x(tmp.R1QgxLKEoG) ' '!=' x ']' ++ PS1='(tmp.R1QgxLKEoG) (tmp.R1QgxLKEoG) ' ++ 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.oTqwHpaS2g + cd /tmp/tmp.oTqwHpaS2g + 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 prometheus ... done Creating grafana ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 11 seconds policy-db-migrator Up 12 seconds grafana Up 10 seconds mariadb Up 13 seconds prometheus Up 13 seconds NAMES STATUS policy-api Up 16 seconds grafana Up 15 seconds mariadb Up 18 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 21 seconds grafana Up 20 seconds mariadb Up 23 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 26 seconds grafana Up 25 seconds mariadb Up 28 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ sed 's/./& /g' ++ echo hxB + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:47 up 4 min, 0 users, load average: 2.55, 1.13, 0.45 Tasks: 177 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.3 us, 2.0 sy, 0.0 ni, 82.0 id, 5.6 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 policy-api Up 26 seconds grafana Up 25 seconds mariadb Up 28 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS ec9e1a802bb7 policy-api 0.58% 1000MiB / 31.41GiB 3.11% 1.04MB / 739kB 0B / 0B 52 068d74755607 grafana 0.03% 54.27MiB / 31.41GiB 0.17% 18kB / 3.18kB 0B / 24.7MB 13 75e90a66c6a0 mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.2MB / 67.9MB 25 08a01457c829 prometheus 0.00% 18.69MiB / 31.41GiB 0.06% 1.52kB / 158B 4.1kB / 0B 13 + echo + cd /tmp/tmp.oTqwHpaS2g + 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.oTqwHpaS2g/output.xml Log: /tmp/tmp.oTqwHpaS2g/log.html Report: /tmp/tmp.oTqwHpaS2g/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:39:00 up 5 min, 0 users, load average: 1.29, 1.10, 0.50 Tasks: 171 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.8 us, 1.6 sy, 0.0 ni, 84.3 id, 5.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.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS ec9e1a802bb7 policy-api 0.13% 1021MiB / 31.41GiB 3.18% 7.32MB / 2.87MB 0B / 0B 52 068d74755607 grafana 0.04% 56.26MiB / 31.41GiB 0.17% 19.1kB / 4.41kB 0B / 24.7MB 13 75e90a66c6a0 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.75MB / 7.36MB 11.2MB / 68MB 18 08a01457c829 prometheus 0.00% 25.1MiB / 31.41GiB 0.08% 38kB / 7.09kB 4.1kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-03-15T11:37:21.91570883Z level=info msg="Starting Grafana" version=10.4.0 commit=03f502a94d17f7dc4e6c34acdf8428aedd986e4c branch=HEAD compiled=2024-03-15T11:37:21Z grafana | logger=settings t=2024-03-15T11:37:21.915950807Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-03-15T11:37:21.915958357Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-03-15T11:37:21.915961798Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-03-15T11:37:21.915964828Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-03-15T11:37:21.915969068Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-15T11:37:21.915971938Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-15T11:37:21.915974668Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-03-15T11:37:21.915977918Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-03-15T11:37:21.915981318Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-03-15T11:37:21.915984958Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-15T11:37:21.915987678Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-15T11:37:21.915990488Z level=info msg=Target target=[all] grafana | logger=settings t=2024-03-15T11:37:21.915995788Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-03-15T11:37:21.915998519Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-03-15T11:37:21.916001349Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-03-15T11:37:21.916004229Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-03-15T11:37:21.916006869Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-03-15T11:37:21.916010969Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-03-15T11:37:21.916364189Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-03-15T11:37:21.916386389Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-03-15T11:37:21.917006658Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-03-15T11:37:21.917982925Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-03-15T11:37:21.918820838Z level=info msg="Migration successfully executed" id="create migration_log table" duration=837.803µs grafana | logger=migrator t=2024-03-15T11:37:21.925087785Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-03-15T11:37:21.925651551Z level=info msg="Migration successfully executed" id="create user table" duration=563.686µs grafana | logger=migrator t=2024-03-15T11:37:21.92915444Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-03-15T11:37:21.930305082Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.148802ms grafana | logger=migrator t=2024-03-15T11:37:21.93627417Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-03-15T11:37:21.937495175Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.220655ms grafana | logger=migrator t=2024-03-15T11:37:21.941099006Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-03-15T11:37:21.941728184Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=629.338µs grafana | logger=migrator t=2024-03-15T11:37:21.945534121Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-03-15T11:37:21.946153029Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=618.918µs grafana | logger=migrator t=2024-03-15T11:37:21.951917111Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-03-15T11:37:21.955847012Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.933671ms grafana | logger=migrator t=2024-03-15T11:37:21.959793673Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-03-15T11:37:21.960597956Z level=info msg="Migration successfully executed" id="create user table v2" duration=805.193µs grafana | logger=migrator t=2024-03-15T11:37:21.964171846Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-03-15T11:37:21.964906798Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=746.272µs grafana | logger=migrator t=2024-03-15T11:37:21.970357901Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-03-15T11:37:21.971407421Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.04512ms grafana | logger=migrator t=2024-03-15T11:37:21.974905899Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-03-15T11:37:21.975323581Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=417.632µs grafana | logger=migrator t=2024-03-15T11:37:21.978268114Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-03-15T11:37:21.978742788Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=474.874µs grafana | logger=migrator t=2024-03-15T11:37:21.98201848Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-03-15T11:37:21.983709547Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.689427ms grafana | logger=migrator t=2024-03-15T11:37:21.98913976Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-03-15T11:37:21.989184362Z level=info msg="Migration successfully executed" id="Update user table charset" duration=49.892µs grafana | logger=migrator t=2024-03-15T11:37:21.992713382Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-03-15T11:37:21.993772061Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.058539ms grafana | logger=migrator t=2024-03-15T11:37:21.997208608Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-03-15T11:37:21.997415724Z level=info msg="Migration successfully executed" id="Add missing user data" duration=207.196µs grafana | logger=migrator t=2024-03-15T11:37:22.000984245Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-03-15T11:37:22.002053585Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.06939ms grafana | logger=migrator t=2024-03-15T11:37:22.007416976Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-03-15T11:37:22.008688111Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.270496ms grafana | logger=migrator t=2024-03-15T11:37:22.013092195Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-03-15T11:37:22.014979188Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.885183ms grafana | logger=migrator t=2024-03-15T11:37:22.018606899Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-03-15T11:37:22.026503081Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.82304ms grafana | logger=migrator t=2024-03-15T11:37:22.034176915Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-03-15T11:37:22.036024147Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.850502ms grafana | logger=migrator t=2024-03-15T11:37:22.039867995Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-03-15T11:37:22.040162934Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=296.679µs grafana | logger=migrator t=2024-03-15T11:37:22.045588415Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-03-15T11:37:22.046830211Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.240925ms grafana | logger=migrator t=2024-03-15T11:37:22.054138286Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-03-15T11:37:22.055476703Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.336926ms grafana | logger=migrator t=2024-03-15T11:37:22.061742168Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-03-15T11:37:22.063406065Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.663727ms grafana | logger=migrator t=2024-03-15T11:37:22.073627931Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-03-15T11:37:22.075047501Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.41904ms grafana | logger=migrator t=2024-03-15T11:37:22.080974927Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-03-15T11:37:22.082566622Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.591185ms grafana | logger=migrator t=2024-03-15T11:37:22.086374699Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-03-15T11:37:22.087602013Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.227363ms grafana | logger=migrator t=2024-03-15T11:37:22.093017045Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-03-15T11:37:22.093039885Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=23.8µs grafana | logger=migrator t=2024-03-15T11:37:22.0971137Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-03-15T11:37:22.097865211Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=751.201µs grafana | logger=migrator t=2024-03-15T11:37:22.101777311Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-03-15T11:37:22.102880432Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.10328ms grafana | logger=migrator t=2024-03-15T11:37:22.108124549Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-03-15T11:37:22.109115196Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=990.307µs grafana | logger=migrator t=2024-03-15T11:37:22.112991595Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-03-15T11:37:22.113728506Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=736.781µs grafana | logger=migrator t=2024-03-15T11:37:22.117499361Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-15T11:37:22.120611258Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.111307ms grafana | logger=migrator t=2024-03-15T11:37:22.125842075Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-03-15T11:37:22.126791491Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=948.676µs grafana | logger=migrator t=2024-03-15T11:37:22.131262417Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-03-15T11:37:22.132025838Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=763.291µs grafana | logger=migrator t=2024-03-15T11:37:22.136472493Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-03-15T11:37:22.13813114Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.658807ms grafana | logger=migrator t=2024-03-15T11:37:22.216891718Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-03-15T11:37:22.218623605Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.732168ms grafana | logger=migrator t=2024-03-15T11:37:22.223142862Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-03-15T11:37:22.224593273Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.44751ms grafana | logger=migrator t=2024-03-15T11:37:22.229000367Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-03-15T11:37:22.229438349Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=437.452µs grafana | logger=migrator t=2024-03-15T11:37:22.233613166Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-03-15T11:37:22.234208813Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=593.647µs grafana | logger=migrator t=2024-03-15T11:37:22.239240804Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-03-15T11:37:22.239877632Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=636.468µs grafana | logger=migrator t=2024-03-15T11:37:22.24374891Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-03-15T11:37:22.244636235Z level=info msg="Migration successfully executed" id="create star table" duration=886.965µs grafana | logger=migrator t=2024-03-15T11:37:22.248235026Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-03-15T11:37:22.249024708Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=791.242µs grafana | logger=migrator t=2024-03-15T11:37:22.256080126Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-03-15T11:37:22.25694071Z level=info msg="Migration successfully executed" id="create org table v1" duration=860.004µs grafana | logger=migrator t=2024-03-15T11:37:22.261195529Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-03-15T11:37:22.262492516Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.297067ms grafana | logger=migrator t=2024-03-15T11:37:22.26696728Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-03-15T11:37:22.268134324Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.165894ms grafana | logger=migrator t=2024-03-15T11:37:22.273619457Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-03-15T11:37:22.274619735Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.001268ms grafana | logger=migrator t=2024-03-15T11:37:22.280558842Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-03-15T11:37:22.281403536Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=844.154µs grafana | logger=migrator t=2024-03-15T11:37:22.285813529Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-03-15T11:37:22.286922111Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.104842ms grafana | logger=migrator t=2024-03-15T11:37:22.291237121Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-03-15T11:37:22.291277572Z level=info msg="Migration successfully executed" id="Update org table charset" duration=42.021µs grafana | logger=migrator t=2024-03-15T11:37:22.29583722Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-03-15T11:37:22.295886552Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=51.172µs grafana | logger=migrator t=2024-03-15T11:37:22.301101468Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-03-15T11:37:22.301605182Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=503.534µs grafana | logger=migrator t=2024-03-15T11:37:22.306757007Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-03-15T11:37:22.308064973Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.307387ms grafana | logger=migrator t=2024-03-15T11:37:22.312385814Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-03-15T11:37:22.313259859Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=873.635µs grafana | logger=migrator t=2024-03-15T11:37:22.317695593Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-03-15T11:37:22.318552027Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=856.134µs grafana | logger=migrator t=2024-03-15T11:37:22.325528942Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-03-15T11:37:22.32688397Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.354538ms grafana | logger=migrator t=2024-03-15T11:37:22.330954114Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-03-15T11:37:22.331814799Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=858.805µs grafana | logger=migrator t=2024-03-15T11:37:22.335490702Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-03-15T11:37:22.336272654Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=781.911µs grafana | logger=migrator t=2024-03-15T11:37:22.341331375Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-03-15T11:37:22.346304785Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.97214ms grafana | logger=migrator t=2024-03-15T11:37:22.350488982Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-03-15T11:37:22.351313105Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=821.733µs grafana | logger=migrator t=2024-03-15T11:37:22.354997758Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-03-15T11:37:22.35578347Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=787.332µs grafana | logger=migrator t=2024-03-15T11:37:22.360497993Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-03-15T11:37:22.361349056Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=850.614µs grafana | logger=migrator t=2024-03-15T11:37:22.366980774Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-03-15T11:37:22.367396946Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=415.582µs grafana | logger=migrator t=2024-03-15T11:37:22.37109847Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-03-15T11:37:22.372429377Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.326867ms grafana | logger=migrator t=2024-03-15T11:37:22.378497677Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-03-15T11:37:22.378695602Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=197.465µs grafana | logger=migrator t=2024-03-15T11:37:22.382738966Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-03-15T11:37:22.3846462Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.906324ms grafana | logger=migrator t=2024-03-15T11:37:22.388705574Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-03-15T11:37:22.391455621Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.747977ms grafana | logger=migrator t=2024-03-15T11:37:22.396209864Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-03-15T11:37:22.398475107Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.293014ms policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-03-15T11:37:35.121+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 35 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-03-15T11:37:35.125+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-03-15T11:37:36.454+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-03-15T11:37:36.541+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. policy-api | [2024-03-15T11:37:37.559+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-03-15T11:37:37.573+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-15T11:37:37.573+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-03-15T11:37:37.573+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-03-15T11:37:37.656+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-03-15T11:37:37.656+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2472 ms policy-api | [2024-03-15T11:37:38.211+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-03-15T11:37:38.279+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-03-15T11:37:38.482+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-03-15T11:37:38.621+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-03-15T11:37:38.738+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-03-15T11:37:38.762+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-03-15T11:37:40.197+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-03-15T11:37:40.208+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-03-15T11:37:41.290+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-03-15T11:37:41.999+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-03-15T11:37:43.148+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1942a960, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5bee88e3, org.springframework.security.web.context.SecurityContextPersistenceFilter@5e147821, org.springframework.security.web.header.HeaderWriterFilter@119b837, org.springframework.security.web.authentication.logout.LogoutFilter@b09df69, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@7f2163d3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@395065af, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@304d6881, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2dd25088, org.springframework.security.web.session.SessionManagementFilter@5621119d, org.springframework.security.web.access.ExceptionTranslationFilter@2ce5ea69, org.springframework.security.web.access.intercept.AuthorizationFilter@65c2610f] policy-api | [2024-03-15T11:37:43.298+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-15T11:37:46.532+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-03-15T11:37:46.561+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-15T11:37:46.589+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-03-15T11:37:46.604+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.315 seconds (JVM running for 12.977) policy-api | [2024-03-15T11:37:50.228+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-03-15T11:37:50.229+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-03-15T11:37:50.230+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-03-15T11:37:52.940+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-03-15T11:37:53.063+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-03-15T11:37:53.320+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-03-15T11:37:54.975+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-03-15T11:37:57.859+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-03-15T11:37:58.453+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-03-15T11:37:58.745+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-15T11:37:59.047+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-03-15T11:37:59.431+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-03-15T11:37:59.750+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 mariadb | 2024-03-15 11:37:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-15 11:37:18+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-03-15 11:37:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-15 11:37:19+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-03-15 11:37:19 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-15 11:37:19 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-15 11:37:19 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-15 11:37:21+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-03-15 11:37:21+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-03-15 11:37:21+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-03-15 11:37:21 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-15 11:37:21 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-15 11:37:21 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-15 11:37:21 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-15 11:37:21 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-03-15 11:37:21 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-15 11:37:21 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-15 11:37:21 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-15 11:37:21 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-15 11:37:21 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-15 11:37:22+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-03-15 11:37:23+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-03-15 11:37:23+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-03-15 11:37:23+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-03-15 11:37:23+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh grafana | logger=migrator t=2024-03-15T11:37:22.402235963Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-03-15T11:37:22.403066036Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=829.833µs grafana | logger=migrator t=2024-03-15T11:37:22.407463679Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-03-15T11:37:22.409435484Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.973045ms grafana | logger=migrator t=2024-03-15T11:37:22.414688611Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-03-15T11:37:22.415814634Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.125253ms grafana | logger=migrator t=2024-03-15T11:37:22.420282958Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-03-15T11:37:22.421554724Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.271756ms grafana | logger=migrator t=2024-03-15T11:37:22.425751142Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-03-15T11:37:22.425793633Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=44.372µs grafana | logger=migrator t=2024-03-15T11:37:22.430248898Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-03-15T11:37:22.430293069Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=45.681µs grafana | logger=migrator t=2024-03-15T11:37:22.435746242Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-03-15T11:37:22.438875479Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.128437ms grafana | logger=migrator t=2024-03-15T11:37:22.504521909Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-03-15T11:37:22.507733009Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.21025ms grafana | logger=migrator t=2024-03-15T11:37:22.512908504Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-03-15T11:37:22.516485955Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.575871ms grafana | logger=migrator t=2024-03-15T11:37:22.522251177Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-03-15T11:37:22.52417217Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.920153ms grafana | logger=migrator t=2024-03-15T11:37:22.527869915Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-03-15T11:37:22.528157983Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=287.047µs grafana | logger=migrator t=2024-03-15T11:37:22.532120253Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-03-15T11:37:22.533466641Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.345228ms grafana | logger=migrator t=2024-03-15T11:37:22.537942676Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-03-15T11:37:22.53875511Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=812.754µs grafana | logger=migrator t=2024-03-15T11:37:22.54415342Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-03-15T11:37:22.544201401Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=49.461µs grafana | logger=migrator t=2024-03-15T11:37:22.548309687Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-03-15T11:37:22.549760087Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.44995ms grafana | logger=migrator t=2024-03-15T11:37:22.554645474Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-03-15T11:37:22.555422006Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=775.902µs grafana | logger=migrator t=2024-03-15T11:37:22.560501459Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-15T11:37:22.569300095Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.800667ms grafana | logger=migrator t=2024-03-15T11:37:22.573066011Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-03-15T11:37:22.573626587Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=560.295µs grafana | logger=migrator t=2024-03-15T11:37:22.577402772Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-03-15T11:37:22.577957318Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=555.436µs grafana | logger=migrator t=2024-03-15T11:37:22.583484713Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-03-15T11:37:22.584874222Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.38909ms grafana | logger=migrator t=2024-03-15T11:37:22.589168413Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-03-15T11:37:22.589521323Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=352.38µs mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. grafana | logger=migrator t=2024-03-15T11:37:22.594195313Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" mariadb | # grafana | logger=migrator t=2024-03-15T11:37:22.594683896Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=488.443µs policy-db-migrator | Waiting for mariadb port 3306... prometheus | ts=2024-03-15T11:37:17.880Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); grafana | logger=migrator t=2024-03-15T11:37:22.599586924Z level=info msg="Executing migration" id="Add check_sum column" prometheus | ts=2024-03-15T11:37:17.880Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.1, branch=HEAD, revision=8c9b0285360a0b6288d76214a75ce3025bce4050)" mariadb | # you may not use this file except in compliance with the License. grafana | logger=migrator t=2024-03-15T11:37:22.602958818Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.371154ms policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2024-03-15T11:37:17.880Z 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)" mariadb | # You may obtain a copy of the License at grafana | logger=migrator t=2024-03-15T11:37:22.606450607Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2024-03-15T11:37:17.880Z 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))" mariadb | # grafana | logger=migrator t=2024-03-15T11:37:22.607195367Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=744.05µs policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2024-03-15T11:37:17.880Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" mariadb | # http://www.apache.org/licenses/LICENSE-2.0 grafana | logger=migrator t=2024-03-15T11:37:22.611292142Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2024-03-15T11:37:17.880Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" mariadb | # grafana | logger=migrator t=2024-03-15T11:37:22.611671354Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=381.311µs policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2024-03-15T11:37:17.882Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 mariadb | # Unless required by applicable law or agreed to in writing, software grafana | logger=migrator t=2024-03-15T11:37:22.623486754Z level=info msg="Executing migration" id="delete stars for deleted dashboards" prometheus | ts=2024-03-15T11:37:17.882Z caller=main.go:1118 level=info msg="Starting TSDB ..." mariadb | # distributed under the License is distributed on an "AS IS" BASIS, grafana | logger=migrator t=2024-03-15T11:37:22.6236739Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=187.726µs prometheus | ts=2024-03-15T11:37:17.888Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. grafana | logger=migrator t=2024-03-15T11:37:22.627128686Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" prometheus | ts=2024-03-15T11:37:17.888Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 mariadb | # See the License for the specific language governing permissions and grafana | logger=migrator t=2024-03-15T11:37:22.627957029Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=828.083µs prometheus | ts=2024-03-15T11:37:17.891Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" mariadb | # limitations under the License. grafana | logger=migrator t=2024-03-15T11:37:22.6311878Z level=info msg="Executing migration" id="Add isPublic for dashboard" prometheus | ts=2024-03-15T11:37:17.891Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.86µs mariadb | grafana | logger=migrator t=2024-03-15T11:37:22.633453823Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.267183ms prometheus | ts=2024-03-15T11:37:17.891Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-15T11:37:22.638406842Z level=info msg="Executing migration" id="create data_source table" prometheus | ts=2024-03-15T11:37:17.891Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 mariadb | do grafana | logger=migrator t=2024-03-15T11:37:22.640154812Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.74761ms prometheus | ts=2024-03-15T11:37:17.891Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=128.193µs wal_replay_duration=473.078µs wbl_replay_duration=190ns total_replay_duration=630.671µs mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-03-15T11:37:22.645496392Z level=info msg="Executing migration" id="add index data_source.account_id" prometheus | ts=2024-03-15T11:37:17.894Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-03-15T11:37:22.646931391Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.43698ms prometheus | ts=2024-03-15T11:37:17.894Z caller=main.go:1142 level=info msg="TSDB started" mariadb | done policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! grafana | logger=migrator t=2024-03-15T11:37:22.651346535Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" prometheus | ts=2024-03-15T11:37:17.894Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | 314 blocks grafana | logger=migrator t=2024-03-15T11:37:22.652156938Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=809.973µs prometheus | ts=2024-03-15T11:37:17.895Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.061008ms db_storage=1.78µs remote_storage=3.15µs web_handler=500ns query_engine=1.72µs scrape=266.764µs scrape_sd=167.583µs notify=35.871µs notify_sd=9.96µs rules=2.68µs tracing=5.87µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' grafana | logger=migrator t=2024-03-15T11:37:22.656071957Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' prometheus | ts=2024-03-15T11:37:17.895Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." grafana | logger=migrator t=2024-03-15T11:37:22.65685991Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=788.233µs prometheus | ts=2024-03-15T11:37:17.895Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-15T11:37:22.662452487Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-03-15T11:37:22.663149436Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=696.53µs policy-db-migrator | Preparing upgrade release version: 0800 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-15T11:37:22.667335133Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | Preparing upgrade release version: 0900 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' grafana | logger=migrator t=2024-03-15T11:37:22.677633972Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.300129ms policy-db-migrator | Preparing upgrade release version: 1000 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-03-15T11:37:22.683249329Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-03-15T11:37:22.68400027Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=750.431µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-15T11:37:22.688473016Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' policy-db-migrator | Preparing upgrade release version: 1100 grafana | logger=migrator t=2024-03-15T11:37:22.689841053Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.367957ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | Preparing upgrade release version: 1200 grafana | logger=migrator t=2024-03-15T11:37:22.694233737Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-15T11:37:22.695546414Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.312277ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' grafana | logger=migrator t=2024-03-15T11:37:22.700683248Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-03-15T11:37:22.701242824Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=558.816µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | Done grafana | logger=migrator t=2024-03-15T11:37:22.705695318Z level=info msg="Executing migration" id="Add column with_credentials" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | name version grafana | logger=migrator t=2024-03-15T11:37:22.709619639Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.918711ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | policyadmin 0 grafana | logger=migrator t=2024-03-15T11:37:22.713778435Z level=info msg="Executing migration" id="Add secure json data column" mariadb | policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 grafana | logger=migrator t=2024-03-15T11:37:22.71608295Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.301175ms grafana | logger=migrator t=2024-03-15T11:37:22.7210718Z level=info msg="Executing migration" id="Update data_source table charset" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-db-migrator | upgrade: 0 -> 1200 grafana | logger=migrator t=2024-03-15T11:37:22.721101131Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=30.421µs mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:22.724823735Z level=info msg="Executing migration" id="Update initial version to 1" mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql grafana | logger=migrator t=2024-03-15T11:37:22.725318139Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=495.413µs mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp grafana | logger=migrator t=2024-03-15T11:37:22.795033763Z level=info msg="Executing migration" id="Add read_only data column" mariadb | grafana | logger=migrator t=2024-03-15T11:37:22.799060285Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=4.025813ms mariadb | 2024-03-15 11:37:24+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql grafana | logger=migrator t=2024-03-15T11:37:22.803947623Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" mariadb | 2024-03-15 11:37:24 0 [Note] mariadbd (initiated by: unknown): Normal shutdown policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:22.804473847Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=525.945µs mariadb | 2024-03-15 11:37:24 0 [Note] InnoDB: FTS optimize thread exiting. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-03-15T11:37:22.81030377Z level=info msg="Executing migration" id="Update json_data with nulls" mariadb | 2024-03-15 11:37:24 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2024-03-15T11:37:22.810898178Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=594.058µs mariadb | 2024-03-15 11:37:24 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-03-15T11:37:22.815020383Z level=info msg="Executing migration" id="Add uid column" mariadb | 2024-03-15 11:37:24 0 [Note] InnoDB: Buffer pool(s) dump completed at 240315 11:37:24 grafana | logger=migrator t=2024-03-15T11:37:22.818284534Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.267681ms mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2024-03-15T11:37:22.822186004Z level=info msg="Executing migration" id="Update uid value" mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Shutdown completed; log sequence number 330004; transaction id 298 grafana | logger=migrator t=2024-03-15T11:37:22.822490312Z level=info msg="Migration successfully executed" id="Update uid value" duration=303.878µs mariadb | 2024-03-15 11:37:25 0 [Note] mariadbd: Shutdown complete grafana | logger=migrator t=2024-03-15T11:37:22.82670299Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" mariadb | grafana | logger=migrator t=2024-03-15T11:37:22.827858503Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.156123ms mariadb | 2024-03-15 11:37:25+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2024-03-15T11:37:22.833246944Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" mariadb | grafana | logger=migrator t=2024-03-15T11:37:22.834629483Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.382228ms mariadb | 2024-03-15 11:37:25+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. grafana | logger=migrator t=2024-03-15T11:37:22.839410377Z level=info msg="Executing migration" id="create api_key table" mariadb | grafana | logger=migrator t=2024-03-15T11:37:22.840870277Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.45916ms mariadb | 2024-03-15 11:37:25 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:22.84596795Z level=info msg="Executing migration" id="add index api_key.account_id" mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:22.846857825Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=889.715µs mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:22.851085174Z level=info msg="Executing migration" id="add index api_key.key" mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-03-15T11:37:22.852483553Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.397879ms mariadb | 2024-03-15 11:37:25 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-15T11:37:22.858447821Z level=info msg="Executing migration" id="add index api_key.account_id_name" mariadb | 2024-03-15 11:37:25 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | -------------- mariadb | 2024-03-15 11:37:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-03-15T11:37:22.859786158Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.338088ms grafana | logger=migrator t=2024-03-15T11:37:22.86523537Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) grafana | logger=migrator t=2024-03-15T11:37:22.866536127Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.300897ms mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:22.870590271Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-03-15T11:37:22.871413583Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=823.853µs mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2024-03-15T11:37:22.875433176Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:22.876172637Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=738.801µs mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:22.881537267Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: log sequence number 330004; transaction id 299 grafana | logger=migrator t=2024-03-15T11:37:22.890392156Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.853279ms mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-03-15T11:37:22.8941298Z level=info msg="Executing migration" id="create api_key table v2" mariadb | 2024-03-15 11:37:25 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql grafana | logger=migrator t=2024-03-15T11:37:22.895010295Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=880.095µs mariadb | 2024-03-15 11:37:25 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:22.899390998Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" mariadb | 2024-03-15 11:37:25 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. grafana | logger=migrator t=2024-03-15T11:37:22.900313744Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=920.097µs mariadb | 2024-03-15 11:37:25 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) grafana | logger=migrator t=2024-03-15T11:37:22.905138628Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" mariadb | 2024-03-15 11:37:25 0 [Note] Server socket created on IP: '::'. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:22.906052695Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=913.387µs mariadb | 2024-03-15 11:37:25 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-03-15T11:37:22.90980617Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:22.911179148Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.372158ms mariadb | 2024-03-15 11:37:25 0 [Note] InnoDB: Buffer pool(s) load completed at 240315 11:37:25 policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:22.916693453Z level=info msg="Executing migration" id="copy api_key v1 to v2" mariadb | 2024-03-15 11:37:26 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2024-03-15T11:37:22.917269079Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=576.587µs mariadb | 2024-03-15 11:37:26 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-03-15T11:37:22.921143098Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-03-15T11:37:22.921789235Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=645.687µs grafana | logger=migrator t=2024-03-15T11:37:22.925837999Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-03-15T11:37:22.92587085Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=34.031µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:22.930745886Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-03-15T11:37:22.934733228Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.986462ms grafana | logger=migrator t=2024-03-15T11:37:22.939849442Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-03-15T11:37:22.942434795Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.582643ms 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-15T11:37:22.945859111Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-03-15T11:37:22.946122618Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=262.987µs grafana | logger=migrator t=2024-03-15T11:37:22.949714668Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-03-15T11:37:22.952227279Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.511151ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:22.956866009Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-03-15T11:37:22.959347689Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.48125ms grafana | logger=migrator t=2024-03-15T11:37:22.963275378Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-03-15T11:37:22.96406071Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=785.022µs grafana | logger=migrator t=2024-03-15T11:37:22.967925289Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-03-15T11:37:22.968590937Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=664.158µs grafana | logger=migrator t=2024-03-15T11:37:22.973695131Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-03-15T11:37:22.975133541Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.43791ms grafana | logger=migrator t=2024-03-15T11:37:22.979155984Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:22.980077829Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=921.775µs grafana | logger=migrator t=2024-03-15T11:37:22.984008039Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-03-15T11:37:22.984930446Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=922.387µs grafana | logger=migrator t=2024-03-15T11:37:22.989816083Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-03-15T11:37:22.99043164Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=617.417µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:22.994232206Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-03-15T11:37:22.994412791Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=113.723µs grafana | logger=migrator t=2024-03-15T11:37:22.998351552Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2024-03-15T11:37:22.998391163Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=41.011µs grafana | logger=migrator t=2024-03-15T11:37:23.002031175Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-03-15T11:37:23.00681321Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.780165ms policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) grafana | logger=migrator t=2024-03-15T11:37:23.011830366Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-03-15T11:37:23.014622221Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.792476ms grafana | logger=migrator t=2024-03-15T11:37:23.281985698Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-03-15T11:37:23.282272455Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=288.907µs grafana | logger=migrator t=2024-03-15T11:37:23.289697499Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:23.29107413Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.374701ms grafana | logger=migrator t=2024-03-15T11:37:23.298277369Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-03-15T11:37:23.29960432Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.326541ms grafana | logger=migrator t=2024-03-15T11:37:23.309490941Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.309535332Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=41.021µs grafana | logger=migrator t=2024-03-15T11:37:23.314264692Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-03-15T11:37:23.315597344Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.332132ms grafana | logger=migrator t=2024-03-15T11:37:23.321068372Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-03-15T11:37:23.322016543Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=950.092µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.325714189Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-03-15T11:37:23.33000495Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.288871ms grafana | logger=migrator t=2024-03-15T11:37:23.334456595Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2024-03-15T11:37:23.334492225Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=36.691µs grafana | logger=migrator t=2024-03-15T11:37:23.338926168Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-03-15T11:37:23.33988589Z level=info msg="Migration successfully executed" id="create session table" duration=959.902µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:23.344820316Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-03-15T11:37:23.34498745Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=166.064µs grafana | logger=migrator t=2024-03-15T11:37:23.349520546Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-03-15T11:37:23.349761242Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=240.026µs grafana | logger=migrator t=2024-03-15T11:37:23.354878631Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-03-15T11:37:23.356071559Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.193178ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:23.362689604Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-03-15T11:37:23.363884802Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.195287ms grafana | logger=migrator t=2024-03-15T11:37:23.37024801Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.370275571Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=28.821µs grafana | logger=migrator t=2024-03-15T11:37:23.374047669Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-03-15T11:37:23.37407966Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=34.671µs grafana | logger=migrator t=2024-03-15T11:37:23.379025385Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.383745276Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.71896ms grafana | logger=migrator t=2024-03-15T11:37:23.388843805Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2024-03-15T11:37:23.394117638Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.273473ms grafana | logger=migrator t=2024-03-15T11:37:23.398366107Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-03-15T11:37:23.398524921Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=158.253µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:23.402243918Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-03-15T11:37:23.402429002Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=184.044µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:23.406898356Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-03-15T11:37:23.408243188Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.343922ms grafana | logger=migrator t=2024-03-15T11:37:23.522268793Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-03-15T11:37:23.522327424Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=62.752µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:23.527307269Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-03-15T11:37:23.531355355Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.048765ms grafana | logger=migrator t=2024-03-15T11:37:23.536430133Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-03-15T11:37:23.536687089Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=256.556µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.540501468Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-03-15T11:37:23.544130672Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.631194ms grafana | logger=migrator t=2024-03-15T11:37:23.548103796Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.55130126Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.197394ms grafana | logger=migrator t=2024-03-15T11:37:23.556752738Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2024-03-15T11:37:23.556819819Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=67.871µs grafana | logger=migrator t=2024-03-15T11:37:23.58767873Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-03-15T11:37:23.590093637Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=2.414897ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:23.596112337Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-03-15T11:37:23.5970995Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=987.353µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-03-15T11:37:23.728546941Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-03-15T11:37:23.730589119Z level=info msg="Migration successfully executed" id="create alert table v1" duration=2.044148ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:23.738608017Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-03-15T11:37:23.741037984Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=2.427517ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.749713516Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-03-15T11:37:23.750833712Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.120616ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.7592954Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-03-15T11:37:23.76144021Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=2.14727ms policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-03-15T11:37:23.766444137Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-03-15T11:37:23.767300537Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=855.28µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:23.771752151Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-03-15T11:37:23.772778865Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.028344ms grafana | logger=migrator t=2024-03-15T11:37:23.777215959Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-03-15T11:37:23.77813487Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=919.281µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:23.789351572Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-03-15T11:37:23.800610045Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=11.259213ms grafana | logger=migrator t=2024-03-15T11:37:23.827605856Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-03-15T11:37:23.828657861Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.051504ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:23.835003369Z 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-15T11:37:23.835983472Z 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=980.013µs grafana | logger=migrator t=2024-03-15T11:37:23.84105772Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.841685005Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=626.605µs grafana | logger=migrator t=2024-03-15T11:37:23.848233508Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-03-15T11:37:23.849698782Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=1.465514ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.854689148Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-03-15T11:37:23.856244115Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.552767ms policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-03-15T11:37:23.860675028Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-03-15T11:37:23.864481598Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.80749ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:23.868277106Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-03-15T11:37:23.87189492Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.611564ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:23.876777725Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-03-15T11:37:23.88043354Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.653915ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:23.885515939Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-03-15T11:37:23.889227826Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.711367ms grafana | logger=migrator t=2024-03-15T11:37:23.893103326Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-03-15T11:37:23.893986967Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=883.391µs grafana | logger=migrator t=2024-03-15T11:37:23.899234119Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.899257Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=23.641µs grafana | logger=migrator t=2024-03-15T11:37:23.903256784Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-03-15T11:37:23.903278304Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=23.11µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.907264377Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-03-15T11:37:23.908612179Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.347112ms grafana | logger=migrator t=2024-03-15T11:37:23.913254837Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-03-15T11:37:23.914251141Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=995.904µs policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-03-15T11:37:23.920017825Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-03-15T11:37:23.921277014Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.259369ms grafana | logger=migrator t=2024-03-15T11:37:23.925827031Z level=info msg="Executing migration" id="create alert_notification_state table v1" 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) grafana | logger=migrator t=2024-03-15T11:37:23.927207633Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.380042ms grafana | logger=migrator t=2024-03-15T11:37:23.93263007Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-03-15T11:37:23.933605112Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=975.162µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:23.938474896Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-03-15T11:37:23.945246225Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.771309ms grafana | logger=migrator t=2024-03-15T11:37:23.949729619Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:23.953871226Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.141497ms grafana | logger=migrator t=2024-03-15T11:37:24.003401693Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-03-15T11:37:24.003966137Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=566.224µs grafana | logger=migrator t=2024-03-15T11:37:24.008402034Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.009983952Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.581868ms grafana | logger=migrator t=2024-03-15T11:37:24.01616091Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-03-15T11:37:24.017292767Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.134306ms policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-03-15T11:37:24.022386068Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-03-15T11:37:24.027436099Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.048971ms grafana | logger=migrator t=2024-03-15T11:37:24.032402477Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.032473819Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=72.092µs grafana | logger=migrator t=2024-03-15T11:37:24.036556406Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-03-15T11:37:24.037304484Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=748.727µs grafana | logger=migrator t=2024-03-15T11:37:24.043644566Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:24.045726515Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=2.084019ms grafana | logger=migrator t=2024-03-15T11:37:24.050455448Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.050653182Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=168.374µs grafana | logger=migrator t=2024-03-15T11:37:24.055822826Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-03-15T11:37:24.056672416Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=849.75µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.062233398Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-03-15T11:37:24.063781106Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.548378ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.072940114Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-03-15T11:37:24.073892208Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=952.124µs grafana | logger=migrator t=2024-03-15T11:37:24.079003669Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-03-15T11:37:24.080502825Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.495996ms grafana | logger=migrator t=2024-03-15T11:37:24.087746717Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-03-15T11:37:24.089228883Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.483796ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.094698754Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-03-15T11:37:24.096984268Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=2.288944ms grafana | logger=migrator t=2024-03-15T11:37:24.102597102Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-03-15T11:37:24.102636443Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=39.301µs grafana | logger=migrator t=2024-03-15T11:37:24.112930788Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:24.119546807Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.614599ms grafana | logger=migrator t=2024-03-15T11:37:24.12472743Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-03-15T11:37:24.125386036Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=659.106µs grafana | logger=migrator t=2024-03-15T11:37:24.131339488Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-03-15T11:37:24.13850924Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=7.168421ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.145140757Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-03-15T11:37:24.145911795Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=770.578µs grafana | logger=migrator t=2024-03-15T11:37:24.155393472Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-03-15T11:37:24.157061601Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.667079ms grafana | logger=migrator t=2024-03-15T11:37:24.163018524Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-03-15T11:37:24.16450476Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.486415ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.172552401Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-03-15T11:37:24.184145758Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.591967ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.188559823Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-03-15T11:37:24.189182669Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=622.355µs grafana | logger=migrator t=2024-03-15T11:37:24.196672766Z 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-15T11:37:24.198741816Z 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=2.06876ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.207683829Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-03-15T11:37:24.208089599Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=405.37µs grafana | logger=migrator t=2024-03-15T11:37:24.213303423Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-03-15T11:37:24.214179375Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=875.322µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:24.264981198Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-03-15T11:37:24.265620963Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=642.946µs grafana | logger=migrator t=2024-03-15T11:37:24.27474785Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.281330858Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.581967ms grafana | logger=migrator t=2024-03-15T11:37:24.287693539Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.292164785Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.468416ms grafana | logger=migrator t=2024-03-15T11:37:24.299638754Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-03-15T11:37:24.300663668Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.025265ms grafana | logger=migrator t=2024-03-15T11:37:24.306267501Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-03-15T11:37:24.307677656Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.409915ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.314784675Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-03-15T11:37:24.315057712Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=272.747µs grafana | logger=migrator t=2024-03-15T11:37:24.321431144Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-03-15T11:37:24.327898818Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.467894ms grafana | logger=migrator t=2024-03-15T11:37:24.335058479Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-03-15T11:37:24.335976621Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=917.482µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.343984412Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-03-15T11:37:24.344424712Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=438.21µs grafana | logger=migrator t=2024-03-15T11:37:24.352033844Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-03-15T11:37:24.352808572Z level=info msg="Migration successfully executed" id="Move region to single row" duration=777.738µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:24.359630266Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-03-15T11:37:24.361128631Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.498565ms grafana | logger=migrator t=2024-03-15T11:37:24.37113914Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-03-15T11:37:24.372562123Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.424053ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.379721315Z 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-15T11:37:24.381288702Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.569677ms grafana | logger=migrator t=2024-03-15T11:37:24.388909514Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.389834476Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=924.542µs grafana | logger=migrator t=2024-03-15T11:37:24.402362105Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.403803539Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.441944ms grafana | logger=migrator t=2024-03-15T11:37:24.417022485Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-03-15T11:37:24.418606513Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.583529ms policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-03-15T11:37:24.424434972Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-03-15T11:37:24.424536514Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=100.962µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.429260266Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-03-15T11:37:24.430157898Z level=info msg="Migration successfully executed" id="create test_data table" duration=894.942µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:24.437099923Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-03-15T11:37:24.438474947Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.374144ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.447279727Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-03-15T11:37:24.448809973Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.530086ms grafana | logger=migrator t=2024-03-15T11:37:24.454855977Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.455824361Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=968.044µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.460605815Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-03-15T11:37:24.460880061Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=273.446µs policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-03-15T11:37:24.468231687Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.468684467Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=452.361µs grafana | logger=migrator t=2024-03-15T11:37:24.474906246Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:24.475105521Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=198.755µs grafana | logger=migrator t=2024-03-15T11:37:24.48093202Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.482188659Z level=info msg="Migration successfully executed" id="create team table" duration=1.253169ms grafana | logger=migrator t=2024-03-15T11:37:24.487484206Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.488929601Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.446615ms grafana | logger=migrator t=2024-03-15T11:37:24.544652621Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.546470683Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.819272ms grafana | logger=migrator t=2024-03-15T11:37:24.554103666Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-03-15T11:37:24.558911991Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.807525ms grafana | logger=migrator t=2024-03-15T11:37:24.567577077Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.567843654Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=265.647µs grafana | logger=migrator t=2024-03-15T11:37:24.576954561Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-03-15T11:37:24.57902847Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=2.073609ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:24.585243338Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-03-15T11:37:24.586097708Z level=info msg="Migration successfully executed" id="create team member table" duration=854.26µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.597370668Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-03-15T11:37:24.598808442Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.456685ms grafana | logger=migrator t=2024-03-15T11:37:24.607299535Z 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-15T11:37:24.608974865Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.67562ms grafana | logger=migrator t=2024-03-15T11:37:24.617060628Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-03-15T11:37:24.618883741Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.823094ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.623605734Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-03-15T11:37:24.628671845Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.064531ms policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-03-15T11:37:24.635358444Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-03-15T11:37:24.640097058Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.738154ms grafana | logger=migrator t=2024-03-15T11:37:24.649576624Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-03-15T11:37:24.657649706Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=8.069642ms grafana | logger=migrator t=2024-03-15T11:37:24.662510603Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.66324561Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=734.417µs grafana | logger=migrator t=2024-03-15T11:37:24.668458645Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-03-15T11:37:24.670060622Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.601898ms grafana | logger=migrator t=2024-03-15T11:37:24.677027929Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-03-15T11:37:24.678649447Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.621228ms grafana | logger=migrator t=2024-03-15T11:37:24.688604445Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:24.690743736Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=2.138631ms grafana | logger=migrator t=2024-03-15T11:37:24.695713324Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.696711819Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=995.834µs grafana | logger=migrator t=2024-03-15T11:37:24.707005725Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-03-15T11:37:24.708780376Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.776302ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.716678765Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-03-15T11:37:24.71816215Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.483185ms grafana | logger=migrator t=2024-03-15T11:37:24.725827843Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.726795916Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=968.193µs grafana | logger=migrator t=2024-03-15T11:37:24.735605617Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-03-15T11:37:24.736513878Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=907.501µs grafana | logger=migrator t=2024-03-15T11:37:24.744392106Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-03-15T11:37:24.744900348Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=507.882µs 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) grafana | logger=migrator t=2024-03-15T11:37:24.750112663Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-03-15T11:37:24.751329621Z level=info msg="Migration successfully executed" id="create tag table" duration=1.216659ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.758924073Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-03-15T11:37:24.759958197Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.034114ms grafana | logger=migrator t=2024-03-15T11:37:24.803081757Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.80489727Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.818883ms grafana | logger=migrator t=2024-03-15T11:37:24.812244835Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-03-15T11:37:24.813915766Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.67034ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.819659842Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-03-15T11:37:24.821886416Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=2.226714ms policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-15T11:37:24.832442777Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-15T11:37:24.850962519Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.519752ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.858280744Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-03-15T11:37:24.859570965Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.289781ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-03-15T11:37:24.867590836Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-03-15T11:37:24.869175373Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.580447ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.877890652Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-03-15T11:37:24.878293451Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=400.579µs grafana | logger=migrator t=2024-03-15T11:37:24.886990559Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.888780481Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.789872ms grafana | logger=migrator t=2024-03-15T11:37:24.89751329Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.898535734Z level=info msg="Migration successfully executed" id="create user auth table" duration=836.6µs grafana | logger=migrator t=2024-03-15T11:37:24.904448505Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-03-15T11:37:24.906695929Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=2.246864ms grafana | logger=migrator t=2024-03-15T11:37:24.912998509Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-03-15T11:37:24.913099392Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=100.783µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.920543169Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-03-15T11:37:24.92599442Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.452171ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:24.93356666Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-03-15T11:37:24.942594836Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=9.026396ms grafana | logger=migrator t=2024-03-15T11:37:24.947586694Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:24.95116182Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=3.571696ms grafana | logger=migrator t=2024-03-15T11:37:24.958183437Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-03-15T11:37:24.965904702Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=7.718605ms grafana | logger=migrator t=2024-03-15T11:37:24.974548348Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-03-15T11:37:24.97547905Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=930.272µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.981075853Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-03-15T11:37:24.989424842Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.349939ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:24.992822084Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-03-15T11:37:24.993632473Z level=info msg="Migration successfully executed" id="create server_lock table" duration=808.789µs grafana | logger=migrator t=2024-03-15T11:37:24.998641703Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-03-15T11:37:24.999508364Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=866.591µs grafana | logger=migrator t=2024-03-15T11:37:25.003177321Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.004014972Z level=info msg="Migration successfully executed" id="create user auth token table" duration=837.161µs grafana | logger=migrator t=2024-03-15T11:37:25.008934768Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:25.010352202Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.417884ms grafana | logger=migrator t=2024-03-15T11:37:25.01444451Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-03-15T11:37:25.015744571Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.300752ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.020987717Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-03-15T11:37:25.02196869Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=980.693µs grafana | logger=migrator t=2024-03-15T11:37:25.065515388Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-03-15T11:37:25.072437324Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.923596ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.077975276Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.078869117Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=893.861µs grafana | logger=migrator t=2024-03-15T11:37:25.082258358Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-03-15T11:37:25.083118949Z level=info msg="Migration successfully executed" id="create cache_data table" duration=860.191µs policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-15T11:37:25.086661163Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-03-15T11:37:25.087551694Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=887.811µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.090929886Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-03-15T11:37:25.091808646Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=878.17µs grafana | logger=migrator t=2024-03-15T11:37:25.097732578Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-03-15T11:37:25.098697781Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=964.782µs grafana | logger=migrator t=2024-03-15T11:37:25.102176784Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-03-15T11:37:25.102279497Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=103.663µs grafana | logger=migrator t=2024-03-15T11:37:25.105837871Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.105968314Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=130.943µs grafana | logger=migrator t=2024-03-15T11:37:25.111326092Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.112797187Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.472615ms grafana | logger=migrator t=2024-03-15T11:37:25.116475265Z 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-15T11:37:25.11796476Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.489355ms grafana | logger=migrator t=2024-03-15T11:37:25.121403022Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-15T11:37:25.122346885Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=943.253µs policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-15T11:37:25.127281663Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-15T11:37:25.127343185Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=61.622µs grafana | logger=migrator t=2024-03-15T11:37:25.130648274Z 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-15T11:37:25.132030416Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.381532ms grafana | logger=migrator t=2024-03-15T11:37:25.13556984Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-15T11:37:25.136727039Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.157518ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:25.14181155Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-03-15T11:37:25.142833364Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.020914ms grafana | logger=migrator t=2024-03-15T11:37:25.146156703Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-15T11:37:25.147139787Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=981.574µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.150356054Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-03-15T11:37:25.156009469Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.652725ms grafana | logger=migrator t=2024-03-15T11:37:25.160822304Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-03-15T11:37:25.161723035Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=899.561µs grafana | logger=migrator t=2024-03-15T11:37:25.164841879Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.164921491Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=79.222µs grafana | logger=migrator t=2024-03-15T11:37:25.169975552Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.171250582Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.27347ms grafana | logger=migrator t=2024-03-15T11:37:25.174951541Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-03-15T11:37:25.176630571Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.67887ms policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-03-15T11:37:25.180607396Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-03-15T11:37:25.182221634Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.613408ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.191828204Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-15T11:37:25.191893595Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=65.941µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:25.206225308Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-03-15T11:37:25.207746383Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.521096ms grafana | logger=migrator t=2024-03-15T11:37:25.221070121Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.222578688Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.507887ms grafana | logger=migrator t=2024-03-15T11:37:25.234772218Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.236429807Z 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.657079ms grafana | logger=migrator t=2024-03-15T11:37:25.248467455Z 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-15T11:37:25.249998681Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.530716ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.26126082Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-03-15T11:37:25.268606636Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.345996ms grafana | logger=migrator t=2024-03-15T11:37:25.284163618Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-03-15T11:37:25.285580541Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.415793ms grafana | logger=migrator t=2024-03-15T11:37:25.332542762Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-03-15T11:37:25.334042847Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.499635ms policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-03-15T11:37:25.377584147Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-03-15T11:37:25.405683008Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=28.100721ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.409395686Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-03-15T11:37:25.431745859Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=22.349713ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:25.43972909Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-03-15T11:37:25.440767024Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.037014ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.452866434Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-03-15T11:37:25.45438424Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.517816ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.461107951Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-03-15T11:37:25.470490214Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.383893ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.475101875Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-03-15T11:37:25.48033643Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.232455ms grafana | logger=migrator t=2024-03-15T11:37:25.52306915Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-03-15T11:37:25.525354854Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=2.287834ms grafana | logger=migrator t=2024-03-15T11:37:25.52982055Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-03-15T11:37:25.531920401Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.100161ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.542192596Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-03-15T11:37:25.544113301Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.921885ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:25.549781366Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-03-15T11:37:25.551129209Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.348233ms grafana | logger=migrator t=2024-03-15T11:37:25.621289063Z 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-15T11:37:25.621412496Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=124.133µs grafana | logger=migrator t=2024-03-15T11:37:25.628697421Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-03-15T11:37:25.637859049Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.162808ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.641943906Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-03-15T11:37:25.646871594Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.922978ms grafana | logger=migrator t=2024-03-15T11:37:25.652863997Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.65888053Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.016413ms grafana | logger=migrator t=2024-03-15T11:37:25.669226397Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-03-15T11:37:25.670254842Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.025924ms grafana | logger=migrator t=2024-03-15T11:37:25.674827561Z 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-15T11:37:25.676658795Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.830154ms grafana | logger=migrator t=2024-03-15T11:37:25.681184913Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-03-15T11:37:25.68735526Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.169997ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:25.694732866Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-03-15T11:37:25.703030474Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=8.291978ms grafana | logger=migrator t=2024-03-15T11:37:25.708026464Z 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-15T11:37:25.708824192Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=797.438µs grafana | logger=migrator t=2024-03-15T11:37:25.714049767Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.72340587Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.356513ms grafana | logger=migrator t=2024-03-15T11:37:25.732979909Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-03-15T11:37:25.742009825Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=9.029546ms policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-03-15T11:37:25.745750793Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-03-15T11:37:25.745824635Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=75.322µs grafana | logger=migrator t=2024-03-15T11:37:25.750950358Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.752561777Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.607819ms grafana | logger=migrator t=2024-03-15T11:37:25.76235594Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-03-15T11:37:25.764110852Z 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.754252ms grafana | logger=migrator t=2024-03-15T11:37:25.76904655Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-03-15T11:37:25.77030527Z 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.26375ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:25.775298409Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-15T11:37:25.775363771Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=65.902µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.782534791Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-03-15T11:37:25.792292595Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.756334ms grafana | logger=migrator t=2024-03-15T11:37:25.798710618Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.803266617Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.555788ms grafana | logger=migrator t=2024-03-15T11:37:25.812865905Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.822303071Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=9.438716ms grafana | logger=migrator t=2024-03-15T11:37:25.825669242Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-03-15T11:37:25.835608378Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.937066ms grafana | logger=migrator t=2024-03-15T11:37:25.89730625Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.907186707Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=9.879957ms grafana | logger=migrator t=2024-03-15T11:37:25.911349076Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-03-15T11:37:25.911445808Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=95.992µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-03-15T11:37:25.915189578Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-03-15T11:37:25.916043438Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=853.34µs grafana | logger=migrator t=2024-03-15T11:37:25.924259904Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-03-15T11:37:25.932373038Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.113814ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.935792319Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-03-15T11:37:25.935883931Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=65.832µs grafana | logger=migrator t=2024-03-15T11:37:25.939030116Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.945255776Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.22499ms grafana | logger=migrator t=2024-03-15T11:37:25.950836249Z 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-15T11:37:25.951867333Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.030814ms grafana | logger=migrator t=2024-03-15T11:37:25.955136341Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-03-15T11:37:25.961432771Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.29573ms grafana | logger=migrator t=2024-03-15T11:37:25.964940026Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-03-15T11:37:25.965781735Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=845.779µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.969308119Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-03-15T11:37:25.970319013Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.011044ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:25.976333867Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-03-15T11:37:25.982560566Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.226029ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:25.986265334Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-03-15T11:37:25.987098394Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=832.67µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:25.992102943Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-03-15T11:37:25.993708902Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.604349ms policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-03-15T11:37:26.000143075Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-03-15T11:37:26.001495358Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.352703ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.005139915Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-03-15T11:37:26.006150268Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.010533ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:26.009482048Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-03-15T11:37:26.009680513Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=184.835µs grafana | logger=migrator t=2024-03-15T11:37:26.014267022Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.01625378Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.986048ms grafana | logger=migrator t=2024-03-15T11:37:26.022894838Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.02464114Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.742522ms grafana | logger=migrator t=2024-03-15T11:37:26.028337178Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-03-15T11:37:26.029142167Z 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-15T11:37:26.033145943Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-03-15T11:37:26.033776838Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=629.285µs policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-03-15T11:37:26.039079285Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-03-15T11:37:26.040210451Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.130976ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.044539225Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-03-15T11:37:26.051268945Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.72902ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T11:37:26.055326393Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-03-15T11:37:26.056517641Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.190328ms grafana | logger=migrator t=2024-03-15T11:37:26.061136492Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.062852243Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.7098ms grafana | logger=migrator t=2024-03-15T11:37:26.067001281Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.068573799Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.571318ms grafana | logger=migrator t=2024-03-15T11:37:26.074234824Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-03-15T11:37:26.07532262Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.087716ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.079862929Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-03-15T11:37:26.081648791Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.785592ms policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-03-15T11:37:26.085916463Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-03-15T11:37:26.086072887Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=157.504µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.090112823Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-03-15T11:37:26.090293947Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=180.814µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-15T11:37:26.094973189Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-03-15T11:37:26.095377429Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=403.96µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.099523308Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-03-15T11:37:26.10132367Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.799552ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.106990846Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-03-15T11:37:26.107911609Z level=info msg="Migration successfully executed" id="create secrets table" duration=920.502µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.112848525Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-03-15T11:37:26.150593987Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=37.738212ms policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-03-15T11:37:26.176577967Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-03-15T11:37:26.185581362Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=9.004285ms grafana | logger=migrator t=2024-03-15T11:37:26.189490356Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.189750492Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=259.486µs grafana | logger=migrator t=2024-03-15T11:37:26.1934701Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-03-15T11:37:26.225781242Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=32.311132ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-03-15T11:37:26.230672908Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-03-15T11:37:26.260116612Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=29.443294ms grafana | logger=migrator t=2024-03-15T11:37:26.263798629Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.264547308Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=749.118µs grafana | logger=migrator t=2024-03-15T11:37:26.268380679Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.269232509Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=851.74µs grafana | logger=migrator t=2024-03-15T11:37:26.276106994Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.276688257Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=581.713µs grafana | logger=migrator t=2024-03-15T11:37:26.280920168Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-03-15T11:37:26.282524206Z level=info msg="Migration successfully executed" id="create permission table" duration=1.603388ms grafana | logger=migrator t=2024-03-15T11:37:26.286858639Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-03-15T11:37:26.287985227Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.127258ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.293661502Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-03-15T11:37:26.29565918Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=2.000728ms grafana | logger=migrator t=2024-03-15T11:37:26.300171717Z level=info msg="Executing migration" id="create role table" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-15T11:37:26.301282745Z level=info msg="Migration successfully executed" id="create role table" duration=1.112538ms grafana | logger=migrator t=2024-03-15T11:37:26.305414303Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.312976494Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.56091ms grafana | logger=migrator t=2024-03-15T11:37:26.31826435Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-03-15T11:37:26.325682936Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.416286ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.333688438Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-03-15T11:37:26.334792785Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.104097ms grafana | logger=migrator t=2024-03-15T11:37:26.339321572Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.341289359Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.967347ms grafana | logger=migrator t=2024-03-15T11:37:26.346881733Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-03-15T11:37:26.34805161Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.169777ms grafana | logger=migrator t=2024-03-15T11:37:26.352417265Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.353409208Z level=info msg="Migration successfully executed" id="create team role table" duration=989.093µs grafana | logger=migrator t=2024-03-15T11:37:26.357985318Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-15T11:37:26.360017617Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=2.031799ms grafana | logger=migrator t=2024-03-15T11:37:26.365261971Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-03-15T11:37:26.366516392Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.256441ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.370542727Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-03-15T11:37:26.372416742Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.872785ms grafana | logger=migrator t=2024-03-15T11:37:26.386100809Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.387686606Z level=info msg="Migration successfully executed" id="create user role table" duration=1.585007ms grafana | logger=migrator t=2024-03-15T11:37:26.393446355Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-03-15T11:37:26.394605262Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.158997ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.442299171Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-03-15T11:37:26.44433383Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=2.035289ms grafana | logger=migrator t=2024-03-15T11:37:26.450801034Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-03-15T11:37:26.452007072Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.205688ms policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-03-15T11:37:26.457260147Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-03-15T11:37:26.458288123Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.029905ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.464093691Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-03-15T11:37:26.465990706Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.897145ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-03-15T11:37:26.471084998Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-03-15T11:37:26.47241679Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.334873ms grafana | logger=migrator t=2024-03-15T11:37:26.477806749Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.485988664Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.181375ms grafana | logger=migrator t=2024-03-15T11:37:26.490826389Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.492798006Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.971637ms grafana | logger=migrator t=2024-03-15T11:37:26.497615102Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-03-15T11:37:26.499555757Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.940636ms grafana | logger=migrator t=2024-03-15T11:37:26.503995083Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-03-15T11:37:26.505156091Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.160878ms grafana | logger=migrator t=2024-03-15T11:37:26.509998037Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-03-15T11:37:26.511104144Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.106207ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.515826456Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-03-15T11:37:26.51680459Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=978.814µs policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-03-15T11:37:26.522091665Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-03-15T11:37:26.524055742Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.963677ms grafana | logger=migrator t=2024-03-15T11:37:26.528269243Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-03-15T11:37:26.538742893Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.47433ms grafana | logger=migrator t=2024-03-15T11:37:26.542685737Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-03-15T11:37:26.548631539Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.948542ms grafana | logger=migrator t=2024-03-15T11:37:26.552171313Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-03-15T11:37:26.560116933Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.94535ms grafana | logger=migrator t=2024-03-15T11:37:26.564669142Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-03-15T11:37:26.578356849Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=13.687457ms grafana | logger=migrator t=2024-03-15T11:37:26.583910392Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-03-15T11:37:26.584819433Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=909.321µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.587262872Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-03-15T11:37:26.588154923Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=891.081µs grafana | logger=migrator t=2024-03-15T11:37:26.591010771Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-03-15T11:37:26.592100966Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.090525ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-15T11:37:26.597670409Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-03-15T11:37:26.598579662Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=908.813µs grafana | logger=migrator t=2024-03-15T11:37:26.602196708Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-03-15T11:37:26.604459432Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=2.255734ms grafana | logger=migrator t=2024-03-15T11:37:26.607841312Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-03-15T11:37:26.607952105Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=112.093µs grafana | logger=migrator t=2024-03-15T11:37:26.613061987Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-03-15T11:37:26.613124359Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=63.312µs grafana | logger=migrator t=2024-03-15T11:37:26.616444668Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-03-15T11:37:26.616864748Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=421.19µs grafana | logger=migrator t=2024-03-15T11:37:26.620291359Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.621224792Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=934.683µs grafana | logger=migrator t=2024-03-15T11:37:26.624847988Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-03-15T11:37:26.625696078Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=849.94µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.631021136Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-03-15T11:37:26.6312287Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=207.675µs grafana | logger=migrator t=2024-03-15T11:37:26.634262623Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-03-15T11:37:26.63497341Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=711.027µs grafana | logger=migrator t=2024-03-15T11:37:26.638275799Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-03-15T11:37:26.639520168Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.243889ms grafana | logger=migrator t=2024-03-15T11:37:26.64501154Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-03-15T11:37:26.646053945Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.040555ms grafana | logger=migrator t=2024-03-15T11:37:26.650399878Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-03-15T11:37:26.662169879Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.771581ms grafana | logger=migrator t=2024-03-15T11:37:26.734749212Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-03-15T11:37:26.734826514Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=78.212µs grafana | logger=migrator t=2024-03-15T11:37:26.74090907Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-03-15T11:37:26.742387234Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.482185ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.748836618Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-03-15T11:37:26.749889354Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.052746ms policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-03-15T11:37:26.754740359Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-03-15T11:37:26.756541402Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.800993ms grafana | logger=migrator t=2024-03-15T11:37:26.763427047Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-03-15T11:37:26.774778928Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.351311ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.779682785Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-03-15T11:37:26.780774661Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.092147ms grafana | logger=migrator t=2024-03-15T11:37:26.784653283Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-03-15T11:37:26.785661688Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.008365ms grafana | logger=migrator t=2024-03-15T11:37:26.795519883Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-15T11:37:26.81718307Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.662257ms grafana | logger=migrator t=2024-03-15T11:37:26.8230353Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-03-15T11:37:26.82388581Z level=info msg="Migration successfully executed" id="create correlation v2" duration=849.85µs grafana | logger=migrator t=2024-03-15T11:37:26.82934955Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-03-15T11:37:26.830474008Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.124598ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-15T11:37:26.834319429Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-03-15T11:37:26.835520937Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.201468ms grafana | logger=migrator t=2024-03-15T11:37:26.840011035Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-03-15T11:37:26.841128081Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.114526ms grafana | logger=migrator t=2024-03-15T11:37:26.846558291Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-03-15T11:37:26.846851188Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=292.187µs grafana | logger=migrator t=2024-03-15T11:37:26.85066962Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-03-15T11:37:26.851421797Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=752.088µs grafana | logger=migrator t=2024-03-15T11:37:26.856218842Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-03-15T11:37:26.864415868Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.196016ms grafana | logger=migrator t=2024-03-15T11:37:26.869718375Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-03-15T11:37:26.870541254Z level=info msg="Migration successfully executed" id="create entity_events table" duration=822.77µs grafana | logger=migrator t=2024-03-15T11:37:26.87623875Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-03-15T11:37:26.877916639Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.677569ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.882756655Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-15T11:37:26.883215856Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.88754749Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-15T11:37:26.888007781Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-15T11:37:26.891933854Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.892838076Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=903.682µs grafana | logger=migrator t=2024-03-15T11:37:26.896577615Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-03-15T11:37:26.89764588Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.068175ms policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-03-15T11:37:26.903040549Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-15T11:37:26.904230218Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.189629ms grafana | logger=migrator t=2024-03-15T11:37:26.908853178Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.910048157Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.194829ms grafana | logger=migrator t=2024-03-15T11:37:26.914644827Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-03-15T11:37:26.915670151Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.025804ms grafana | logger=migrator t=2024-03-15T11:37:26.920439525Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.921446369Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.006664ms grafana | logger=migrator t=2024-03-15T11:37:26.925452174Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-03-15T11:37:26.926179672Z level=info msg="Migration successfully executed" id="Drop public config table" duration=727.058µs grafana | logger=migrator t=2024-03-15T11:37:26.93152382Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-03-15T11:37:26.932833961Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.309371ms grafana | logger=migrator t=2024-03-15T11:37:26.937611615Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.938745712Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.134187ms grafana | logger=migrator t=2024-03-15T11:37:26.944100859Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-03-15T11:37:26.945546825Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.445776ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:26.949586801Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-03-15T11:37:26.950778619Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.191678ms policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:26.955349738Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-03-15T11:37:26.979191658Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.83661ms grafana | logger=migrator t=2024-03-15T11:37:26.999132974Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-03-15T11:37:27.010137967Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=11.007393ms grafana | logger=migrator t=2024-03-15T11:37:27.014230384Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.023673719Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.442265ms grafana | logger=migrator t=2024-03-15T11:37:27.029187001Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-03-15T11:37:27.029861017Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=672.857µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.036483305Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-03-15T11:37:27.044975628Z level=info msg="Migration successfully executed" id="add share column" duration=8.492653ms grafana | logger=migrator t=2024-03-15T11:37:27.050717875Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.050965241Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=246.506µs grafana | logger=migrator t=2024-03-15T11:37:27.057728903Z level=info msg="Executing migration" id="create file table" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-03-15T11:37:27.058537642Z level=info msg="Migration successfully executed" id="create file table" duration=808.799µs grafana | logger=migrator t=2024-03-15T11:37:27.065666112Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-03-15T11:37:27.066858131Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.192249ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.074865922Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-03-15T11:37:27.07770488Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=2.839338ms grafana | logger=migrator t=2024-03-15T11:37:27.082664619Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-03-15T11:37:27.083624531Z level=info msg="Migration successfully executed" id="create file_meta table" duration=959.663µs grafana | logger=migrator t=2024-03-15T11:37:27.088239352Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-03-15T11:37:27.089599944Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.360292ms grafana | logger=migrator t=2024-03-15T11:37:27.09614458Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-03-15T11:37:27.096293653Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=149.323µs grafana | logger=migrator t=2024-03-15T11:37:27.105003042Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-03-15T11:37:27.105194566Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=187.784µs grafana | logger=migrator t=2024-03-15T11:37:27.113155176Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-03-15T11:37:27.11415755Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.002074ms grafana | logger=migrator t=2024-03-15T11:37:27.118978945Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-03-15T11:37:27.119756574Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=778.169µs grafana | logger=migrator t=2024-03-15T11:37:27.124791124Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-03-15T11:37:27.127262162Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.471718ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-15T11:37:27.131955425Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-03-15T11:37:27.141223986Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.267431ms grafana | logger=migrator t=2024-03-15T11:37:27.150381025Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-03-15T11:37:27.150632061Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=250.666µs grafana | logger=migrator t=2024-03-15T11:37:27.155364783Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-03-15T11:37:27.157568526Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.197633ms grafana | logger=migrator t=2024-03-15T11:37:27.162197257Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-03-15T11:37:27.162898214Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=702.327µs grafana | logger=migrator t=2024-03-15T11:37:27.168567379Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-03-15T11:37:27.168910877Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=343.368µs grafana | logger=migrator t=2024-03-15T11:37:27.174209674Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-03-15T11:37:27.175148307Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=938.113µs grafana | logger=migrator t=2024-03-15T11:37:27.180245848Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-03-15T11:37:27.192323047Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.078549ms grafana | logger=migrator t=2024-03-15T11:37:27.195785959Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-03-15T11:37:27.203130315Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.343006ms grafana | logger=migrator t=2024-03-15T11:37:27.210155192Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.212253603Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=2.097951ms grafana | logger=migrator t=2024-03-15T11:37:27.2171478Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.295821458Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=78.673848ms grafana | logger=migrator t=2024-03-15T11:37:27.299672619Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-03-15T11:37:27.300631342Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=958.713µs grafana | logger=migrator t=2024-03-15T11:37:27.307722522Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.309053533Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.329441ms grafana | logger=migrator t=2024-03-15T11:37:27.313755766Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-03-15T11:37:27.342375039Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=28.619483ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-03-15T11:37:27.34786807Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-03-15T11:37:27.354806766Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.937446ms grafana | logger=migrator t=2024-03-15T11:37:27.361331372Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-03-15T11:37:27.361725811Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=394.229µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.369859536Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-03-15T11:37:27.370124172Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=260.716µs grafana | logger=migrator t=2024-03-15T11:37:27.375704925Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.376163776Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=462.451µs grafana | logger=migrator t=2024-03-15T11:37:27.380963411Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.381415641Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=451.98µs grafana | logger=migrator t=2024-03-15T11:37:27.38678923Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-03-15T11:37:27.387268921Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=479.511µs policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-03-15T11:37:27.392714491Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-03-15T11:37:27.393730576Z level=info msg="Migration successfully executed" id="create folder table" duration=1.015845ms grafana | logger=migrator t=2024-03-15T11:37:27.403072959Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.405180059Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.10677ms grafana | logger=migrator t=2024-03-15T11:37:27.413462337Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-03-15T11:37:27.415558836Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.094599ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2024-03-15T11:37:27.420831773Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-03-15T11:37:27.420878104Z level=info msg="Migration successfully executed" id="Update folder title length" duration=47.952µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.42618886Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-03-15T11:37:27.428513446Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.321946ms grafana | logger=migrator t=2024-03-15T11:37:27.433148217Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-03-15T11:37:27.434304634Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.156217ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.444002767Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-03-15T11:37:27.445283887Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.28065ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.454281921Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-03-15T11:37:27.455132912Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=850.52µs grafana | logger=migrator t=2024-03-15T11:37:27.459705911Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-03-15T11:37:27.460493079Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=786.538µs grafana | logger=migrator t=2024-03-15T11:37:27.465689864Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-03-15T11:37:27.466798211Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.108078ms grafana | logger=migrator t=2024-03-15T11:37:27.471914132Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.474049263Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=2.134091ms grafana | logger=migrator t=2024-03-15T11:37:27.518958946Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-03-15T11:37:27.520844561Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.882916ms grafana | logger=migrator t=2024-03-15T11:37:27.528922954Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-15T11:37:27.530898481Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.977307ms grafana | logger=migrator t=2024-03-15T11:37:27.536484945Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-03-15T11:37:27.538530993Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=2.046058ms grafana | logger=migrator t=2024-03-15T11:37:27.545114631Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.546140725Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.024935ms grafana | logger=migrator t=2024-03-15T11:37:27.550431338Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.551836901Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.406173ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.559904884Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-03-15T11:37:27.561189914Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.28555ms grafana | logger=migrator t=2024-03-15T11:37:27.568892308Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-03-15T11:37:27.57062328Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.730612ms grafana | logger=migrator t=2024-03-15T11:37:27.576895399Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.578328573Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.434414ms grafana | logger=migrator t=2024-03-15T11:37:27.58488412Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-03-15T11:37:27.586681212Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.795772ms grafana | logger=migrator t=2024-03-15T11:37:27.592881281Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-03-15T11:37:27.593491406Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=611.344µs grafana | logger=migrator t=2024-03-15T11:37:27.60040724Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-03-15T11:37:27.610541233Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.133892ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.616158107Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-03-15T11:37:27.616930995Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=774.498µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.621129635Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-03-15T11:37:27.622821275Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.69009ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.628740967Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-03-15T11:37:27.630178651Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.438304ms grafana | logger=migrator t=2024-03-15T11:37:27.638865029Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-03-15T11:37:27.640919668Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=2.054329ms policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-03-15T11:37:27.65062999Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-03-15T11:37:27.652706429Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=2.076089ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.662246517Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-03-15T11:37:27.663440846Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.177978ms grafana | logger=migrator t=2024-03-15T11:37:27.669206483Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-03-15T11:37:27.670842533Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.63491ms grafana | logger=migrator t=2024-03-15T11:37:27.679060828Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-03-15T11:37:27.6799542Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=941.233µs grafana | logger=migrator t=2024-03-15T11:37:27.695745356Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.696501835Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=759.009µs grafana | logger=migrator t=2024-03-15T11:37:27.702112329Z level=info msg="Executing migration" id="alter kv_store.value to longtext" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.702235172Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=128.203µs grafana | logger=migrator t=2024-03-15T11:37:27.707766494Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T11:37:27.719912354Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=12.14782ms grafana | logger=migrator t=2024-03-15T11:37:27.725686232Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-03-15T11:37:27.735369213Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.681891ms policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-03-15T11:37:27.740089586Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-03-15T11:37:27.740469355Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=381.129µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T11:37:27.788802869Z level=info msg="migrations completed" performed=547 skipped=0 duration=5.870870846s grafana | logger=sqlstore t=2024-03-15T11:37:27.80013185Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-03-15T11:37:27.800525029Z level=info msg="Created default organization" grafana | logger=secrets t=2024-03-15T11:37:27.806977593Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=plugin.store t=2024-03-15T11:37:27.828798824Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-03-15T11:37:27.869713961Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-03-15T11:37:27.869743032Z level=info msg="Plugins loaded" count=55 duration=40.944998ms policy-db-migrator | -------------- grafana | logger=query_data t=2024-03-15T11:37:27.876982294Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-03-15T11:37:27.883536701Z level=info msg="Live Push Gateway initialization" policy-db-migrator | grafana | logger=ngalert.migration t=2024-03-15T11:37:27.888322235Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-03-15T11:37:27.889019072Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-03-15T11:37:27.889634457Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-03-15T11:37:27.890531718Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | grafana | logger=ngalert.migration t=2024-03-15T11:37:27.892496666Z level=info msg="Completed alerting migration" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=ngalert.state.manager t=2024-03-15T11:37:27.923016994Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-03-15T11:37:27.92538151Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-03-15T11:37:27.927843609Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | -------------- grafana | logger=provisioning.alerting t=2024-03-15T11:37:27.941970226Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-03-15T11:37:27.942042288Z level=info msg="finished to provision alerting" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=ngalert.state.manager t=2024-03-15T11:37:27.942466688Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2024-03-15T11:37:27.942850258Z level=info msg="Storage starting" policy-db-migrator | -------------- grafana | logger=ngalert.state.manager t=2024-03-15T11:37:27.942972561Z level=info msg="State cache has been initialized" states=0 duration=505.123µs grafana | logger=ngalert.multiorg.alertmanager t=2024-03-15T11:37:27.943006932Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.scheduler t=2024-03-15T11:37:27.943030802Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 policy-db-migrator | grafana | logger=ticker t=2024-03-15T11:37:27.943069633Z level=info msg=starting first_tick=2024-03-15T11:37:30Z grafana | logger=http.server t=2024-03-15T11:37:27.959529646Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=sqlstore.transactions t=2024-03-15T11:37:27.987107374Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=provisioning.dashboard t=2024-03-15T11:37:28.011354073Z level=info msg="starting to provision dashboards" policy-db-migrator | grafana | logger=grafana.update.checker t=2024-03-15T11:37:28.041858712Z level=info msg="Update check succeeded" duration=99.148098ms grafana | logger=plugins.update.checker t=2024-03-15T11:37:28.042186659Z level=info msg="Update check succeeded" duration=99.829334ms grafana | logger=sqlstore.transactions t=2024-03-15T11:37:28.113036051Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=sqlstore.transactions t=2024-03-15T11:37:28.124318711Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=provisioning.dashboard t=2024-03-15T11:37:28.370035579Z level=info msg="finished to provision dashboards" policy-db-migrator | -------------- grafana | logger=grafana-apiserver t=2024-03-15T11:37:28.511076848Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-03-15T11:37:28.511594711Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 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 | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:27 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:28 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:29 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:30 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:31 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:31 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:31 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:31 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:31 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1503241137260800u 1 2024-03-15 11:37:31 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:31 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:32 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:32 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1503241137260900u 1 2024-03-15 11:37:32 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1503241137261000u 1 2024-03-15 11:37:32 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1503241137261100u 1 2024-03-15 11:37:32 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1503241137261200u 1 2024-03-15 11:37:32 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1503241137261200u 1 2024-03-15 11:37:32 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1503241137261200u 1 2024-03-15 11:37:32 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1503241137261200u 1 2024-03-15 11:37:32 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing prometheus ... 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.oTqwHpaS2g ]] + rsync -av /tmp/tmp.oTqwHpaS2g/ /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,529 bytes received 95 bytes 2,695,248.00 bytes/sec total size is 1,346,883 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 2098 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/jenkins11323352519168873753.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14643205313123532049.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + 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/jenkins4652612772231900804.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-wm4G from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-wm4G/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8874731756589345328.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config4313833496810558150tmp 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/jenkins10078769466797455145.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins920463928242787288.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-wm4G from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-wm4G/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4410447001035257820.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins586179827218433810.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-wm4G 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-wm4G/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/jenkins9410762084214759000.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-wm4G from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-wm4G/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/301 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-13305 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 810 27453 0 3902 30900 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:9f:e5:86 brd ff:ff:ff:ff:ff:ff inet 10.30.107.70/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86015sec preferred_lft 86015sec inet6 fe80::f816:3eff:fe9f:e586/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:e7:a5:2b:6c 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-13305) 03/15/24 _x86_64_ (8 CPU) 11:33:53 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 144.89 74.35 70.54 5311.11 65390.03 11:36:01 122.34 26.71 95.63 2074.91 38774.94 11:37:01 142.66 9.64 133.02 1667.00 53318.81 11:38:01 327.40 12.73 314.66 809.73 65633.83 11:39:01 18.41 0.03 18.38 4.40 26522.25 11:40:01 62.98 1.41 61.56 110.48 19183.74 Average: 136.43 20.81 115.62 1662.56 44798.55 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30365836 31727696 2573384 7.81 51948 1631112 1463764 4.31 817180 1486788 55768 11:36:01 30033596 31756296 2905624 8.82 78008 1947548 1409592 4.15 816680 1780620 125012 11:37:01 28169128 31694416 4770092 14.48 112564 3650240 1425500 4.19 964156 3388400 1089452 11:38:01 26857712 30454572 6081508 18.46 127092 3670692 4669216 13.74 2287200 3342604 152 11:39:01 26863668 30460644 6075552 18.44 127176 3671528 4792972 14.10 2282584 3341432 12 11:40:01 28176120 31704028 4763100 14.46 128808 3637908 1468032 4.32 1074096 3266108 1860 Average: 28411010 31299609 4528210 13.75 104266 3034838 2538179 7.47 1373649 2767659 212043 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 ens3 297.93 214.55 947.62 58.41 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 1.87 1.87 0.19 0.19 0.00 0.00 0.00 0.00 11:36:01 ens3 51.23 33.99 914.83 7.70 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 11:37:01 ens3 300.90 187.28 9119.34 16.32 0.00 0.00 0.00 0.00 11:37:01 br-5712cad184b0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 lo 8.79 8.79 0.81 0.81 0.00 0.00 0.00 0.00 11:38:01 vethddc075d 0.50 0.65 0.05 0.30 0.00 0.00 0.00 0.00 11:38:01 ens3 7.15 6.33 1.64 1.57 0.00 0.00 0.00 0.00 11:38:01 br-5712cad184b0 3.60 4.07 5.93 2.52 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:39:01 vethddc075d 0.27 0.25 0.02 0.01 0.00 0.00 0.00 0.00 11:39:01 ens3 2.50 2.23 0.47 0.64 0.00 0.00 0.00 0.00 11:39:01 br-5712cad184b0 1.87 2.12 0.15 0.20 0.00 0.00 0.00 0.00 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:40:01 ens3 64.19 44.96 76.02 24.71 0.00 0.00 0.00 0.00 11:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:40:01 lo 34.38 34.38 10.43 10.43 0.00 0.00 0.00 0.00 Average: ens3 120.66 81.56 1843.86 18.23 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.24 5.24 1.70 1.70 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-13305) 03/15/24 _x86_64_ (8 CPU) 11:33:53 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 7.89 0.00 1.12 5.34 0.03 85.62 11:35:01 0 11.08 0.00 1.14 0.60 0.03 87.15 11:35:01 1 7.21 0.00 1.24 1.19 0.03 90.34 11:35:01 2 3.76 0.00 0.62 0.50 0.02 95.11 11:35:01 3 6.52 0.00 0.63 0.57 0.03 92.25 11:35:01 4 4.05 0.00 0.87 1.42 0.02 93.64 11:35:01 5 10.74 0.00 0.85 14.97 0.03 73.40 11:35:01 6 7.13 0.00 0.75 5.10 0.05 86.97 11:35:01 7 12.63 0.00 2.87 18.44 0.07 65.99 11:36:01 all 9.10 0.00 0.76 4.90 0.03 85.20 11:36:01 0 24.34 0.00 1.35 7.81 0.05 66.46 11:36:01 1 15.61 0.00 1.44 8.52 0.07 74.36 11:36:01 2 10.29 0.00 0.77 0.55 0.03 88.36 11:36:01 3 6.13 0.00 0.66 2.02 0.02 91.18 11:36:01 4 6.51 0.00 0.80 0.17 0.02 92.50 11:36:01 5 7.09 0.00 0.62 18.92 0.03 73.34 11:36:01 6 1.23 0.00 0.22 0.83 0.03 97.68 11:36:01 7 1.67 0.00 0.27 0.45 0.02 97.60 11:37:01 all 10.65 0.00 3.06 4.96 0.05 81.27 11:37:01 0 6.05 0.00 3.10 0.89 0.03 89.93 11:37:01 1 4.99 0.00 2.40 15.76 0.05 76.80 11:37:01 2 5.15 0.00 2.87 6.12 0.05 85.81 11:37:01 3 21.99 0.00 4.55 14.25 0.08 59.13 11:37:01 4 22.06 0.00 2.79 1.92 0.07 73.17 11:37:01 5 10.88 0.00 3.03 0.32 0.05 85.72 11:37:01 6 9.31 0.00 2.12 0.08 0.03 88.45 11:37:01 7 4.80 0.00 3.63 0.39 0.05 91.14 11:38:01 all 17.76 0.00 2.18 7.84 0.07 72.16 11:38:01 0 16.95 0.00 2.23 4.79 0.07 75.96 11:38:01 1 16.98 0.00 1.92 3.25 0.07 77.78 11:38:01 2 20.89 0.00 2.63 4.71 0.05 71.72 11:38:01 3 14.44 0.00 2.27 38.57 0.07 44.65 11:38:01 4 16.52 0.00 1.86 0.70 0.05 80.87 11:38:01 5 16.93 0.00 1.80 2.15 0.07 79.06 11:38:01 6 14.61 0.00 1.96 6.04 0.07 77.33 11:38:01 7 24.80 0.00 2.75 2.16 0.12 70.17 11:39:01 all 0.18 0.00 0.06 3.46 0.02 96.29 11:39:01 0 0.10 0.00 0.07 0.00 0.02 99.82 11:39:01 1 0.27 0.00 0.10 0.00 0.03 99.60 11:39:01 2 0.08 0.00 0.05 0.02 0.03 99.82 11:39:01 3 0.22 0.00 0.07 27.36 0.02 72.34 11:39:01 4 0.47 0.00 0.05 0.00 0.02 99.47 11:39:01 5 0.13 0.00 0.07 0.23 0.00 99.57 11:39:01 6 0.08 0.00 0.02 0.08 0.00 99.82 11:39:01 7 0.08 0.00 0.07 0.10 0.02 99.73 11:40:01 all 6.23 0.00 0.58 6.55 0.03 86.60 11:40:01 0 1.07 0.00 0.53 3.78 0.03 94.59 11:40:01 1 1.32 0.00 0.65 2.40 0.03 95.60 11:40:01 2 1.20 0.00 0.38 0.10 0.02 98.30 11:40:01 3 10.26 0.00 0.62 30.38 0.07 58.67 11:40:01 4 10.36 0.00 0.62 2.43 0.03 86.55 11:40:01 5 15.44 0.00 0.72 6.24 0.05 77.56 11:40:01 6 3.27 0.00 0.40 3.20 0.03 93.10 11:40:01 7 6.98 0.00 0.72 4.00 0.03 88.27 Average: all 8.63 0.00 1.29 5.51 0.04 84.53 Average: 0 9.93 0.00 1.40 2.98 0.04 85.65 Average: 1 7.73 0.00 1.29 5.17 0.05 85.76 Average: 2 6.88 0.00 1.22 1.99 0.03 89.87 Average: 3 9.90 0.00 1.46 18.84 0.05 69.75 Average: 4 9.98 0.00 1.16 1.11 0.03 87.72 Average: 5 10.19 0.00 1.18 7.15 0.04 81.44 Average: 6 5.93 0.00 0.91 2.56 0.04 90.57 Average: 7 8.48 0.00 1.71 4.25 0.05 85.51