Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-7598 (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-73NJSHPc3SAm/agent.2098 SSH_AGENT_PID=2100 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_17179138352669860767.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_17179138352669860767.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/jenkins1239753951647784745.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-P8Wt 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-P8Wt/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-P8Wt/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.7 botocore==1.34.7 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.4 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.15.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins12408149472594351059.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/jenkins15681953520087331185.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.ZFKGvHzZMq ++ echo ROBOT_VENV=/tmp/tmp.ZFKGvHzZMq +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.ZFKGvHzZMq ++ source /tmp/tmp.ZFKGvHzZMq/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.ZFKGvHzZMq +++ 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.ZFKGvHzZMq/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.ZFKGvHzZMq) ' '!=' x ']' +++ PS1='(tmp.ZFKGvHzZMq) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.1 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.4 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.ZFKGvHzZMq/src/onap ++ rm -rf /tmp/tmp.ZFKGvHzZMq/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.1 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.4 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.ZFKGvHzZMq/bin/activate + '[' -z /tmp/tmp.ZFKGvHzZMq/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.ZFKGvHzZMq/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.ZFKGvHzZMq ++ 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.ZFKGvHzZMq/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.ZFKGvHzZMq) ' ++ '[' 'x(tmp.ZFKGvHzZMq) ' '!=' x ']' ++ PS1='(tmp.ZFKGvHzZMq) (tmp.ZFKGvHzZMq) ' ++ 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.t2aFe9iizm + cd /tmp/tmp.t2aFe9iizm + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-london-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 12 seconds prometheus Up 11 seconds mariadb Up 14 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds prometheus Up 16 seconds mariadb Up 19 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds prometheus Up 21 seconds mariadb Up 24 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds prometheus Up 26 seconds mariadb Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:35:57 up 3 min, 0 users, load average: 2.42, 0.95, 0.37 Tasks: 181 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.4 us, 2.0 sy, 0.0 ni, 83.0 id, 4.5 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds prometheus Up 26 seconds mariadb Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS a62fda226640 grafana 0.01% 52.79MiB / 31.41GiB 0.16% 18.5kB / 3.09kB 0B / 23.7MB 16 0e73b34014ff policy-api 0.10% 901.9MiB / 31.41GiB 2.80% 1.04MB / 740kB 0B / 0B 50 c416bdac1422 prometheus 0.00% 18.66MiB / 31.41GiB 0.06% 920B / 158B 0B / 0B 11 37286bb0ae85 mariadb 0.02% 101.2MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.2MB / 63.7MB 31 + echo + cd /tmp/tmp.t2aFe9iizm + 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.t2aFe9iizm/output.xml Log: /tmp/tmp.t2aFe9iizm/log.html Report: /tmp/tmp.t2aFe9iizm/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:08 up 4 min, 0 users, load average: 1.23, 0.95, 0.42 Tasks: 179 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.9 us, 1.6 sy, 0.0 ni, 85.6 id, 3.8 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS a62fda226640 grafana 0.17% 57.32MiB / 31.41GiB 0.18% 19.6kB / 4.42kB 0B / 23.7MB 16 0e73b34014ff policy-api 0.10% 915.9MiB / 31.41GiB 2.85% 7.32MB / 2.87MB 0B / 0B 52 c416bdac1422 prometheus 0.00% 25.45MiB / 31.41GiB 0.08% 37.6kB / 7.16kB 0B / 0B 13 37286bb0ae85 mariadb 0.02% 101.9MiB / 31.41GiB 0.32% 2.75MB / 7.36MB 11.2MB / 63.8MB 18 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, prometheus, mariadb mariadb | 2023-12-25 11:35:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-25 11:35:28+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-25 11:35:28+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-25 11:35:28+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-25 11:35:28 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-25 11:35:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-25 11:35:28 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-12-25 11:35:29+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-25 11:35:29+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-25 11:35:29+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-12-25 11:35:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2023-12-25 11:35:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-25 11:35:29 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-25 11:35:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-25 11:35:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-25 11:35:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-25 11:35:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-25 11:35:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-25 11:35:29 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-25 11:35:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-25 11:35:29 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-25 11:35:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-25 11:35:29 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-25 11:35:29 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-12-25 11:35:29 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-25 11:35:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-25 11:35:29 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-25 11:35:29 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-25 11:35:29 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-12-25 11:35:30+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-25 11:35:32+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-25 11:35:32+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-12-25 11:35:32+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-12-25 11:35:32+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=settings t=2023-12-25T11:35:32.084641225Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2023-12-25T11:35:32.084861884Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-25T11:35:32.084874914Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-25T11:35:32.084878674Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-25T11:35:32.084882024Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-25T11:35:32.084886704Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-25T11:35:32.084890254Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-25T11:35:32.084894034Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-25T11:35:32.084899414Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-25T11:35:32.084903014Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-25T11:35:32.084916264Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-25T11:35:32.084920634Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-25T11:35:32.084925884Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-25T11:35:32.084931844Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-25T11:35:32.084935504Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-25T11:35:32.084939364Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-25T11:35:32.084942844Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-25T11:35:32.084946444Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-25T11:35:32.084950294Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-25T11:35:32.085273302Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-25T11:35:32.085292092Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-25T11:35:32.08592885Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-25T11:35:32.086753438Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-25T11:35:32.087462085Z level=info msg="Migration successfully executed" id="create migration_log table" duration=708.277µs grafana | logger=migrator t=2023-12-25T11:35:32.104471631Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-25T11:35:32.105138139Z level=info msg="Migration successfully executed" id="create user table" duration=665.968µs grafana | logger=migrator t=2023-12-25T11:35:32.117169991Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-25T11:35:32.118150808Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=983.007µs grafana | logger=migrator t=2023-12-25T11:35:32.121566707Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-25T11:35:32.122401974Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=834.727µs grafana | logger=migrator t=2023-12-25T11:35:32.125081015Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-25T11:35:32.125771273Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=695.268µs grafana | logger=migrator t=2023-12-25T11:35:32.130181979Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-25T11:35:32.131007476Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=825.097µs grafana | logger=migrator t=2023-12-25T11:35:32.134024067Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-25T11:35:32.138510852Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.494455ms grafana | logger=migrator t=2023-12-25T11:35:32.141493723Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-25T11:35:32.14241533Z level=info msg="Migration successfully executed" id="create user table v2" duration=923.847µs grafana | logger=migrator t=2023-12-25T11:35:32.147183885Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-25T11:35:32.148021892Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=837.187µs grafana | logger=migrator t=2023-12-25T11:35:32.151905259Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-25T11:35:32.152727537Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=821.718µs grafana | logger=migrator t=2023-12-25T11:35:32.155143609Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-25T11:35:32.155536348Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=392.579µs grafana | logger=migrator t=2023-12-25T11:35:32.157434752Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-25T11:35:32.15794653Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=511.538µs grafana | logger=migrator t=2023-12-25T11:35:32.162003617Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-25T11:35:32.163068404Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.064567ms grafana | logger=migrator t=2023-12-25T11:35:32.166630823Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-25T11:35:32.166660122Z level=info msg="Migration successfully executed" id="Update user table charset" duration=30.179µs grafana | logger=migrator t=2023-12-25T11:35:32.171915826Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-25T11:35:32.173015762Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.099876ms grafana | logger=migrator t=2023-12-25T11:35:32.175253815Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-25T11:35:32.175468314Z level=info msg="Migration successfully executed" id="Add missing user data" duration=214.929µs grafana | logger=migrator t=2023-12-25T11:35:32.179311772Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-25T11:35:32.180386729Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.074647ms mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-12-25 11:35:33+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-12-25 11:35:33 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-12-25 11:35:33 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-12-25 11:35:33 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-12-25 11:35:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-25 11:35:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 231225 11:35:33 mariadb | 2023-12-25 11:35:33 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-12-25 11:35:33 0 [Note] InnoDB: Shutdown completed; log sequence number 331962; transaction id 298 mariadb | 2023-12-25 11:35:33 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-12-25 11:35:33+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-12-25 11:35:33+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-12-25 11:35:33 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-12-25 11:35:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-25 11:35:33 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-25 11:35:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-25 11:35:33 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-25 11:35:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-25 11:35:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-25 11:35:33 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-25 11:35:33 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-25 11:35:33 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-25 11:35:34 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-25 11:35:34 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-25 11:35:34 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-25 11:35:34 0 [Note] InnoDB: log sequence number 331962; transaction id 299 mariadb | 2023-12-25 11:35:34 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-25 11:35:34 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-25 11:35:34 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-25 11:35:34 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-12-25 11:35:34 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-12-25 11:35:34 0 [Note] Server socket created on IP: '::'. mariadb | 2023-12-25 11:35:34 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2023-12-25 11:35:34 0 [Note] InnoDB: Buffer pool(s) load completed at 231225 11:35:34 mariadb | 2023-12-25 11:35:34 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2023-12-25 11:35:34 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2023-12-25T11:35:32.182592672Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-25T11:35:32.183272679Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=679.857µs grafana | logger=migrator t=2023-12-25T11:35:32.185067434Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-25T11:35:32.18617013Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.097126ms grafana | logger=migrator t=2023-12-25T11:35:32.188389153Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-25T11:35:32.197795643Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.40648ms grafana | logger=migrator t=2023-12-25T11:35:32.20187125Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-25T11:35:32.202390568Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=517.778µs grafana | logger=migrator t=2023-12-25T11:35:32.20497996Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-25T11:35:32.205629998Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=649.028µs grafana | logger=migrator t=2023-12-25T11:35:32.208272089Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-25T11:35:32.209008447Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=736.248µs grafana | logger=migrator t=2023-12-25T11:35:32.215777445Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-25T11:35:32.216907522Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.129977ms grafana | logger=migrator t=2023-12-25T11:35:32.219510763Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-25T11:35:32.22065988Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.148367ms grafana | logger=migrator t=2023-12-25T11:35:32.223313121Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-25T11:35:32.223337921Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=26.99µs grafana | logger=migrator t=2023-12-25T11:35:32.227518808Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-25T11:35:32.228151806Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=632.788µs grafana | logger=migrator t=2023-12-25T11:35:32.230562898Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-25T11:35:32.231202206Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=639.298µs grafana | logger=migrator t=2023-12-25T11:35:32.23319843Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-25T11:35:32.233840798Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=642.098µs grafana | logger=migrator t=2023-12-25T11:35:32.237956134Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-25T11:35:32.238934751Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=978.257µs grafana | logger=migrator t=2023-12-25T11:35:32.241830462Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-25T11:35:32.246721686Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.891584ms grafana | logger=migrator t=2023-12-25T11:35:32.330829827Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-25T11:35:32.331924434Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.094287ms grafana | logger=migrator t=2023-12-25T11:35:32.33643695Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-25T11:35:32.337683466Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.250836ms grafana | logger=migrator t=2023-12-25T11:35:32.340461017Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-25T11:35:32.341640743Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.178966ms grafana | logger=migrator t=2023-12-25T11:35:32.344491304Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-25T11:35:32.345220381Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=728.897µs grafana | logger=migrator t=2023-12-25T11:35:32.349180779Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-25T11:35:32.350289726Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.107667ms grafana | logger=migrator t=2023-12-25T11:35:32.353201216Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-25T11:35:32.353817874Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=616.168µs grafana | logger=migrator t=2023-12-25T11:35:32.356436766Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-25T11:35:32.357228523Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=791.027µs grafana | logger=migrator t=2023-12-25T11:35:32.359669635Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-25T11:35:32.360033494Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=363.929µs grafana | logger=migrator t=2023-12-25T11:35:32.363761662Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-25T11:35:32.36431212Z level=info msg="Migration successfully executed" id="create star table" duration=547.618µs grafana | logger=migrator t=2023-12-25T11:35:32.36768919Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-25T11:35:32.368413537Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=723.927µs grafana | logger=migrator t=2023-12-25T11:35:32.371785427Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-25T11:35:32.372834493Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.048616ms grafana | logger=migrator t=2023-12-25T11:35:32.408085172Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-12-25T11:35:32.409316298Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.238836ms grafana | logger=migrator t=2023-12-25T11:35:32.413469744Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-25T11:35:32.414505991Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.035617ms grafana | logger=migrator t=2023-12-25T11:35:32.422159346Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-25T11:35:32.423420392Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.269496ms grafana | logger=migrator t=2023-12-25T11:35:32.493703927Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-25T11:35:32.494875263Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.170686ms grafana | logger=migrator t=2023-12-25T11:35:32.499952267Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-25T11:35:32.501176833Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.223216ms grafana | logger=migrator t=2023-12-25T11:35:32.506090637Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-25T11:35:32.506116107Z level=info msg="Migration successfully executed" id="Update org table charset" duration=26.65µs grafana | logger=migrator t=2023-12-25T11:35:32.509852146Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-25T11:35:32.509877875Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=26.429µs grafana | logger=migrator t=2023-12-25T11:35:32.515387198Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-25T11:35:32.515557407Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=164.529µs grafana | logger=migrator t=2023-12-25T11:35:32.521445768Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-25T11:35:32.522753774Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.307896ms grafana | logger=migrator t=2023-12-25T11:35:32.527603328Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-25T11:35:32.528382446Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=780.628µs grafana | logger=migrator t=2023-12-25T11:35:32.531074687Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-25T11:35:32.531935915Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=860.698µs grafana | logger=migrator t=2023-12-25T11:35:32.547367025Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-25T11:35:32.548590691Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.223676ms grafana | logger=migrator t=2023-12-25T11:35:32.551714312Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-25T11:35:32.552704798Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=990.356µs grafana | logger=migrator t=2023-12-25T11:35:32.557275234Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-25T11:35:32.557980892Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=705.808µs grafana | logger=migrator t=2023-12-25T11:35:32.565742837Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-25T11:35:32.576094454Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=10.354457ms grafana | logger=migrator t=2023-12-25T11:35:32.579251264Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-25T11:35:32.579793542Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=542.148µs grafana | logger=migrator t=2023-12-25T11:35:32.585004405Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-25T11:35:32.585952632Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=946.557µs grafana | logger=migrator t=2023-12-25T11:35:32.588802143Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-25T11:35:32.590206598Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.398035ms grafana | logger=migrator t=2023-12-25T11:35:32.593075419Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-25T11:35:32.594007596Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=932.407µs grafana | logger=migrator t=2023-12-25T11:35:32.597830404Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-25T11:35:32.599380729Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.549725ms grafana | logger=migrator t=2023-12-25T11:35:32.604990411Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-25T11:35:32.60522714Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=236.109µs grafana | logger=migrator t=2023-12-25T11:35:32.608181421Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-25T11:35:32.610054415Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.872554ms grafana | logger=migrator t=2023-12-25T11:35:32.614963959Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-25T11:35:32.616738574Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.774135ms grafana | logger=migrator t=2023-12-25T11:35:32.619480315Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-25T11:35:32.621324939Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.844124ms grafana | logger=migrator t=2023-12-25T11:35:32.62414112Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-25T11:35:32.625041647Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=900.207µs grafana | logger=migrator t=2023-12-25T11:35:32.665886057Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-25T11:35:32.668796587Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.90975ms grafana | logger=migrator t=2023-12-25T11:35:32.671772308Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-12-25T11:35:32.672687575Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=920.547µs grafana | logger=migrator t=2023-12-25T11:35:32.675627385Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-12-25T11:35:32.676557182Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=929.807µs grafana | logger=migrator t=2023-12-25T11:35:32.680963079Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-25T11:35:32.680990698Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=33.909µs grafana | logger=migrator t=2023-12-25T11:35:32.684307078Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-25T11:35:32.684339588Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=33.31µs grafana | logger=migrator t=2023-12-25T11:35:32.687044839Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-25T11:35:32.688967383Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.922134ms grafana | logger=migrator t=2023-12-25T11:35:32.691613944Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-25T11:35:32.693578078Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.961724ms grafana | logger=migrator t=2023-12-25T11:35:32.698704742Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-25T11:35:32.700612396Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.907154ms grafana | logger=migrator t=2023-12-25T11:35:32.703361317Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-25T11:35:32.705286061Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.924364ms grafana | logger=migrator t=2023-12-25T11:35:32.708161072Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-25T11:35:32.708420491Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=256.129µs grafana | logger=migrator t=2023-12-25T11:35:32.713523184Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-25T11:35:32.714401802Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=873.058µs grafana | logger=migrator t=2023-12-25T11:35:32.717044063Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-25T11:35:32.717928431Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=884.318µs grafana | logger=migrator t=2023-12-25T11:35:32.720562132Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-25T11:35:32.720590182Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=29.28µs grafana | logger=migrator t=2023-12-25T11:35:32.725810845Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-25T11:35:32.726708242Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=897.127µs grafana | logger=migrator t=2023-12-25T11:35:32.729443634Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-25T11:35:32.730169641Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=725.357µs grafana | logger=migrator t=2023-12-25T11:35:32.732909513Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-25T11:35:32.73995065Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.040637ms grafana | logger=migrator t=2023-12-25T11:35:32.745281153Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-25T11:35:32.74611589Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=836.297µs grafana | logger=migrator t=2023-12-25T11:35:32.74944141Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-25T11:35:32.750349027Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=907.477µs grafana | logger=migrator t=2023-12-25T11:35:32.754562524Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-25T11:35:32.755440091Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=877.447µs grafana | logger=migrator t=2023-12-25T11:35:32.757927043Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-25T11:35:32.758286052Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=358.779µs grafana | logger=migrator t=2023-12-25T11:35:32.762345569Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-25T11:35:32.762954617Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=608.678µs grafana | logger=migrator t=2023-12-25T11:35:32.765573358Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-25T11:35:32.767654581Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.081273ms grafana | logger=migrator t=2023-12-25T11:35:32.770427033Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-25T11:35:32.77129283Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=865.167µs grafana | logger=migrator t=2023-12-25T11:35:32.775593886Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-12-25T11:35:32.775829956Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=240.46µs grafana | logger=migrator t=2023-12-25T11:35:32.777954429Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-25T11:35:32.778337818Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=383.129µs grafana | logger=migrator t=2023-12-25T11:35:32.781286958Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-25T11:35:32.782746803Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.446595ms grafana | logger=migrator t=2023-12-25T11:35:32.787201209Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-25T11:35:32.789337273Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.135564ms grafana | logger=migrator t=2023-12-25T11:35:32.792550672Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-12-25T11:35:32.793577599Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.026387ms 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.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-12-25T11:35:42.044+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-12-25T11:35:42.047+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-12-25T11:35:43.304+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-12-25T11:35:43.392+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 75 ms. Found 6 JPA repository interfaces. policy-api | [2023-12-25T11:35:44.412+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-12-25T11:35:44.427+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-25T11:35:44.427+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-12-25T11:35:44.428+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-12-25T11:35:44.508+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-12-25T11:35:44.508+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2404 ms policy-api | [2023-12-25T11:35:45.011+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-12-25T11:35:45.075+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-12-25T11:35:45.277+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-12-25T11:35:45.406+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-12-25T11:35:45.549+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-12-25T11:35:45.575+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-12-25T11:35:47.034+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-12-25T11:35:47.046+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-12-25T11:35:48.154+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-12-25T11:35:49.012+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-12-25T11:35:50.099+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@73e4ecb, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1942a960, org.springframework.security.web.context.SecurityContextPersistenceFilter@3c79071e, org.springframework.security.web.header.HeaderWriterFilter@41737438, org.springframework.security.web.authentication.logout.LogoutFilter@48d588dd, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@3c7b040f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@e73787, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4de5d46c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5bee88e3, org.springframework.security.web.session.SessionManagementFilter@4cf5cf47, org.springframework.security.web.access.ExceptionTranslationFilter@249c96cf, org.springframework.security.web.access.intercept.AuthorizationFilter@2d4df467] policy-api | [2023-12-25T11:35:50.234+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-12-25T11:35:52.652+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-12-25T11:35:52.677+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-25T11:35:52.709+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-12-25T11:35:52.726+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.433 seconds (JVM running for 11.999) policy-api | [2023-12-25T11:36:00.502+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-12-25T11:36:00.502+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-12-25T11:36:00.503+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2023-12-25T11:36:03.053+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-12-25T11:36:03.167+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-12-25T11:36:03.483+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policytypes policy-api | [2023-12-25T11:36:04.632+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-12-25T11:36:06.468+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-12-25T11:36:06.856+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-12-25T11:36:07.123+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-12-25T11:36:07.391+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-12-25T11:36:07.593+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-12-25T11:36:07.804+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-12-25T11:35:32.797789985Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-25T11:35:32.798654023Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=863.978µs grafana | logger=migrator t=2023-12-25T11:35:32.803329638Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-25T11:35:32.804213305Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=883.337µs grafana | logger=migrator t=2023-12-25T11:35:32.809324429Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-25T11:35:32.810361545Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.037066ms grafana | logger=migrator t=2023-12-25T11:35:32.816691225Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-25T11:35:32.817498862Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=807.257µs grafana | logger=migrator t=2023-12-25T11:35:32.822936405Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-25T11:35:32.83405767Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=11.122145ms grafana | logger=migrator t=2023-12-25T11:35:32.841389866Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-25T11:35:32.842618912Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.228626ms grafana | logger=migrator t=2023-12-25T11:35:32.846286371Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-25T11:35:32.847771626Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.480395ms grafana | logger=migrator t=2023-12-25T11:35:32.852364781Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-25T11:35:32.853843366Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.477955ms grafana | logger=migrator t=2023-12-25T11:35:32.861319712Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-25T11:35:32.86194463Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=658.588µs grafana | logger=migrator t=2023-12-25T11:35:32.867224534Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-25T11:35:32.870940652Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.713908ms grafana | logger=migrator t=2023-12-25T11:35:32.876564434Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-25T11:35:32.878844456Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.280032ms grafana | logger=migrator t=2023-12-25T11:35:32.886704342Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-25T11:35:32.886730072Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=26.61µs grafana | logger=migrator t=2023-12-25T11:35:32.89337112Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-25T11:35:32.893645459Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=274.989µs grafana | logger=migrator t=2023-12-25T11:35:32.898763943Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-25T11:35:32.902447951Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.682958ms grafana | logger=migrator t=2023-12-25T11:35:32.905554531Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-25T11:35:32.90584531Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=284.12µs grafana | logger=migrator t=2023-12-25T11:35:32.911069154Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-25T11:35:32.911229873Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=155.639µs grafana | logger=migrator t=2023-12-25T11:35:32.91539562Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-25T11:35:32.919359227Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.964567ms grafana | logger=migrator t=2023-12-25T11:35:32.924345471Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-25T11:35:32.924514511Z level=info msg="Migration successfully executed" id="Update uid value" duration=168.95µs grafana | logger=migrator t=2023-12-25T11:35:32.928594918Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-25T11:35:32.929387855Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=792.537µs grafana | logger=migrator t=2023-12-25T11:35:32.938227117Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-25T11:35:32.939466273Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.238576ms grafana | logger=migrator t=2023-12-25T11:35:32.944738986Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-25T11:35:32.946518001Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.778125ms grafana | logger=migrator t=2023-12-25T11:35:32.988211687Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-25T11:35:32.989561703Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.344526ms grafana | logger=migrator t=2023-12-25T11:35:32.993920639Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-25T11:35:32.994969436Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.049867ms grafana | logger=migrator t=2023-12-25T11:35:32.99980845Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-25T11:35:33.000693998Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=885.368µs grafana | logger=migrator t=2023-12-25T11:35:33.00770403Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-25T11:35:33.008960718Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.256958ms grafana | logger=migrator t=2023-12-25T11:35:33.014694378Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-25T11:35:33.016028686Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.331268ms grafana | logger=migrator t=2023-12-25T11:35:33.021344067Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" prometheus | ts=2023-12-25T11:35:31.004Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-12-25T11:35:31.004Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" prometheus | ts=2023-12-25T11:35:31.004Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-12-25T11:35:31.004Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-12-25T11:35:31.004Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-12-25T11:35:31.004Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-12-25T11:35:31.006Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-12-25T11:35:31.007Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-12-25T11:35:31.008Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-12-25T11:35:31.008Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-12-25T11:35:31.012Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-12-25T11:35:31.012Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.78µs prometheus | ts=2023-12-25T11:35:31.012Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-12-25T11:35:31.012Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-12-25T11:35:31.012Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=102.839µs wal_replay_duration=295.27µs wbl_replay_duration=180ns total_replay_duration=417.959µs prometheus | ts=2023-12-25T11:35:31.014Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-12-25T11:35:31.014Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-12-25T11:35:31.014Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-12-25T11:35:31.016Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.468379ms db_storage=1.61µs remote_storage=2.16µs web_handler=890ns query_engine=1.26µs scrape=273.599µs scrape_sd=128.4µs notify=376.27µs notify_sd=53.61µs rules=2.04µs tracing=11.88µs prometheus | ts=2023-12-25T11:35:31.016Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-12-25T11:35:31.016Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-12-25T11:35:33.022129336Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=785.219µs grafana | logger=migrator t=2023-12-25T11:35:33.027954266Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-25T11:35:33.039410937Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.457641ms grafana | logger=migrator t=2023-12-25T11:35:33.044069319Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-25T11:35:33.044784208Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=709.549µs grafana | logger=migrator t=2023-12-25T11:35:33.053855193Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-25T11:35:33.055160051Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.304928ms grafana | logger=migrator t=2023-12-25T11:35:33.06198972Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-25T11:35:33.063299538Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.309748ms grafana | logger=migrator t=2023-12-25T11:35:33.06805345Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-25T11:35:33.069541398Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.487308ms grafana | logger=migrator t=2023-12-25T11:35:33.073241392Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-12-25T11:35:33.073631761Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=390.249µs grafana | logger=migrator t=2023-12-25T11:35:33.083597435Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-25T11:35:33.084515954Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=917.849µs grafana | logger=migrator t=2023-12-25T11:35:33.090159054Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-25T11:35:33.090198604Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=49.419µs grafana | logger=migrator t=2023-12-25T11:35:33.095896345Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-25T11:35:33.099964939Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.076064ms grafana | logger=migrator t=2023-12-25T11:35:33.110831331Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-25T11:35:33.114784335Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.942914ms grafana | logger=migrator t=2023-12-25T11:35:33.1179965Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-25T11:35:33.118425229Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=427.939µs grafana | logger=migrator t=2023-12-25T11:35:33.122949752Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-25T11:35:33.125430878Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.480616ms grafana | logger=migrator t=2023-12-25T11:35:33.130957639Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-25T11:35:33.133506705Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.543916ms grafana | logger=migrator t=2023-12-25T11:35:33.140168424Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-25T11:35:33.140893913Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=724.669µs grafana | logger=migrator t=2023-12-25T11:35:33.146602454Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-25T11:35:33.147619652Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=1.013808ms grafana | logger=migrator t=2023-12-25T11:35:33.154957981Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-25T11:35:33.156172859Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.214038ms grafana | logger=migrator t=2023-12-25T11:35:33.165053055Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-25T11:35:33.166418862Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.365407ms grafana | logger=migrator t=2023-12-25T11:35:33.173267391Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-25T11:35:33.174587779Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.320048ms grafana | logger=migrator t=2023-12-25T11:35:33.179208062Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-25T11:35:33.18052498Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.319908ms grafana | logger=migrator t=2023-12-25T11:35:33.185559481Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-25T11:35:33.185660331Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=100.63µs grafana | logger=migrator t=2023-12-25T11:35:33.190029154Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-25T11:35:33.190065964Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=38.05µs grafana | logger=migrator t=2023-12-25T11:35:33.194663217Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-25T11:35:33.19898515Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.326443ms grafana | logger=migrator t=2023-12-25T11:35:33.206971777Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-25T11:35:33.21122698Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=4.253333ms grafana | logger=migrator t=2023-12-25T11:35:33.218817438Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-25T11:35:33.218918638Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=100.91µs grafana | logger=migrator t=2023-12-25T11:35:33.225498878Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-25T11:35:33.226657406Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.157018ms grafana | logger=migrator t=2023-12-25T11:35:33.231173959Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.232967716Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.793047ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) grafana | logger=migrator t=2023-12-25T11:35:33.245248626Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.245291646Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=44.46µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.252209505Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.253445783Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.235548ms policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2023-12-25T11:35:33.257658846Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.259114854Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.450468ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2023-12-25T11:35:33.265978643Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.270570125Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.590622ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.316883501Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.316920121Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=38.07µs policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2023-12-25T11:35:33.321859973Z level=info msg="Executing migration" id="create session table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.323476371Z level=info msg="Migration successfully executed" id="create session table" duration=1.615718ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) grafana | logger=migrator t=2023-12-25T11:35:33.329182451Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.329451071Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=268.02µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.337131089Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.337401828Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=280.529µs policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2023-12-25T11:35:33.344284907Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.345391925Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.106798ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2023-12-25T11:35:33.351519496Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.352668854Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.148718ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.355850739Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.355888449Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=39.23µs policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2023-12-25T11:35:33.360378431Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.360421121Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=44.66µ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=2023-12-25T11:35:33.365418783Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.368414869Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.998586ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.37366835Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.376677685Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.008955ms policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2023-12-25T11:35:33.379515911Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.379690431Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=147.81µ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=2023-12-25T11:35:33.383638064Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.383794374Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=167.02µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.388405056Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.389619424Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.213678ms policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2023-12-25T11:35:33.397424232Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.397471742Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=40.82µ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=2023-12-25T11:35:33.406222448Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.41150632Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.284362ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.415623083Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.415834343Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=210.77µs policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2023-12-25T11:35:33.426065966Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.430941908Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.875252ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.43602573Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.439147635Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.122555ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.442877449Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.442981439Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=103.74µs policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2023-12-25T11:35:33.445387715Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.446285134Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=897.369µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.452085774Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.453531572Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.444328ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.458390734Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.459990222Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.598478ms policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.465133244Z level=info msg="Executing migration" id="add index alert org_id & 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=2023-12-25T11:35:33.466194372Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.062338ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.472763801Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.474168099Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.395648ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.479380701Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2023-12-25T11:35:33.481041188Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.660087ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.486497389Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.487550118Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.052019ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.490980942Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.49249187Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.510638ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.500191727Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2023-12-25T11:35:33.501058546Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=866.869µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.506413077Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.523848989Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=17.434372ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.526802585Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.527301794Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=498.859µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.531142418Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2023-12-25T11:35:33.531834957Z 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=693.429µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.535011201Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.535549531Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=537.659µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.538953045Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.539881854Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=926.239µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.543147078Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2023-12-25T11:35:33.543920307Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=772.789µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.547672961Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.551125376Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.451935ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.554179311Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.557655415Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.475784ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.56063249Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2023-12-25T11:35:33.564152995Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.520015ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.567926599Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.571427253Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.500094ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.574529168Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.575474957Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=945.439µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.578561142Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2023-12-25T11:35:33.578581192Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=21.1µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.583173334Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.583196254Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=23.93µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.585558161Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.586354299Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=795.648µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.630145669Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2023-12-25T11:35:33.631790056Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.645557ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.635485911Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-25T11:35:33.636356929Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=870.258µs grafana | logger=migrator t=2023-12-25T11:35:33.640390743Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.641177201Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=787.168µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.644572766Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.645587084Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.013778ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.649197228Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2023-12-25T11:35:33.653064202Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.866164ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.656270557Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.660146421Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.875284ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.663078126Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.663336226Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=260.31µs policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-12-25T11:35:33.665895462Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.66682304Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=929.668µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.672032012Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.672852131Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=820.249µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.675791846Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.681407847Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.611351ms policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2023-12-25T11:35:33.685161651Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.685262391Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=100.65µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.689392454Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.690274553Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=886.199µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.693574608Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.695065375Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.490687ms policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2023-12-25T11:35:33.699361658Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.699658548Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=291.15µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.703157862Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.704001571Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=843.229µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.707328645Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.708287424Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=958.179µs policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-12-25T11:35:33.718013588Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.718939547Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=925.629µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.728440722Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.729969699Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.528567ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.737674557Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.738698445Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.023538ms policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-12-25T11:35:33.746322623Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.74788527Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.562097ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.755076209Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.755102119Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=29.09µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.762121998Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.769951995Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=7.830487ms policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2023-12-25T11:35:33.810881139Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.812382497Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.501187ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.817874848Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.822232081Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.349843ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.826437014Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.827469633Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.031779ms policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2023-12-25T11:35:33.832499195Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.833485293Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=985.578µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.837324457Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.838283866Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=958.159µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.841089631Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.857220525Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.131074ms policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2023-12-25T11:35:33.861845428Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.862361987Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=516.189µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.865395472Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.86686926Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.431908ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.870353194Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.870881893Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=527.989µs policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2023-12-25T11:35:33.874092458Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.874656887Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=562.369µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.878424041Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.878660551Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=236.52µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.881832296Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.888297105Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.465419ms policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2023-12-25T11:35:33.891304441Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.895312714Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.007773ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.899830617Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.900694255Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=863.648µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.903683241Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.904750759Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.065588ms policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2023-12-25T11:35:33.908897503Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.909243482Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=345.819µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2023-12-25T11:35:33.946030133Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.953200971Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=7.173748ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.956734876Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.957371455Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=636.549µs policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2023-12-25T11:35:33.960884639Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.960998229Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=113.82µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.965132822Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.965743971Z level=info msg="Migration successfully executed" id="Move region to single row" duration=610.589µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.969755845Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.971105713Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.347128ms policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2023-12-25T11:35:33.975114566Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.975905675Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=790.899µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:33.980267398Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.981722986Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.454058ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.988421265Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:33.989825933Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.409508ms policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2023-12-25T11:35:33.994008476Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:33.995246484Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.237808ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-25T11:35:34.027781365Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.029122721Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.340906ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.086005313Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.086107332Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=102.889µs policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2023-12-25T11:35:34.117054999Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.118275175Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.218556ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-25T11:35:34.124081066Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.125262122Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.180986ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.131034043Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.132388599Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.353796ms policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2023-12-25T11:35:34.135643448Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.136559445Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=915.017µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.142462215Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.142791004Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=328.979µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.146336912Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.14688274Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=545.718µs policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2023-12-25T11:35:34.150398849Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.150498768Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=100.739µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-25T11:35:34.154216346Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.155264093Z level=info msg="Migration successfully executed" id="create team table" duration=1.039397ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.15917712Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.160094637Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=917.287µs policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2023-12-25T11:35:34.164914781Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.165839868Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=925.087µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-25T11:35:34.170863461Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.175168457Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.304816ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.179298903Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.179468562Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=169.809µs policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2023-12-25T11:35:34.182955091Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.183838118Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=882.647µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.186726248Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.187392476Z level=info msg="Migration successfully executed" id="create team member table" duration=668.898µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.191292043Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.19213305Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=840.657µs policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2023-12-25T11:35:34.19510267Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.195975837Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=872.797µs grafana | logger=migrator t=2023-12-25T11:35:34.199017077Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-12-25T11:35:34.199909935Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=892.348µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-25T11:35:34.203761402Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.210036111Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.272819ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.21336249Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.217759175Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.396365ms policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2023-12-25T11:35:34.220913405Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.22531637Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.402845ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-25T11:35:34.293103006Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.294483452Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.379936ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.299132266Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.300514742Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.382366ms policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2023-12-25T11:35:34.303685711Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.304654718Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=968.487µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.308636635Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.309808751Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.168116ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.314454635Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.315817861Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.362866ms policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2023-12-25T11:35:34.319222579Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.320072776Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=849.927µs 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=2023-12-25T11:35:34.324227913Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.325146139Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=918.726µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.328589138Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.330036623Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.448635ms policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2023-12-25T11:35:34.333458742Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.33392038Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=462.108µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-25T11:35:34.337896777Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.338099786Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=203.609µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.341273006Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.342271322Z level=info msg="Migration successfully executed" id="create tag table" duration=1.000156ms policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2023-12-25T11:35:34.346547988Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.347947113Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.398685ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.351314632Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.35197096Z level=info msg="Migration successfully executed" id="create login attempt table" duration=655.928µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.355154709Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.356022706Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=867.657µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.359754004Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.361245539Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.491945ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.365969184Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.384859131Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.891727ms policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2023-12-25T11:35:34.38812498Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.388653748Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=528.648µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-25T11:35:34.392346946Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.392996344Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=649.188µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.396190343Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.396642932Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=448.859µs policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2023-12-25T11:35:34.40010957Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.401035577Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=925.567µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.404032597Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.404676165Z level=info msg="Migration successfully executed" id="create user auth table" duration=643.458µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.408335343Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.40925702Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=921.277µs policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2023-12-25T11:35:34.412618549Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.412715888Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=98.27µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.416265837Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.421727868Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.462642ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.425760175Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.430705099Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.944584ms policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2023-12-25T11:35:34.433668629Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.438535583Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.866654ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-25T11:35:34.441817752Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.446710726Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.897674ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.450689122Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.451543479Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=857.597µs policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2023-12-25T11:35:34.454835598Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.459788432Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=4.952464ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.463011842Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.463705219Z level=info msg="Migration successfully executed" id="create server_lock table" duration=688.487µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.467908795Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2023-12-25T11:35:34.468785132Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=879.317µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.472210381Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.472945908Z level=info msg="Migration successfully executed" id="create user auth token table" duration=735.267µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.476387157Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.477292484Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=905.017µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.482833526Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2023-12-25T11:35:34.484250771Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.416755ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.487847849Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-25T11:35:34.489462204Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.616915ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.493235931Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.498481304Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.244653ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.50273677Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2023-12-25T11:35:34.503658806Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=918.326µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.506855156Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.507575344Z level=info msg="Migration successfully executed" id="create cache_data table" duration=719.738µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.510763073Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.51167053Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=907.427µs grafana | logger=migrator t=2023-12-25T11:35:34.515768717Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.516516734Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=747.567µs policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.519791653Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.52071254Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=920.447µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.523971469Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.524034099Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=63.17µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.527855096Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2023-12-25T11:35:34.527942516Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=84.57µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.531383905Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-25T11:35:34.532596991Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.212736ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.53588428Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.537418435Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.533595ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.541444041Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2023-12-25T11:35:34.542400438Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=925.807µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.545475898Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-25T11:35:34.545537758Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=62.32µs grafana | logger=migrator t=2023-12-25T11:35:34.548751207Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-25T11:35:34.550191632Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.440135ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.553505111Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.554954816Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.449575ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.559021593Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2023-12-25T11:35:34.560596278Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.574125ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.563961937Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.565652491Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.680744ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.572566108Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.578327959Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.758091ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.614857918Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2023-12-25T11:35:34.616347953Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.489305ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.62017014Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-25T11:35:34.620447159Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=277.349µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.624901995Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.627250317Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=2.347692ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.631023164Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2023-12-25T11:35:34.632060421Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.037197ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.63527666Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.636284977Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.008057ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.640089354Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.640152884Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=64.17µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.643305263Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2023-12-25T11:35:34.64425552Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=950.007µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.648230667Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.649685281Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.453564ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.65311814Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.654767704Z 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.649024ms policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2023-12-25T11:35:34.658328562Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.659890327Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.561385ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.664121323Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.672300176Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=8.182293ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.675506155Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2023-12-25T11:35:34.676477252Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=994.897µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.679875381Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-25T11:35:34.680817448Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=941.957µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.684684415Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.71915632Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=34.471845ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.722529459Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2023-12-25T11:35:34.75855564Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=36.027371ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.761748539Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-25T11:35:34.762484897Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=736.098µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.769475243Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.7705551Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.096467ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2023-12-25T11:35:34.775989072Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-12-25T11:35:34.785903929Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.914297ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.789372487Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.790075165Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=702.438µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.795722057Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.797432421Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.709434ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.801159109Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2023-12-25T11:35:34.802705213Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.546904ms 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)) grafana | logger=migrator t=2023-12-25T11:35:34.805996632Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.807241338Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.248476ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.811392844Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.811462104Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=69.69µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2023-12-25T11:35:34.814777293Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-12-25T11:35:34.820722044Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.944201ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.825517758Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-25T11:35:34.833585021Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=8.077693ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.837678287Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.843909787Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.23142ms policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2023-12-25T11:35:34.849204199Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.850280326Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.074197ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.853214556Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.854408942Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.194496ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.858498498Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.864793877Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.295079ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2023-12-25T11:35:34.868235126Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.877657385Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=9.423099ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.881155393Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.882547628Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.391255ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.88811085Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.898774365Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.665275ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2023-12-25T11:35:34.927789578Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.93636894Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=8.579472ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-25T11:35:34.940130357Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.940292727Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=161.59µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.944891122Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.946043088Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.151566ms policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2023-12-25T11:35:34.949598396Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2023-12-25T11:35:34.950863512Z 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.264806ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.955129478Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.956341253Z 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.211605ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.96047992Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2023-12-25T11:35:34.960641069Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=126.879µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.963930118Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-25T11:35:34.971070545Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.139667ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.974528583Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.98134668Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.814548ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:34.985626496Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2023-12-25T11:35:34.992787643Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=7.160747ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:34.996138382Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-12-25T11:35:35.000754366Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=4.615404ms grafana | logger=migrator t=2023-12-25T11:35:35.004225655Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-25T11:35:35.011151431Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.925086ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.015213077Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.015381307Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=167.5µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.017874818Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.018768905Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=893.246µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.021943714Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2023-12-25T11:35:35.028972881Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=7.028606ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.032091491Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.03216649Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=75.039µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.036349896Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-12-25T11:35:35.043210463Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.856897ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.046590522Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-12-25T11:35:35.047740168Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.148496ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.050948707Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.059267809Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.318602ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.063164216Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-12-25T11:35:35.064049713Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=884.707µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.066871273Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-12-25T11:35:35.068311658Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.437485ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.071341178Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.078403484Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.061286ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.081800563Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.083165468Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.363935ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.088435661Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2023-12-25T11:35:35.089874276Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.437775ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.094262911Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.095130988Z level=info msg="Migration successfully executed" id="create alert_image table" duration=865.877µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.097852349Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.099294764Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.441765ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.102212744Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2023-12-25T11:35:35.102494363Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=281.479µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.105488263Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.106556389Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.067416ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.109591509Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.110697475Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.105736ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2023-12-25T11:35:35.113835665Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.114375003Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.117030824Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.117560842Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=529.388µs policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.121690698Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.122825234Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.134526ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2023-12-25T11:35:35.13015827Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.140251076Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=10.091886ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.142668148Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.143368915Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=700.237µs policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.146825334Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.14787375Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.045586ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2023-12-25T11:35:35.15089902Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.151786047Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=886.417µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.154755287Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.156987269Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.229262ms policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.162915239Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.163988986Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.073347ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2023-12-25T11:35:35.168229911Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.168256641Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=27.2µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.17165901Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.171866119Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=206.189µs policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-12-25T11:35:35.175041449Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.175541407Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=499.368µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2023-12-25T11:35:35.178033478Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.179442844Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.410166ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.183342381Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.184158518Z level=info msg="Migration successfully executed" id="create secrets table" duration=815.807µs policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2023-12-25T11:35:35.187675086Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.231227369Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=43.552003ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2023-12-25T11:35:35.271043865Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.279759235Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=8.71589ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.282663696Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.283020434Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=353.668µs policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-12-25T11:35:35.28724726Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.332103709Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=44.856819ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2023-12-25T11:35:35.335076609Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.37918037Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.103061ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.382013281Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.382761058Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=747.287µs policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.387500682Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.389180496Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.679294ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-25T11:35:35.39415261Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.394582898Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=429.548µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.397804437Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.398618895Z level=info msg="Migration successfully executed" id="create permission table" duration=813.828µs policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-12-25T11:35:35.403827487Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.405511121Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.683174ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-25T11:35:35.409597728Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.411368412Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.771174ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.414525381Z level=info msg="Executing migration" id="create role table" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-12-25T11:35:35.415411578Z level=info msg="Migration successfully executed" id="create role table" duration=885.267µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.421943096Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-25T11:35:35.431493134Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.553848ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.435150401Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.444093011Z level=info msg="Migration successfully executed" id="add column group_name" duration=8.94073ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.448170787Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.448943005Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=771.788µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.452133954Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-25T11:35:35.453225971Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.091917ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.457201027Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.458290613Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.089026ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.464380353Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.46516837Z level=info msg="Migration successfully executed" id="create team role table" duration=787.747µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.469175727Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-25T11:35:35.470266163Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.090116ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.473405432Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.474827128Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.421346ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.48015257Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.481555865Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.402315ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.485013903Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-25T11:35:35.48595959Z level=info msg="Migration successfully executed" id="create user role table" duration=945.027µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.489458768Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.490568345Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.109357ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.493680244Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.495331589Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.650875ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.504176969Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-25T11:35:35.505267735Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.090546ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.540545736Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.541856881Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.310785ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.54542661Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.547162774Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.735644ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.551556479Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-25T11:35:35.552336086Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=780.007µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.555447736Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.561826044Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=6.377038ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.568392642Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-12-25T11:35:35.569686068Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.292016ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.62832639Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-25T11:35:35.630113374Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.783654ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.633400013Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.634814728Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.415925ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.638137897Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-12-25T11:35:35.639239013Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.100706ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.644639165Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-25T11:35:35.645366353Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=725.238µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.650892364Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.652644998Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.752184ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.656148706Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-12-25T11:35:35.665547595Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.399009ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.670460698Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-12-25T11:35:35.678413891Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.951853ms grafana | logger=migrator t=2023-12-25T11:35:35.683134115Z level=info msg="Executing migration" id="permission attribute migration" 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 | grafana | logger=migrator t=2023-12-25T11:35:35.691844906Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.701711ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.695209455Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2023-12-25T11:35:35.703140428Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.930303ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.707211484Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2023-12-25T11:35:35.708035921Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=824.347µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.710936982Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.711657039Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=718.537µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.715586726Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2023-12-25T11:35:35.716762362Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.173056ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.725110754Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-12-25T11:35:35.725298203Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=187.899µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.7290408Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.72915474Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=114.79µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.732920627Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2023-12-25T11:35:35.733786055Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=863.458µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.737258363Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-12-25T11:35:35.737893581Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=638.198µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.741881997Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.742546155Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=664.248µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.745665684Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2023-12-25T11:35:35.745879014Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=213.54µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.749185113Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2023-12-25T11:35:35.749569371Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=384.678µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.754156946Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.755481891Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.324515ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.763858833Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2023-12-25T11:35:35.766297955Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.438342ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.769830713Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2023-12-25T11:35:35.777273418Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.443365ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.781673533Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.781932562Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=260.589µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.78544026Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2023-12-25T11:35:35.787283034Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.837804ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.791109721Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.792842606Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.734025ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.798633096Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2023-12-25T11:35:35.799897251Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.263935ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.802650882Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2023-12-25T11:35:35.811136883Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.485512ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.81531034Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.816503296Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.192926ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.820824031Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-12-25T11:35:35.821941537Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.118926ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.826112803Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2023-12-25T11:35:35.85676469Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.649067ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.863004869Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.863760066Z level=info msg="Migration successfully executed" id="create correlation v2" duration=754.687µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.872663856Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-12-25T11:35:35.87459191Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.924124ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.877945879Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2023-12-25T11:35:35.879863282Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.915053ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2023-12-25T11:35:35.884447576Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 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 grafana | logger=migrator t=2023-12-25T11:35:35.885624222Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.176416ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.888606913Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.888970911Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=363.888µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.892728408Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-12-25T11:35:35.893586515Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=857.817µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.899054407Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2023-12-25T11:35:35.91004309Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.988843ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.91296003Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.913576768Z level=info msg="Migration successfully executed" id="create entity_events table" duration=615.628µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.917840174Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2023-12-25T11:35:35.91884463Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.003976ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.922443198Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2023-12-25T11:35:35.922951526Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.932260525Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.933031273Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.936566431Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2023-12-25T11:35:35.937914356Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.346915ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.944015526Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2023-12-25T11:35:35.944985252Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=971.396µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.947663313Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.949112178Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.447615ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.953855412Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2023-12-25T11:35:35.955656316Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.800154ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.959804632Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2023-12-25T11:35:35.961694876Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.890473ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.964721036Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.965830992Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.107826ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.969943448Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2023-12-25T11:35:35.970759495Z level=info msg="Migration successfully executed" id="Drop public config table" duration=813.897µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.974449223Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2023-12-25T11:35:35.97549186Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.041367ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.980967771Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.982790075Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.821424ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:35.985929594Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-12-25T11:35:35.987797508Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.867024ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.990772858Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2023-12-25T11:35:35.991977184Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.202386ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:35.998377112Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.029655206Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=31.276984ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.032643296Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-12-25T11:35:36.039655172Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.010786ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.04900412Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2023-12-25T11:35:36.05757255Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.56966ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.062631803Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.062920312Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=287.859µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.06637351Z level=info msg="Executing migration" id="add share column" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2023-12-25T11:35:36.074674942Z level=info msg="Migration successfully executed" id="add share column" duration=8.300772ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.078810207Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2023-12-25T11:35:36.079225316Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=418.329µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.083305272Z level=info msg="Executing migration" id="create file table" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-12-25T11:35:36.084559638Z level=info msg="Migration successfully executed" id="create file table" duration=1.255116ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.087778807Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2023-12-25T11:35:36.089411481Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.633214ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.09260741Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.093548097Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=943.477µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.096331147Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2023-12-25T11:35:36.096965745Z level=info msg="Migration successfully executed" id="create file_meta table" duration=634.248µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.099378017Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2023-12-25T11:35:36.100406774Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.028017ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.104805199Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.104874778Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=70.319µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.11017118Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2023-12-25T11:35:36.11024031Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=70.11µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.120497085Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2023-12-25T11:35:36.121517201Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.020356ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.126747873Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.127168802Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=419.969µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.129729283Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2023-12-25T11:35:36.13052604Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=796.247µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.133397921Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.14228747Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.888819ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.1483058Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-12-25T11:35:36.148465749Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=159.699µs grafana | logger=migrator t=2023-12-25T11:35:36.15692277Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2023-12-25T11:35:36.158036916Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.112536ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.161061996Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.161869523Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=809.047µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.166299568Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2023-12-25T11:35:36.166550847Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=250.799µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.171109451Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2023-12-25T11:35:36.171612029Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=502.249µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.173837112Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.18618961Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.353418ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.191560391Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2023-12-25T11:35:36.199808463Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.247202ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.203057022Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.203806719Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=749.577µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.205881642Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2023-12-25T11:35:36.309109378Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=103.224086ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.313469104Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-12-25T11:35:36.31470509Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.233426ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.317794689Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.319059465Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.263806ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.322233664Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2023-12-25T11:35:36.357532263Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.295819ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.363248433Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.363515122Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=264.759µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.367697368Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2023-12-25T11:35:36.367942847Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=245.509µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.371767004Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.372172473Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=405.799µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.376520508Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2023-12-25T11:35:36.378165852Z level=info msg="Migration successfully executed" id="create folder table" duration=1.639414ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.38741654Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2023-12-25T11:35:36.388749916Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.333176ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.391298587Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.392636563Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.337436ms policy-db-migrator | msg grafana | logger=migrator t=2023-12-25T11:35:36.397664005Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2023-12-25T11:35:36.397689795Z level=info msg="Migration successfully executed" id="Update folder title length" duration=26.53µs policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.401272063Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2023-12-25T11:35:36.402566709Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.292886ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.405409959Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2023-12-25T11:35:36.406515365Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.105396ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.410073193Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.411308958Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.235845ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.414052179Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2023-12-25T11:35:36.414932176Z level=info msg="Migration successfully executed" id="create anon_device table" duration=879.907µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.418247285Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2023-12-25T11:35:36.41954851Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.300785ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.423154788Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.424328764Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.173086ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.429793035Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-12-25T11:35:36.430590302Z level=info msg="Migration successfully executed" id="create signing_key table" duration=798.687µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.436335923Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.438201346Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.865193ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.442076103Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2023-12-25T11:35:36.443241499Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.165376ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.446621618Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2023-12-25T11:35:36.446911697Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=290.809µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.449899636Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.458913215Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.011969ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.463901609Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2023-12-25T11:35:36.464408687Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=507.798µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.470226227Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.471439402Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.212905ms policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.474362022Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2023-12-25T11:35:36.475848958Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.486866ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.481541968Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2023-12-25T11:35:36.483218662Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.679594ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.488511434Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | grafana | logger=migrator t=2023-12-25T11:35:36.488960692Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=450.108µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-25T11:35:36.492193012Z level=info msg="migrations completed" performed=523 skipped=0 duration=4.405467634s policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=sqlstore t=2023-12-25T11:35:36.501119811Z level=info msg="Created default admin" user=admin policy-db-migrator | -------------- grafana | logger=sqlstore t=2023-12-25T11:35:36.50144707Z level=info msg="Created default organization" policy-db-migrator | grafana | logger=secrets t=2023-12-25T11:35:36.505776155Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=plugin.store t=2023-12-25T11:35:36.523034566Z level=info msg="Loading plugins..." policy-db-migrator | name version grafana | logger=local.finder t=2023-12-25T11:35:36.557503288Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | policyadmin 1200 grafana | logger=plugin.store t=2023-12-25T11:35:36.557553458Z level=info msg="Plugins loaded" count=55 duration=34.521272ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=query_data t=2023-12-25T11:35:36.560698197Z level=info msg="Query Service initialization" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=live.push_http t=2023-12-25T11:35:36.564427114Z level=info msg="Live Push Gateway initialization" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=ngalert.migration t=2023-12-25T11:35:36.602203575Z level=info msg=Starting policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=ngalert.migration orgID=1 t=2023-12-25T11:35:36.6035634Z level=info msg="Migrating alerts for organisation" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=ngalert.migration orgID=1 t=2023-12-25T11:35:36.604125548Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=ngalert.migration orgID=1 t=2023-12-25T11:35:36.604670806Z level=warn msg="No available receivers" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2023-12-25T11:35:36.608185774Z level=info msg="Completed legacy migration" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=infra.usagestats.collector t=2023-12-25T11:35:36.63847005Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=provisioning.datasources t=2023-12-25T11:35:36.640891552Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=provisioning.alerting t=2023-12-25T11:35:36.6560073Z level=info msg="starting to provision alerting" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=provisioning.alerting t=2023-12-25T11:35:36.65602925Z level=info msg="finished to provision alerting" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=grafanaStorageLogger t=2023-12-25T11:35:36.65625549Z level=info msg="Storage starting" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=ngalert.state.manager t=2023-12-25T11:35:36.656377089Z level=info msg="Warming state cache for startup" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=http.server t=2023-12-25T11:35:36.660447635Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=ngalert.multiorg.alertmanager t=2023-12-25T11:35:36.660994923Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=ngalert.state.manager t=2023-12-25T11:35:36.696747031Z level=info msg="State cache has been initialized" states=0 duration=40.368182ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=ngalert.scheduler t=2023-12-25T11:35:36.696776041Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=ticker t=2023-12-25T11:35:36.69697143Z level=info msg=starting first_tick=2023-12-25T11:35:40Z policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=grafana.update.checker t=2023-12-25T11:35:36.705129552Z level=info msg="Update check succeeded" duration=47.426027ms policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=plugins.update.checker t=2023-12-25T11:35:36.745047815Z level=info msg="Update check succeeded" duration=88.902765ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=sqlstore.transactions t=2023-12-25T11:35:36.760786081Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=sqlstore.transactions t=2023-12-25T11:35:36.850659244Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 grafana | logger=infra.usagestats t=2023-12-25T11:36:11.66758711Z level=info msg="Usage stats are ready to report" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:35 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:36 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:37 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:38 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:39 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:39 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:39 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2512231135350800u 1 2023-12-25 11:35:39 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2512231135350900u 1 2023-12-25 11:35:39 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2512231135351000u 1 2023-12-25 11:35:39 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2512231135351000u 1 2023-12-25 11:35:39 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2512231135351000u 1 2023-12-25 11:35:39 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2512231135351000u 1 2023-12-25 11:35:39 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2512231135351000u 1 2023-12-25 11:35:39 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2512231135351000u 1 2023-12-25 11:35:40 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2512231135351000u 1 2023-12-25 11:35:40 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2512231135351000u 1 2023-12-25 11:35:40 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2512231135351000u 1 2023-12-25 11:35:40 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2512231135351100u 1 2023-12-25 11:35:40 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2512231135351200u 1 2023-12-25 11:35:40 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2512231135351200u 1 2023-12-25 11:35:40 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2512231135351200u 1 2023-12-25 11:35:40 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2512231135351200u 1 2023-12-25 11:35:40 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing prometheus ... Removing mariadb ... Removing prometheus ... done Removing policy-db-migrator ... done Removing policy-api ... done Removing grafana ... 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.t2aFe9iizm ]] + rsync -av /tmp/tmp.t2aFe9iizm/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,346,943 bytes received 95 bytes 2,694,076.00 bytes/sec total size is 1,346,298 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 2100 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3822842604894575756.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4737535798312660719.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/jenkins8488819314141708344.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-P8Wt from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-P8Wt/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5148339881170837923.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config3563920614978851213tmp 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/jenkins12594713965106801105.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins1557309623426064700.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-P8Wt from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-P8Wt/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16866451408118627230.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3718362621395644291.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-P8Wt from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-P8Wt/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/jenkins28542080275840834.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-P8Wt from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-P8Wt/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/220 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-7598 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 858 27389 0 3919 30853 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:b9:fe:a6 brd ff:ff:ff:ff:ff:ff inet 10.30.106.7/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86049sec preferred_lft 86049sec inet6 fe80::f816:3eff:feb9:fea6/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:98:4d:d4:2d 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-7598) 12/25/23 _x86_64_ (8 CPU) 11:32:22 LINUX RESTART (8 CPU) 11:33:02 tps rtps wtps bread/s bwrtn/s 11:34:01 115.59 36.84 78.75 1723.64 31016.98 11:35:01 126.03 22.90 103.13 2744.08 36823.20 11:36:01 383.00 13.01 369.99 835.73 83935.54 11:37:01 19.28 0.00 19.28 0.00 24275.35 11:38:01 73.10 2.00 71.10 126.51 28701.85 Average: 143.49 14.88 128.62 1083.86 40983.80 11:33:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30063312 31665532 2875908 8.73 69336 1843296 1446240 4.26 904140 1678556 164248 11:35:01 29455428 31675148 3483792 10.58 94244 2410272 1394096 4.10 981020 2153904 352384 11:36:01 26914668 30521964 6024552 18.29 126424 3676808 4576100 13.46 2221432 3353356 660 11:37:01 26913116 30517684 6026104 18.29 126556 3677492 4608724 13.56 2226216 3349252 92 11:38:01 28068016 31612312 4871204 14.79 130232 3651284 1439152 4.23 1167312 3278708 31720 Average: 28282908 31198528 4656312 14.14 109358 3051830 2692862 7.92 1500024 2762755 109821 11:33:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 lo 1.49 1.49 0.16 0.16 0.00 0.00 0.00 0.00 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 ens3 81.04 52.14 1051.93 10.86 0.00 0.00 0.00 0.00 11:35:01 br-f5a650af23f6 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 5.40 5.40 0.50 0.50 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 127.25 84.62 2946.62 10.86 0.00 0.00 0.00 0.00 11:36:01 br-f5a650af23f6 0.80 0.90 0.10 0.34 0.00 0.00 0.00 0.00 11:36:01 lo 5.65 5.65 0.53 0.53 0.00 0.00 0.00 0.00 11:36:01 veth757045a 0.05 0.23 0.00 0.01 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:37:01 br-f5a650af23f6 2.92 3.33 5.84 2.20 0.00 0.00 0.00 0.00 11:37:01 lo 9.85 9.85 8.21 8.21 0.00 0.00 0.00 0.00 11:37:01 veth757045a 0.18 0.20 0.02 0.47 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:38:01 lo 7.77 7.77 0.68 0.68 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 812.38 540.18 11161.20 110.71 0.00 0.00 0.00 0.00 Average: lo 6.05 6.05 2.02 2.02 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 95.61 64.04 2096.68 11.68 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-7598) 12/25/23 _x86_64_ (8 CPU) 11:32:22 LINUX RESTART (8 CPU) 11:33:02 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 9.55 0.00 0.78 3.67 0.03 85.97 11:34:01 0 1.09 0.00 0.29 0.31 0.00 98.32 11:34:01 1 2.53 0.00 0.61 20.97 0.05 75.83 11:34:01 2 1.75 0.00 0.31 0.12 0.02 97.81 11:34:01 3 0.83 0.00 0.34 0.51 0.00 98.32 11:34:01 4 29.65 0.00 1.85 4.30 0.10 64.09 11:34:01 5 23.90 0.00 1.24 1.27 0.03 73.56 11:34:01 6 11.09 0.00 0.76 0.24 0.02 87.89 11:34:01 7 5.63 0.00 0.85 1.75 0.02 91.77 11:35:01 all 9.31 0.00 1.03 3.56 0.04 86.06 11:35:01 0 6.12 0.00 0.65 1.54 0.03 91.66 11:35:01 1 22.10 0.00 1.88 7.12 0.08 68.82 11:35:01 2 5.94 0.00 1.05 0.25 0.03 92.72 11:35:01 3 5.29 0.00 0.82 5.19 0.03 88.67 11:35:01 4 17.14 0.00 1.25 13.97 0.08 67.57 11:35:01 5 13.22 0.00 1.36 0.10 0.03 85.29 11:35:01 6 1.70 0.00 0.43 0.02 0.02 97.83 11:35:01 7 3.04 0.00 0.85 0.38 0.02 95.71 11:36:01 all 16.42 0.00 3.68 5.23 0.07 74.61 11:36:01 0 16.91 0.00 4.17 22.45 0.07 56.40 11:36:01 1 15.83 0.00 3.52 1.68 0.07 78.90 11:36:01 2 14.90 0.00 3.81 0.88 0.07 80.34 11:36:01 3 21.12 0.00 3.48 7.61 0.07 67.73 11:36:01 4 16.12 0.00 3.04 1.28 0.07 79.49 11:36:01 5 16.12 0.00 3.89 0.19 0.05 79.75 11:36:01 6 13.67 0.00 3.72 5.56 0.08 76.97 11:36:01 7 16.68 0.00 3.72 2.17 0.07 77.35 11:37:01 all 4.20 0.00 0.33 1.72 0.03 93.72 11:37:01 0 3.65 0.00 0.37 13.64 0.10 82.24 11:37:01 1 6.71 0.00 0.37 0.08 0.02 92.82 11:37:01 2 3.47 0.00 0.25 0.00 0.02 96.26 11:37:01 3 3.20 0.00 0.23 0.00 0.02 96.55 11:37:01 4 5.64 0.00 0.40 0.00 0.02 93.95 11:37:01 5 3.14 0.00 0.27 0.00 0.02 96.58 11:37:01 6 3.76 0.00 0.30 0.00 0.03 95.91 11:37:01 7 4.03 0.00 0.45 0.02 0.02 95.49 11:38:01 all 7.25 0.00 0.74 2.24 0.04 89.74 11:38:01 0 1.70 0.00 0.67 4.01 0.03 93.59 11:38:01 1 1.45 0.00 0.67 6.17 0.03 91.67 11:38:01 2 1.89 0.00 0.55 0.02 0.02 97.53 11:38:01 3 31.40 0.00 1.72 1.40 0.05 65.43 11:38:01 4 1.07 0.00 0.48 5.51 0.03 92.91 11:38:01 5 2.80 0.00 0.42 0.03 0.02 96.73 11:38:01 6 15.51 0.00 0.80 0.48 0.05 83.16 11:38:01 7 2.25 0.00 0.57 0.32 0.07 96.79 Average: all 9.33 0.00 1.31 3.28 0.04 86.04 Average: 0 5.89 0.00 1.23 8.39 0.05 84.44 Average: 1 9.74 0.00 1.41 7.16 0.05 81.64 Average: 2 5.57 0.00 1.19 0.25 0.03 92.96 Average: 3 12.38 0.00 1.32 2.94 0.03 83.34 Average: 4 13.85 0.00 1.40 5.00 0.06 79.69 Average: 5 11.78 0.00 1.43 0.32 0.03 86.44 Average: 6 9.13 0.00 1.20 1.25 0.04 88.37 Average: 7 6.31 0.00 1.29 0.92 0.04 91.45