Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-10029 (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-Q9ywykbLUPeA/agent.2102 SSH_AGENT_PID=2104 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_15390648714198332602.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_15390648714198332602.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/jenkins16637780002529246772.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-HoPF 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-HoPF/bin to PATH Generating Requirements File 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.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. Python 3.10.6 pip 24.0 from /tmp/venv-HoPF/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.53 botocore==1.34.53 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.1 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.9 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.9.0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins7603630602317783720.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/jenkins4257632631345723879.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.sMFDhS17CR ++ echo ROBOT_VENV=/tmp/tmp.sMFDhS17CR +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.sMFDhS17CR ++ source /tmp/tmp.sMFDhS17CR/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.sMFDhS17CR +++ 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.sMFDhS17CR/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.sMFDhS17CR) ' '!=' x ']' +++ PS1='(tmp.sMFDhS17CR) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.9.0 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.sMFDhS17CR/src/onap ++ rm -rf /tmp/tmp.sMFDhS17CR/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.9.0 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.sMFDhS17CR/bin/activate + '[' -z /tmp/tmp.sMFDhS17CR/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.sMFDhS17CR/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.sMFDhS17CR ++ 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.sMFDhS17CR/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.sMFDhS17CR) ' ++ '[' 'x(tmp.sMFDhS17CR) ' '!=' x ']' ++ PS1='(tmp.sMFDhS17CR) (tmp.sMFDhS17CR) ' ++ 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.2bs438vdE0 + cd /tmp/tmp.2bs438vdE0 + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-london-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:bc1794e85c9e00293351b967efa267ce6af1c824ac875a9d0c7ac84700a8b53e Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 11 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ 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:52 up 3 min, 0 users, load average: 2.18, 0.84, 0.32 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.5 us, 2.2 sy, 0.0 ni, 82.6 id, 3.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 74b9280b2ef4 policy-api 0.36% 945.7MiB / 31.41GiB 2.94% 1.04MB / 739kB 0B / 0B 50 7b4ab7515966 grafana 0.21% 56.93MiB / 31.41GiB 0.18% 18.3kB / 3.12kB 0B / 23.8MB 20 9184b2b252f5 mariadb 0.18% 100.3MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.7MB 27 b898fbe8e5ec prometheus 0.04% 18.54MiB / 31.41GiB 0.06% 1.52kB / 158B 131kB / 0B 13 + echo + cd /tmp/tmp.2bs438vdE0 + 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.2bs438vdE0/output.xml Log: /tmp/tmp.2bs438vdE0/log.html Report: /tmp/tmp.2bs438vdE0/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 ++ sed 's/./& /g' ++ echo hxB + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:02 up 4 min, 0 users, load average: 0.79, 0.69, 0.31 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.6 us, 1.8 sy, 0.0 ni, 85.7 id, 2.8 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 74b9280b2ef4 policy-api 0.08% 977MiB / 31.41GiB 3.04% 7.32MB / 2.87MB 0B / 0B 52 7b4ab7515966 grafana 0.05% 62.96MiB / 31.41GiB 0.20% 19.4kB / 4.34kB 0B / 23.8MB 20 9184b2b252f5 mariadb 0.01% 101MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 67.8MB 18 b898fbe8e5ec prometheus 0.00% 24.99MiB / 31.41GiB 0.08% 38.3kB / 7.09kB 131kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-03-01T11:35:23.645889133Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-03-01T11:35:23Z grafana | logger=settings t=2024-03-01T11:35:23.646135961Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-03-01T11:35:23.646143861Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-03-01T11:35:23.646147422Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-03-01T11:35:23.646150242Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-03-01T11:35:23.646153142Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-01T11:35:23.646157742Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-01T11:35:23.646160593Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-03-01T11:35:23.646163733Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-03-01T11:35:23.646166553Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-03-01T11:35:23.646169183Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-01T11:35:23.646171873Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-01T11:35:23.646174654Z level=info msg=Target target=[all] grafana | logger=settings t=2024-03-01T11:35:23.646179394Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-03-01T11:35:23.646182174Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-03-01T11:35:23.646184774Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-03-01T11:35:23.646187364Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-03-01T11:35:23.646189915Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-03-01T11:35:23.646192585Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-03-01T11:35:23.647115751Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-03-01T11:35:23.647129302Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-03-01T11:35:23.647810362Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-03-01T11:35:23.648965764Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-03-01T11:35:23.649694827Z level=info msg="Migration successfully executed" id="create migration_log table" duration=728.613µs grafana | logger=migrator t=2024-03-01T11:35:23.655321922Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-03-01T11:35:23.65583975Z level=info msg="Migration successfully executed" id="create user table" duration=517.448µs grafana | logger=migrator t=2024-03-01T11:35:23.659650044Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-03-01T11:35:23.660386917Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=736.833µs grafana | logger=migrator t=2024-03-01T11:35:23.667022465Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-03-01T11:35:23.668126084Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.103139ms grafana | logger=migrator t=2024-03-01T11:35:23.672179656Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-03-01T11:35:23.673193099Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.010604ms grafana | logger=migrator t=2024-03-01T11:35:23.67682366Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-03-01T11:35:23.677445415Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=620.935µs grafana | logger=migrator t=2024-03-01T11:35:23.683566975Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-03-01T11:35:23.687908588Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.340623ms grafana | logger=migrator t=2024-03-01T11:35:23.692171506Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-03-01T11:35:23.692857575Z level=info msg="Migration successfully executed" id="create user table v2" duration=688.67µs grafana | logger=migrator t=2024-03-01T11:35:23.696669999Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-03-01T11:35:23.697357608Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=689.939µs grafana | logger=migrator t=2024-03-01T11:35:23.700881773Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-03-01T11:35:23.701978531Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.096678ms grafana | logger=migrator t=2024-03-01T11:35:23.708427005Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-03-01T11:35:23.709014118Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=586.593µs grafana | logger=migrator t=2024-03-01T11:35:23.712816412Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-03-01T11:35:23.713577636Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=765.665µs grafana | logger=migrator t=2024-03-01T11:35:23.717676322Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-03-01T11:35:23.71876762Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.090918ms grafana | logger=migrator t=2024-03-01T11:35:23.725283139Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-03-01T11:35:23.725329172Z level=info msg="Migration successfully executed" id="Update user table charset" duration=47.083µs grafana | logger=migrator t=2024-03-01T11:35:23.72917337Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-03-01T11:35:23.730795016Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.621396ms grafana | logger=migrator t=2024-03-01T11:35:23.734112744Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-03-01T11:35:23.734325601Z level=info msg="Migration successfully executed" id="Add missing user data" duration=213.127µs grafana | logger=migrator t=2024-03-01T11:35:23.737573144Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-03-01T11:35:23.73863307Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.057026ms grafana | logger=migrator t=2024-03-01T11:35:23.744543486Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-03-01T11:35:23.745600572Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.058707ms grafana | logger=migrator t=2024-03-01T11:35:23.749870499Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-03-01T11:35:23.751577643Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.703173ms grafana | logger=migrator t=2024-03-01T11:35:23.755747192Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-03-01T11:35:23.766694651Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.962969ms grafana | logger=migrator t=2024-03-01T11:35:23.77002575Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-03-01T11:35:23.770511015Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=485.015µs grafana | logger=migrator t=2024-03-01T11:35:23.778180497Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-03-01T11:35:23.779277997Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.09763ms grafana | logger=migrator t=2024-03-01T11:35:23.782884856Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-03-01T11:35:23.784017088Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.131891ms grafana | logger=migrator t=2024-03-01T11:35:23.787464086Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-03-01T11:35:23.788198499Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=730.493µs grafana | logger=migrator t=2024-03-01T11:35:23.793877538Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-03-01T11:35:23.7948899Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.010892ms grafana | logger=migrator t=2024-03-01T11:35:23.798778541Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-03-01T11:35:23.798813444Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=35.982µs grafana | logger=migrator t=2024-03-01T11:35:23.802871005Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-03-01T11:35:23.803850345Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=979.22µs grafana | logger=migrator t=2024-03-01T11:35:23.847221118Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-03-01T11:35:23.848327068Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.105499ms grafana | logger=migrator t=2024-03-01T11:35:23.852868905Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-03-01T11:35:23.853827604Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=954.258µs grafana | logger=migrator t=2024-03-01T11:35:23.857750807Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-03-01T11:35:23.858697065Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=945.757µs grafana | logger=migrator t=2024-03-01T11:35:23.866793668Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-01T11:35:23.871672359Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.908423ms grafana | logger=migrator t=2024-03-01T11:35:23.875687928Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-03-01T11:35:23.876613644Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=926.506µs grafana | logger=migrator t=2024-03-01T11:35:23.879950345Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-03-01T11:35:23.880668357Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=717.591µs grafana | logger=migrator t=2024-03-01T11:35:23.886514657Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-03-01T11:35:23.887591505Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.075977ms grafana | logger=migrator t=2024-03-01T11:35:23.891531819Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-03-01T11:35:23.892673071Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.140391ms grafana | logger=migrator t=2024-03-01T11:35:23.896637167Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-03-01T11:35:23.897328446Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=691.17µs grafana | logger=migrator t=2024-03-01T11:35:23.903585716Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-03-01T11:35:23.904210501Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=624.635µs grafana | logger=migrator t=2024-03-01T11:35:23.907549421Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-03-01T11:35:23.908345089Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=795.158µs grafana | logger=migrator t=2024-03-01T11:35:23.911618235Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-03-01T11:35:23.912003482Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=385.077µs grafana | logger=migrator t=2024-03-01T11:35:23.915378755Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-03-01T11:35:23.915967747Z level=info msg="Migration successfully executed" id="create star table" duration=588.342µs grafana | logger=migrator t=2024-03-01T11:35:23.922337117Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-03-01T11:35:23.923461297Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.12341ms grafana | logger=migrator t=2024-03-01T11:35:23.927176204Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-03-01T11:35:23.928236261Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.062517ms grafana | logger=migrator t=2024-03-01T11:35:23.933484079Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-03-01T11:35:23.93419179Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=706.341µs grafana | logger=migrator t=2024-03-01T11:35:23.939894611Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-03-01T11:35:23.9408625Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=967.44µs grafana | logger=migrator t=2024-03-01T11:35:23.944927773Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-03-01T11:35:23.946047743Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.11948ms grafana | logger=migrator t=2024-03-01T11:35:23.950598691Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-03-01T11:35:23.951772895Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.173354ms grafana | logger=migrator t=2024-03-01T11:35:23.955742032Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-03-01T11:35:23.956572731Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=829.719µs grafana | logger=migrator t=2024-03-01T11:35:23.962469526Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-03-01T11:35:23.962585734Z level=info msg="Migration successfully executed" id="Update org table charset" duration=76.595µs grafana | logger=migrator t=2024-03-01T11:35:23.966020101Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-03-01T11:35:23.966181493Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=161.041µs grafana | logger=migrator t=2024-03-01T11:35:23.969857878Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-03-01T11:35:23.970234475Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=375.737µs grafana | logger=migrator t=2024-03-01T11:35:23.973738407Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-03-01T11:35:23.974454918Z level=info msg="Migration successfully executed" id="create dashboard table" duration=716.001µs grafana | logger=migrator t=2024-03-01T11:35:23.980002898Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-03-01T11:35:23.981301722Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.292233ms grafana | logger=migrator t=2024-03-01T11:35:23.985019189Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-03-01T11:35:23.986363587Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.343337ms grafana | logger=migrator t=2024-03-01T11:35:23.989815315Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-03-01T11:35:23.990602581Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=786.866µs grafana | logger=migrator t=2024-03-01T11:35:23.994075081Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-03-01T11:35:23.994968646Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=894.255µs grafana | logger=migrator t=2024-03-01T11:35:24.00043433Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-03-01T11:35:24.001632615Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.197666ms grafana | logger=migrator t=2024-03-01T11:35:24.005491646Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-03-01T11:35:24.012817086Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.326269ms grafana | logger=migrator t=2024-03-01T11:35:24.016094127Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-03-01T11:35:24.01682142Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=721.892µs grafana | logger=migrator t=2024-03-01T11:35:24.022803171Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-03-01T11:35:24.023592279Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=788.927µs grafana | logger=migrator t=2024-03-01T11:35:24.027353445Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-03-01T11:35:24.028721236Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.367391ms grafana | logger=migrator t=2024-03-01T11:35:24.032872551Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-03-01T11:35:24.034098542Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=1.22588ms grafana | logger=migrator t=2024-03-01T11:35:24.04047424Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-03-01T11:35:24.041785536Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.310526ms grafana | logger=migrator t=2024-03-01T11:35:24.045554714Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-03-01T11:35:24.045699985Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=144.63µs grafana | logger=migrator t=2024-03-01T11:35:24.048244382Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-03-01T11:35:24.050018362Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.77399ms grafana | logger=migrator t=2024-03-01T11:35:24.054818525Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-03-01T11:35:24.056607117Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.788162ms grafana | logger=migrator t=2024-03-01T11:35:24.060885961Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-03-01T11:35:24.063714759Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.828078ms grafana | logger=migrator t=2024-03-01T11:35:24.067772708Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-03-01T11:35:24.068786232Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.014154ms grafana | logger=migrator t=2024-03-01T11:35:24.073089148Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-03-01T11:35:24.074964446Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.874808ms grafana | logger=migrator t=2024-03-01T11:35:24.078749795Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" mariadb | 2024-03-01 11:35:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-01 11:35:24+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-03-01 11:35:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-01 11:35:24+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-03-01 11:35:25 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-01 11:35:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-01 11:35:25 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-03-01 11:35:26+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-03-01 11:35:26+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-03-01 11:35:26+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-03-01 11:35:26 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 93 ... mariadb | 2024-03-01 11:35:26 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-01 11:35:26 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-01 11:35:26 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-01 11:35:26 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-01 11:35:26 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-01 11:35:26 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-01 11:35:26 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-01 11:35:26 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-01 11:35:26 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-01 11:35:26 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-01 11:35:26 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-01 11:35:26 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-01 11:35:26 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-03-01 11:35:26 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-01 11:35:26 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-01 11:35:26 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-01 11:35:26 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-01 11:35:27 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-03-01 11:35:27+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-03-01 11:35:29+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-03-01 11:35:29+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-03-01 11:35:29+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-03-01 11:35:29+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=migrator t=2024-03-01T11:35:24.079595437Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=845.362µs grafana | logger=migrator t=2024-03-01T11:35:24.083402027Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-03-01T11:35:24.084290292Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=887.955µs grafana | logger=migrator t=2024-03-01T11:35:24.088899791Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-03-01T11:35:24.089044952Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=144.841µs grafana | logger=migrator t=2024-03-01T11:35:24.092892826Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-03-01T11:35:24.093045437Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=152.142µs grafana | logger=migrator t=2024-03-01T11:35:24.097244645Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-03-01T11:35:24.10030386Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.060625ms grafana | logger=migrator t=2024-03-01T11:35:24.106686499Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-03-01T11:35:24.108606091Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.924181ms grafana | logger=migrator t=2024-03-01T11:35:24.11239919Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-03-01T11:35:24.114292519Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.892719ms grafana | logger=migrator t=2024-03-01T11:35:24.118528151Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-03-01T11:35:24.120537128Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.011508ms grafana | logger=migrator t=2024-03-01T11:35:24.125790654Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-03-01T11:35:24.126049273Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=258.419µs grafana | logger=migrator t=2024-03-01T11:35:24.129824642Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-03-01T11:35:24.131097095Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.271714ms grafana | logger=migrator t=2024-03-01T11:35:24.135535652Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-03-01T11:35:24.136762431Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.22649ms grafana | logger=migrator t=2024-03-01T11:35:24.141663722Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-03-01T11:35:24.141736757Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=70.325µs grafana | logger=migrator t=2024-03-01T11:35:24.145511605Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-03-01T11:35:24.146538351Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.025216ms grafana | logger=migrator t=2024-03-01T11:35:24.150966766Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-03-01T11:35:24.152087209Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.119993ms grafana | logger=migrator t=2024-03-01T11:35:24.156470121Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-01T11:35:24.163326126Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.855594ms grafana | logger=migrator t=2024-03-01T11:35:24.168225295Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-03-01T11:35:24.169016214Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=790.359µs grafana | logger=migrator t=2024-03-01T11:35:24.173296168Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-03-01T11:35:24.174571953Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.275264ms grafana | logger=migrator t=2024-03-01T11:35:24.178652362Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-03-01T11:35:24.180040985Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.392293ms grafana | logger=migrator t=2024-03-01T11:35:24.185063373Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-03-01T11:35:24.185422861Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=360.928µs grafana | logger=migrator t=2024-03-01T11:35:24.18922648Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-03-01T11:35:24.189825474Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=598.504µs grafana | logger=migrator t=2024-03-01T11:35:24.193527646Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-03-01T11:35:24.196800678Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.272301ms grafana | logger=migrator t=2024-03-01T11:35:24.201627942Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-03-01T11:35:24.202492706Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=864.464µs grafana | logger=migrator t=2024-03-01T11:35:24.205955811Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-03-01T11:35:24.206326228Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=369.337µs grafana | logger=migrator t=2024-03-01T11:35:24.21124807Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-03-01T11:35:24.21180144Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=553.57µs grafana | logger=migrator t=2024-03-01T11:35:24.217324367Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-03-01T11:35:24.218205881Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=881.404µs grafana | logger=migrator t=2024-03-01T11:35:24.221648055Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-03-01T11:35:24.223850586Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.202321ms mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-03-01 11:35:30+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-03-01 11:35:30 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: Buffer pool(s) dump completed at 240301 11:35:30 mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: Shutdown completed; log sequence number 340497; transaction id 298 mariadb | 2024-03-01 11:35:30 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-03-01 11:35:30+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-03-01 11:35:30+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-03-01 11:35:30 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-01 11:35:30 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-01 11:35:30 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-01 11:35:30 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: log sequence number 340497; transaction id 299 mariadb | 2024-03-01 11:35:30 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-03-01 11:35:30 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-01 11:35:31 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-01 11:35:31 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-03-01 11:35:31 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-03-01 11:35:31 0 [Note] Server socket created on IP: '::'. mariadb | 2024-03-01 11:35:31 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-03-01 11:35:31 0 [Note] InnoDB: Buffer pool(s) load completed at 240301 11:35:31 mariadb | 2024-03-01 11:35:31 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-03-01 11:35:31 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-03-01T11:35:24.227573851Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-03-01T11:35:24.228551682Z level=info msg="Migration successfully executed" id="create data_source table" duration=977.391µs grafana | logger=migrator t=2024-03-01T11:35:24.233333484Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-03-01T11:35:24.234311636Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=972.491µs grafana | logger=migrator t=2024-03-01T11:35:24.238076953Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-03-01T11:35:24.239465135Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.383213ms grafana | logger=migrator t=2024-03-01T11:35:24.243222401Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-03-01T11:35:24.244070254Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=847.723µs grafana | logger=migrator t=2024-03-01T11:35:24.248995306Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-03-01T11:35:24.249784174Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=788.679µs grafana | logger=migrator t=2024-03-01T11:35:24.253708923Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-03-01T11:35:24.261486995Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.777603ms grafana | logger=migrator t=2024-03-01T11:35:24.267600344Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-03-01T11:35:24.269448191Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.849876ms grafana | logger=migrator t=2024-03-01T11:35:24.274441457Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-03-01T11:35:24.275327063Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=885.446µs grafana | logger=migrator t=2024-03-01T11:35:24.278738874Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-03-01T11:35:24.279570644Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=830.001µs grafana | logger=migrator t=2024-03-01T11:35:24.283234484Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-03-01T11:35:24.283756303Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=522.25µs grafana | logger=migrator t=2024-03-01T11:35:24.289169021Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-03-01T11:35:24.292798708Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.632907ms grafana | logger=migrator t=2024-03-01T11:35:24.297499404Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-03-01T11:35:24.300536107Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.040174ms grafana | logger=migrator t=2024-03-01T11:35:24.304610426Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-03-01T11:35:24.304635638Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=25.982µs grafana | logger=migrator t=2024-03-01T11:35:24.308095112Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-03-01T11:35:24.308265105Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=170.002µs grafana | logger=migrator t=2024-03-01T11:35:24.311470351Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-03-01T11:35:24.313736257Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.265606ms grafana | logger=migrator t=2024-03-01T11:35:24.318766847Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-03-01T11:35:24.318931809Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=165.242µs grafana | logger=migrator t=2024-03-01T11:35:24.322821286Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-03-01T11:35:24.323356565Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=528.368µs grafana | logger=migrator t=2024-03-01T11:35:24.328375664Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-03-01T11:35:24.332159132Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.795499ms grafana | logger=migrator t=2024-03-01T11:35:24.335475116Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-03-01T11:35:24.335638138Z level=info msg="Migration successfully executed" id="Update uid value" duration=163.172µs grafana | logger=migrator t=2024-03-01T11:35:24.338689532Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-03-01T11:35:24.339494362Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=809.63µs grafana | logger=migrator t=2024-03-01T11:35:24.344789091Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-03-01T11:35:24.345575249Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=785.838µs grafana | logger=migrator t=2024-03-01T11:35:24.349026263Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-03-01T11:35:24.350106822Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.077438ms grafana | logger=migrator t=2024-03-01T11:35:24.355425063Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-03-01T11:35:24.356671685Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.246042ms grafana | logger=migrator t=2024-03-01T11:35:24.362214013Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-03-01T11:35:24.363000401Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=785.597µs grafana | logger=migrator t=2024-03-01T11:35:24.366443004Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-03-01T11:35:24.367432527Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=987.954µs grafana | logger=migrator t=2024-03-01T11:35:24.374594303Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-03-01T11:35:24.375813823Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.21901ms grafana | logger=migrator t=2024-03-01T11:35:24.381489431Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-03-01T11:35:24.382669227Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.178806ms grafana | logger=migrator t=2024-03-01T11:35:24.386350438Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-03-01T11:35:24.387087282Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=740.385µs grafana | logger=migrator t=2024-03-01T11:35:24.390502653Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-03-01T11:35:24.401952125Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.450742ms grafana | logger=migrator t=2024-03-01T11:35:24.406836215Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-03-01T11:35:24.407306149Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=472.194µs grafana | logger=migrator t=2024-03-01T11:35:24.410645455Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-03-01T11:35:24.411442883Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=797.248µs grafana | logger=migrator t=2024-03-01T11:35:24.455740631Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-03-01T11:35:24.457155136Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.414184ms grafana | logger=migrator t=2024-03-01T11:35:24.461473013Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-03-01T11:35:24.462848684Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.375362ms grafana | logger=migrator t=2024-03-01T11:35:24.466685466Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-03-01T11:35:24.467229556Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=543.68µs grafana | logger=migrator t=2024-03-01T11:35:24.470604464Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-03-01T11:35:24.471426205Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=821.371µs grafana | logger=migrator t=2024-03-01T11:35:24.476776649Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-03-01T11:35:24.476800931Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=23.591µs grafana | logger=migrator t=2024-03-01T11:35:24.48060327Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-03-01T11:35:24.483010017Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.406287ms grafana | logger=migrator t=2024-03-01T11:35:24.486355823Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-03-01T11:35:24.489077053Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.7204ms grafana | logger=migrator t=2024-03-01T11:35:24.495576341Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-03-01T11:35:24.495781546Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=203.665µs grafana | logger=migrator t=2024-03-01T11:35:24.499857416Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-03-01T11:35:24.502256143Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.398326ms grafana | logger=migrator t=2024-03-01T11:35:24.505780442Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-03-01T11:35:24.508324609Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.544667ms grafana | logger=migrator t=2024-03-01T11:35:24.516312766Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-03-01T11:35:24.517680476Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.36273ms grafana | logger=migrator t=2024-03-01T11:35:24.521725475Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-03-01T11:35:24.522545575Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=820.03µs grafana | logger=migrator t=2024-03-01T11:35:24.528262585Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-03-01T11:35:24.529358875Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.09623ms grafana | logger=migrator t=2024-03-01T11:35:24.532974042Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-03-01T11:35:24.534160869Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.186386ms grafana | logger=migrator t=2024-03-01T11:35:24.537599291Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-03-01T11:35:24.538343117Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=746.346µs grafana | logger=migrator t=2024-03-01T11:35:24.545168278Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-03-01T11:35:24.546404599Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.235881ms grafana | logger=migrator t=2024-03-01T11:35:24.550029086Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-03-01T11:35:24.550123783Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=96.227µs grafana | logger=migrator t=2024-03-01T11:35:24.554458341Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-03-01T11:35:24.554483693Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=26.032µs grafana | logger=migrator t=2024-03-01T11:35:24.557916476Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-03-01T11:35:24.560578091Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.663865ms grafana | logger=migrator t=2024-03-01T11:35:24.567263753Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-03-01T11:35:24.569839473Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.57523ms grafana | logger=migrator t=2024-03-01T11:35:24.573492541Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-03-01T11:35:24.573585638Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=93.957µs grafana | logger=migrator t=2024-03-01T11:35:24.576573658Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-03-01T11:35:24.577601294Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.027186ms prometheus | ts=2024-03-01T11:35:22.580Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-03-01T11:35:22.580Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.1, branch=HEAD, revision=8c9b0285360a0b6288d76214a75ce3025bce4050)" prometheus | ts=2024-03-01T11:35:22.580Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@6213bb3ee580, date=20240226-11:36:26, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-03-01T11:35:22.580Z caller=main.go:614 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-03-01T11:35:22.580Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-03-01T11:35:22.580Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-03-01T11:35:22.583Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-03-01T11:35:22.584Z caller=main.go:1118 level=info msg="Starting TSDB ..." prometheus | ts=2024-03-01T11:35:22.588Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-03-01T11:35:22.588Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-03-01T11:35:22.591Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-03-01T11:35:22.591Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=4.25µs prometheus | ts=2024-03-01T11:35:22.591Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-03-01T11:35:22.591Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-03-01T11:35:22.591Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=29.771µs wal_replay_duration=359.066µs wbl_replay_duration=170ns total_replay_duration=420.098µs prometheus | ts=2024-03-01T11:35:22.594Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-03-01T11:35:22.594Z caller=main.go:1142 level=info msg="TSDB started" prometheus | ts=2024-03-01T11:35:22.594Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-03-01T11:35:22.595Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.37841ms db_storage=1.72µs remote_storage=2.35µs web_handler=560ns query_engine=1.5µs scrape=319.184µs scrape_sd=159.527µs notify=53.692µs notify_sd=13.47µs rules=2.26µs tracing=7.801µs prometheus | ts=2024-03-01T11:35:22.595Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-03-01T11:35:22.595Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-03-01T11:35:24.583436993Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-03-01T11:35:24.584254343Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=816.06µs grafana | logger=migrator t=2024-03-01T11:35:24.587782232Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-03-01T11:35:24.587808664Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=29.582µs grafana | logger=migrator t=2024-03-01T11:35:24.591648677Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-03-01T11:35:24.592726286Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.077079ms grafana | logger=migrator t=2024-03-01T11:35:24.596511024Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-03-01T11:35:24.597749096Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.234171ms grafana | logger=migrator t=2024-03-01T11:35:24.603748767Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-03-01T11:35:24.60651751Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.768473ms grafana | logger=migrator t=2024-03-01T11:35:24.609932271Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-03-01T11:35:24.609956303Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.822µs grafana | logger=migrator t=2024-03-01T11:35:24.614228848Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-03-01T11:35:24.61494723Z level=info msg="Migration successfully executed" id="create session table" duration=718.232µs grafana | logger=migrator t=2024-03-01T11:35:24.621156477Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-03-01T11:35:24.621412986Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=256.308µs grafana | logger=migrator t=2024-03-01T11:35:24.625182503Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-03-01T11:35:24.625261179Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=78.836µs grafana | logger=migrator t=2024-03-01T11:35:24.629228081Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-03-01T11:35:24.630551067Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.322487ms grafana | logger=migrator t=2024-03-01T11:35:24.636352195Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-03-01T11:35:24.636994792Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=642.267µs grafana | logger=migrator t=2024-03-01T11:35:24.641098163Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-03-01T11:35:24.641132546Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=35.393µs grafana | logger=migrator t=2024-03-01T11:35:24.645007711Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-03-01T11:35:24.645040484Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=33.973µs grafana | logger=migrator t=2024-03-01T11:35:24.649458928Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-03-01T11:35:24.656115098Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=6.696583ms grafana | logger=migrator t=2024-03-01T11:35:24.663909351Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-03-01T11:35:24.665995204Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.085343ms grafana | logger=migrator t=2024-03-01T11:35:24.669517533Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-03-01T11:35:24.669646533Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=129.73µs grafana | logger=migrator t=2024-03-01T11:35:24.672427577Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-03-01T11:35:24.672553106Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=126.209µs grafana | logger=migrator t=2024-03-01T11:35:24.676024563Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-03-01T11:35:24.677100471Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.075649ms grafana | logger=migrator t=2024-03-01T11:35:24.683830196Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-03-01T11:35:24.683930804Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=102.108µs grafana | logger=migrator t=2024-03-01T11:35:24.68836402Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-03-01T11:35:24.694810363Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=6.454464ms grafana | logger=migrator t=2024-03-01T11:35:24.699001492Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-03-01T11:35:24.699165414Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=164.402µs grafana | logger=migrator t=2024-03-01T11:35:24.70386734Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-03-01T11:35:24.706896443Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.029203ms policy-api | Waiting for mariadb port 3306... grafana | logger=migrator t=2024-03-01T11:35:24.710485137Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open grafana | logger=migrator t=2024-03-01T11:35:24.71352795Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.042403ms policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | Waiting for policy-db-migrator port 6824... grafana | logger=migrator t=2024-03-01T11:35:24.724090887Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | policy-db-migrator (172.17.0.5:6824) open grafana | logger=migrator t=2024-03-01T11:35:24.724176214Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=85.797µs policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml grafana | logger=migrator t=2024-03-01T11:35:24.732609064Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | grafana | logger=migrator t=2024-03-01T11:35:24.734223742Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.617599ms policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | . ____ _ __ _ _ grafana | logger=migrator t=2024-03-01T11:35:24.739416504Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ grafana | logger=migrator t=2024-03-01T11:35:24.74070679Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.290355ms policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ grafana | logger=migrator t=2024-03-01T11:35:24.745642493Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | 314 blocks policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-db-migrator | Preparing upgrade release version: 0800 grafana | logger=migrator t=2024-03-01T11:35:24.746541579Z level=info msg="Migration successfully executed" id="create alert table v1" duration=898.735µs policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-db-migrator | Preparing upgrade release version: 0900 grafana | logger=migrator t=2024-03-01T11:35:24.749856872Z level=info msg="Executing migration" id="add index alert org_id & id " policy-api | =========|_|==============|___/=/_/_/_/ policy-db-migrator | Preparing upgrade release version: 1000 grafana | logger=migrator t=2024-03-01T11:35:24.751386335Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.524983ms policy-api | :: Spring Boot :: (v2.7.8) policy-db-migrator | Preparing upgrade release version: 1100 grafana | logger=migrator t=2024-03-01T11:35:24.760120797Z level=info msg="Executing migration" id="add index alert state" policy-api | policy-db-migrator | Preparing upgrade release version: 1200 grafana | logger=migrator t=2024-03-01T11:35:24.762047768Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.926611ms policy-api | [2024-03-01T11:35:38.965+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-db-migrator | Done grafana | logger=migrator t=2024-03-01T11:35:24.766597333Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-api | [2024-03-01T11:35:38.968+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-db-migrator | name version grafana | logger=migrator t=2024-03-01T11:35:24.76817764Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.580567ms policy-api | [2024-03-01T11:35:40.274+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-db-migrator | policyadmin 0 grafana | logger=migrator t=2024-03-01T11:35:24.771896933Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-api | [2024-03-01T11:35:40.364+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces. policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 grafana | logger=migrator t=2024-03-01T11:35:24.772627227Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=730.244µs policy-api | [2024-03-01T11:35:41.385+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-db-migrator | upgrade: 0 -> 1200 grafana | logger=migrator t=2024-03-01T11:35:24.778471477Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-api | [2024-03-01T11:35:41.396+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.780166602Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.694765ms policy-api | [2024-03-01T11:35:41.396+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql grafana | logger=migrator t=2024-03-01T11:35:24.784790342Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-api | [2024-03-01T11:35:41.397+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.786529379Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.744678ms policy-api | [2024-03-01T11:35:41.480+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-03-01T11:35:24.790504342Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-api | [2024-03-01T11:35:41.480+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2454 ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.805469052Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.96391ms policy-api | [2024-03-01T11:35:41.988+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.810711048Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-api | [2024-03-01T11:35:42.059+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.811272639Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=561.741µs policy-api | [2024-03-01T11:35:42.281+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-01T11:35:24.817585313Z 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-api | [2024-03-01T11:35:42.409+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.819037521Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.450267ms policy-api | [2024-03-01T11:35:42.516+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) grafana | logger=migrator t=2024-03-01T11:35:24.822390147Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-api | [2024-03-01T11:35:42.543+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.822676878Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=281.71µs policy-api | [2024-03-01T11:35:43.985+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.829596127Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-api | [2024-03-01T11:35:43.998+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.830354403Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=762.656µs policy-api | [2024-03-01T11:35:45.238+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql grafana | logger=migrator t=2024-03-01T11:35:24.836418809Z level=info msg="Executing migration" id="create alert_notification table v1" policy-api | [2024-03-01T11:35:46.098+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.837166593Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=747.395µs policy-api | [2024-03-01T11:35:47.280+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@5fc4af25, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@66abb7d4, org.springframework.security.web.context.SecurityContextPersistenceFilter@190a5f74, org.springframework.security.web.header.HeaderWriterFilter@9af2a00, org.springframework.security.web.authentication.logout.LogoutFilter@65c2610f, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@7bec83d5, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@b09df69, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@623dac3, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@494f74cd, org.springframework.security.web.session.SessionManagementFilter@37dcda42, org.springframework.security.web.access.ExceptionTranslationFilter@395065af, org.springframework.security.web.access.intercept.AuthorizationFilter@416dd4d8] policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) grafana | logger=migrator t=2024-03-01T11:35:24.841619631Z level=info msg="Executing migration" id="Add column is_default" policy-api | [2024-03-01T11:35:47.461+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-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.845172612Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.554561ms policy-api | [2024-03-01T11:35:51.029+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.849696235Z level=info msg="Executing migration" id="Add column frequency" policy-api | [2024-03-01T11:35:51.062+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.853322642Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.625977ms policy-api | [2024-03-01T11:35:51.089+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2024-03-01T11:35:24.862326744Z level=info msg="Executing migration" id="Add column send_reminder" policy-api | [2024-03-01T11:35:51.106+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.968 seconds (JVM running for 13.57) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.864896633Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=2.569989ms policy-api | [2024-03-01T11:35:54.991+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-03-01T11:35:24.868428682Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-api | [2024-03-01T11:35:54.992+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.872820216Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=4.390584ms policy-api | [2024-03-01T11:35:54.993+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.876428251Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-api | [2024-03-01T11:35:57.412+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.877274754Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=846.203µs policy-api | [] policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2024-03-01T11:35:24.881829258Z level=info msg="Executing migration" id="Update alert table charset" policy-api | [2024-03-01T11:35:57.524+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.88185503Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=32.982µs policy-api | [2024-03-01T11:35:57.819+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) grafana | logger=migrator t=2024-03-01T11:35:24.885557002Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-api | [2024-03-01T11:35:58.894+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.885578795Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=21.962µs policy-api | [2024-03-01T11:36:00.761+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.88824256Z level=info msg="Executing migration" id="create notification_journal table v1" policy-api | [2024-03-01T11:36:01.136+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.888900959Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=655.939µs policy-api | [2024-03-01T11:36:01.359+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-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2024-03-01T11:35:24.893719762Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-api | [2024-03-01T11:36:01.588+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.895543147Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.822275ms policy-api | [2024-03-01T11:36:01.793+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-03-01T11:35:24.899338496Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-api | [2024-03-01T11:36:02.016+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.900414785Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.07549ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.904259258Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.904751834Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=492.306µs policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2024-03-01T11:35:24.91000328Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.91134986Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.34838ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:24.916545022Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.920352982Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.805809ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.923696657Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.927428002Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.731014ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-03-01T11:35:24.931490921Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.931638422Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=147.431µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.934628742Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.935256708Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=630.286µs policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-03-01T11:35:24.940695348Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.941531309Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=835.762µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:24.948443018Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.954772853Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.335316ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.960623633Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.960692088Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=68.575µs policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-03-01T11:35:24.965277986Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.966865633Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.586857ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:24.971364763Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.972866084Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.501531ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.978609896Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.978698993Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=89.677µs policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-03-01T11:35:24.983101986Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.983900426Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=797.83µ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=2024-03-01T11:35:24.98736642Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.988250615Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=883.625µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.993691875Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:24.994506225Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=807.629µs policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-03-01T11:35:24.998559094Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:24.999388554Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=822.511µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.003163672Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.004145484Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=981.323µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.00981029Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.011236241Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.424831ms policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-03-01T11:35:25.015086798Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.015130871Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=45.353µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.019675726Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.026336284Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.659577ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.052707453Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.053548792Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=839.36µs policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-03-01T11:35:25.058928608Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.062730011Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.801413ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.069336824Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.070577983Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.24491ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.075945807Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.076893976Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=944.238µs policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-03-01T11:35:25.081077065Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.08239908Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.321835ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.090127374Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.109978326Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=19.848431ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.117135928Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.117597341Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=461.413µs policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-03-01T11:35:25.122814395Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.124321343Z 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.506078ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.131113099Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.132025544Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=912.455µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.13727045Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-03-01T11:35:25.13808754Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=809.639µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.142253918Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.142444761Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=193.924µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.149282242Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.155743014Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.460183ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.163037937Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-03-01T11:35:25.167433251Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.395014ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.176078331Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.177715248Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.635277ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.185772126Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.187441765Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.672969ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.193711904Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-03-01T11:35:25.193950832Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=238.858µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.197693369Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-03-01T11:35:25.204523578Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.828689ms grafana | logger=migrator t=2024-03-01T11:35:25.210571092Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.211441754Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=870.402µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.217471996Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.217745666Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=275.03µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.225134955Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-03-01T11:35:25.225782092Z level=info msg="Migration successfully executed" id="Move region to single row" duration=646.326µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.230162256Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.231432846Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.26418ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.237058109Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.238314169Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.25821ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.244828636Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-01T11:35:25.246208895Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.379638ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.254350728Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.255241802Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=890.583µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.261650331Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.262910301Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.25948ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.268373963Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-03-01T11:35:25.26972947Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.355288ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.275176271Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.275272497Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=97.107µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.281344182Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.282536917Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.192665ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.289672679Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-03-01T11:35:25.290410962Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=738.082µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.298382333Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.299795123Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.41238ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.305837807Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.30728462Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.446573ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.31244496Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-01T11:35:25.312655675Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=204.715µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.318724Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.319273219Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=549.199µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.324429248Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-01T11:35:25.324537706Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=106.378µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.33073997Z level=info msg="Executing migration" id="create team table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.331790446Z level=info msg="Migration successfully executed" id="create team table" duration=1.049886ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.337333663Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.338845611Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.511178ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.343985769Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-03-01T11:35:25.344845101Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=858.982µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.350019121Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.354568268Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.555147ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.362063475Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.362928847Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=871.663µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.367416618Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-03-01T11:35:25.369050305Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.633548ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.375767436Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.377613528Z level=info msg="Migration successfully executed" id="create team member table" duration=1.846052ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.382451885Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.38336409Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=911.345µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.389313096Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-03-01T11:35:25.39033558Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.022014ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.397493603Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.39954297Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=2.040467ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.403218513Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.408844096Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.626213ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.413413803Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-03-01T11:35:25.418707643Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.29342ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.426392124Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.431633208Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.227234ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.439734319Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.440701529Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=966.83µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.445004156Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-03-01T11:35:25.44657955Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.659179ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.453638425Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.454637707Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=998.732µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.459753783Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.462124043Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=2.37835ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.468873147Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-03-01T11:35:25.469884389Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.012373ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.476902572Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-03-01T11:35:25.477756703Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=853.741µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.483778654Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.485197856Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.418962ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.48972057Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-03-01T11:35:25.490594142Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=874.292µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.49390805Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.494394975Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=483.535µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.501274587Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.501607501Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=332.704µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.507004508Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-03-01T11:35:25.508114238Z level=info msg="Migration successfully executed" id="create tag table" duration=1.10865ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.516559333Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-01T11:35:25.517966173Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.40626ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.525068802Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.52574213Z level=info msg="Migration successfully executed" id="create login attempt table" duration=667.658µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.530162247Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.531666395Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.503347ms grafana | logger=migrator t=2024-03-01T11:35:25.535205108Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-03-01T11:35:25.536752359Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.555822ms grafana | logger=migrator t=2024-03-01T11:35:25.542947433Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-01T11:35:25.566232591Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=23.283167ms grafana | logger=migrator t=2024-03-01T11:35:25.569521227Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-03-01T11:35:25.570100868Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=579.731µs grafana | logger=migrator t=2024-03-01T11:35:25.572370211Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-03-01T11:35:25.573066301Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=696.01µs grafana | logger=migrator t=2024-03-01T11:35:25.578572095Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-03-01T11:35:25.579114654Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=548.639µs grafana | logger=migrator t=2024-03-01T11:35:25.582320703Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-03-01T11:35:25.583327006Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.020324ms grafana | logger=migrator t=2024-03-01T11:35:25.587824908Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-03-01T11:35:25.588596013Z level=info msg="Migration successfully executed" id="create user auth table" duration=770.765µs grafana | logger=migrator t=2024-03-01T11:35:25.594930707Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-03-01T11:35:25.596702044Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.770876ms grafana | logger=migrator t=2024-03-01T11:35:25.608573675Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-03-01T11:35:25.608828853Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=255.738µs grafana | logger=migrator t=2024-03-01T11:35:25.614432134Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-03-01T11:35:25.622596169Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.163355ms grafana | logger=migrator t=2024-03-01T11:35:25.669327916Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-03-01T11:35:25.677350791Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=8.018965ms grafana | logger=migrator t=2024-03-01T11:35:25.682231731Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-03-01T11:35:25.689506872Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=7.26722ms grafana | logger=migrator t=2024-03-01T11:35:25.695086082Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-03-01T11:35:25.701830565Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.744084ms grafana | logger=migrator t=2024-03-01T11:35:25.708286208Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-03-01T11:35:25.709400238Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.113191ms grafana | logger=migrator t=2024-03-01T11:35:25.714775172Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-03-01T11:35:25.721790585Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.014603ms grafana | logger=migrator t=2024-03-01T11:35:25.730074469Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-03-01T11:35:25.731543833Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.472535ms grafana | logger=migrator t=2024-03-01T11:35:25.740622605Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-03-01T11:35:25.742143463Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.521129ms grafana | logger=migrator t=2024-03-01T11:35:25.747631666Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-03-01T11:35:25.748883256Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.25373ms grafana | logger=migrator t=2024-03-01T11:35:25.7545146Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-03-01T11:35:25.7554976Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=982.87µs grafana | logger=migrator t=2024-03-01T11:35:25.762015356Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-03-01T11:35:25.76359032Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.574453ms grafana | logger=migrator t=2024-03-01T11:35:25.76917181Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-03-01T11:35:25.771148942Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.975332ms grafana | logger=migrator t=2024-03-01T11:35:25.782138349Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-03-01T11:35:25.786260274Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=4.122275ms grafana | logger=migrator t=2024-03-01T11:35:25.791167505Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-03-01T11:35:25.792297016Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.129401ms grafana | logger=migrator t=2024-03-01T11:35:25.796423572Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-03-01T11:35:25.797813371Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.392599ms grafana | logger=migrator t=2024-03-01T11:35:25.806556237Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-03-01T11:35:25.807673498Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.118141ms grafana | logger=migrator t=2024-03-01T11:35:25.814024933Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-03-01T11:35:25.81538257Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.357526ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.821147332Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.822211939Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.052496ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.827179625Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-03-01T11:35:25.827266722Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=87.457µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.831626123Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-01T11:35:25.831730391Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=104.138µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.83813146Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.839480086Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.348626ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.847091472Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-03-01T11:35:25.84916705Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=2.079498ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.855089835Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-03-01T11:35:25.856080276Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=989.93µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.861426329Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.861528196Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=102.198µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.865287015Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-03-01T11:35:25.867112136Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.830732ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.874535998Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-03-01T11:35:25.875590393Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.054025ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.892282329Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.893735093Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.452403ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.902459628Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-03-01T11:35:25.90402552Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.565863ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.917693059Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-01T11:35:25.926131964Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.439695ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.929671927Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.930601695Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=925.047µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.937734925Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-03-01T11:35:25.937823731Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=91.036µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.943086929Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-03-01T11:35:25.944526941Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.439583ms grafana | logger=migrator t=2024-03-01T11:35:25.950405783Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version 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=2024-03-01T11:35:25.95133705Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=930.807µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.959923825Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.961959151Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=2.028666ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.967234849Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-03-01T11:35:25.967298033Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=64.034µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.972180862Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-03-01T11:35:25.974001753Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.818691ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.980204597Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.98148467Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.279562ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:25.988278526Z 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 | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-03-01T11:35:25.989771103Z 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.482826ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:25.995819546Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-01T11:35:25.996773174Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=954.888µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.00340031Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.010881307Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.481447ms policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-03-01T11:35:26.017153035Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.01803182Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=877.795µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-03-01T11:35:26.024312369Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.025219315Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=906.096µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.030533843Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.068477326Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=37.944013ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-03-01T11:35:26.073850709Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.109756381Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.899762ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-03-01T11:35:26.117982653Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.11889605Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=908.138µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.12615331Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.127746817Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.594887ms policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-03-01T11:35:26.133655078Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.140205356Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.550748ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-03-01T11:35:26.145378015Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.150872946Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.494612ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.155773804Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.157640901Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.873037ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-03-01T11:35:26.165600782Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.16680299Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.201448ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-01T11:35:26.173678572Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.175274229Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.594847ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.216510423Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.218289802Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.777859ms policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-03-01T11:35:26.224262208Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.224367066Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=111.098µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-01T11:35:26.22893263Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.240126008Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=11.194838ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.246850439Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.251082259Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.231119ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-03-01T11:35:26.256005019Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.261948793Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.943435ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-03-01T11:35:26.268774971Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.270339876Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.565375ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.275897862Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.278356692Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=2.451749ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-03-01T11:35:26.284438986Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.291985888Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.547982ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-03-01T11:35:26.29928052Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.30516473Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.88733ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.310155035Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.311286197Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.130852ms policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-03-01T11:35:26.317702847Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.329136982Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=11.432066ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-01T11:35:26.334832078Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.341688569Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.854721ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.348472675Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.348525239Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=52.284µs policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.35387745Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-03-01T11:35:26.355603666Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.726725ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.360408087Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.361469844Z 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.061187ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.369609219Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-03-01T11:35:26.370792566Z 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.183487ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.379953415Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-03-01T11:35:26.380238326Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=269.67µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.385616939Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.39248128Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.85788ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.398678304Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-03-01T11:35:26.407827372Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=9.145788ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.417429503Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-01T11:35:26.427213319Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=9.788416ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.432740372Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.437192507Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=4.451545ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.443581965Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-03-01T11:35:26.449694981Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.112376ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.45747433Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-03-01T11:35:26.457540985Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=66.585µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.462908667Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.463617449Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=708.701µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.469202097Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-03-01T11:35:26.478269889Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.074193ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.481635715Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-01T11:35:26.481697489Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=62.464µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.489272893Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.498332895Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.064463ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.503568617Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-03-01T11:35:26.505182786Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.613049ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.509513632Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-03-01T11:35:26.516289017Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.775255ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-01T11:35:26.520349704Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.521154182Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=803.999µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.525069879Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.526113525Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.043596ms policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-01T11:35:26.531424353Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.540773816Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.350373ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-03-01T11:35:26.544191926Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.544776639Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=583.893µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.547922329Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.548721447Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=798.238µs policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-01T11:35:26.556363755Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.557793039Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.428434ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-01T11:35:26.562643324Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.564565945Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.91285ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.571289476Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.571472639Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=172.983µs policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-01T11:35:26.579810308Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.581528514Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.718226ms policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-01T11:35:26.58558055Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-03-01T11:35:26.587431435Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.850775ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.592512037Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.593065177Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.599770997Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-01T11:35:26.600703465Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=932.709µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.604646553Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-03-01T11:35:26.606489248Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.841935ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.610269674Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.619367819Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.099094ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.625031312Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-01T11:35:26.62607962Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.047787ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.629954372Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-03-01T11:35:26.631195134Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.243941ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.634995741Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.635909097Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=877.424µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.642066457Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-01T11:35:26.64346878Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.401053ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.647490233Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-03-01T11:35:26.649388342Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.898409ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.653204711Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.653310599Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=112.168µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.659048619Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-01T11:35:26.659217731Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=169.642µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.662579177Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-03-01T11:35:26.663241965Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=662.908µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.66701271Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.668438355Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.431845ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.672462868Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-01T11:35:26.673362615Z level=info msg="Migration successfully executed" id="create secrets table" duration=899.326µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.679801925Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-03-01T11:35:26.732865892Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=53.034105ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.745851441Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.76020152Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=14.358689ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.772371559Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-01T11:35:26.772903257Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=537.559µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.819157748Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-03-01T11:35:26.880116211Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=60.950353ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.884148496Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.929477958Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.328652ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.935088358Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-01T11:35:26.936117103Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.027925ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.941253039Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-03-01T11:35:26.943051Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.796772ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.947845441Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.948258401Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=413.04µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.957524238Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-03-01T11:35:26.958561543Z level=info msg="Migration successfully executed" id="create permission table" duration=1.033435ms policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-03-01T11:35:26.965152845Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.966743491Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.589766ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.973632175Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:26.974708243Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.075598ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-01T11:35:26.982443009Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.983323143Z level=info msg="Migration successfully executed" id="create role table" duration=879.604µs policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-03-01T11:35:26.988741169Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:26.998954545Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.214427ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.004565524Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.011756917Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.191123ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-01T11:35:27.016949328Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.017650269Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=698.541µs policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-01T11:35:27.020926653Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.022080666Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.152012ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.025708755Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.027364084Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.665439ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-01T11:35:27.034005148Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.034743422Z level=info msg="Migration successfully executed" id="create team role table" duration=737.884µs policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-01T11:35:27.038470068Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.039715967Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.243978ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.044078049Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.045836605Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.757956ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-01T11:35:27.051347879Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.052351021Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.002952ms policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-01T11:35:27.055956128Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.056906957Z level=info msg="Migration successfully executed" id="create user role table" duration=949.309µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.060740641Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.062290981Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.54734ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-01T11:35:27.067802565Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.068830379Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.032654ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-01T11:35:27.072988386Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.07457755Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.588344ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.080175621Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.081348634Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.172213ms policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-01T11:35:27.087086525Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.088748824Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.660159ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-01T11:35:27.092740949Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.09373222Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=990.231µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.098179508Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.1092552Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=11.075492ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-01T11:35:27.114361606Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.115091407Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=729.092µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-01T11:35:27.118429727Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.119471081Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.036004ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.122882045Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.124636491Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.754525ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-01T11:35:27.130137854Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.131930832Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.793038ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-01T11:35:27.135784568Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.137038097Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.255809ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.141324484Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.142344207Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.021083ms policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-01T11:35:27.147449422Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.160379906Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=12.928154ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.163812473Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.169342918Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.530235ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.1727287Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-01T11:35:27.180430131Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.701151ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.186603853Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-01T11:35:27.198812005Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=12.204253ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.202682373Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.203478359Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=795.826µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.206759924Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-01T11:35:27.20741273Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=652.596µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.213173292Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-01T11:35:27.21480762Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.633717ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.218627362Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.218686687Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=59.995µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.222093951Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-01T11:35:27.222148995Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=37.613µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.225694708Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-03-01T11:35:27.229262723Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=3.559724ms grafana | logger=migrator t=2024-03-01T11:35:27.233841081Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-01T11:35:27.236162187Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=2.331717ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.24096197Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.241418872Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=456.692µs policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-03-01T11:35:27.244902962Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.245186322Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=283.55µs policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-03-01T11:35:27.24921074Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.249680143Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=469.793µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.253645017Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.25480733Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.163283ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-01T11:35:27.259705311Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.261389191Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.683151ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-01T11:35:27.266040343Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.273886535Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.845922ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.277701927Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.277766242Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=64.775µs policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-01T11:35:27.282102792Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.283014887Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=907.385µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-01T11:35:27.287619917Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.289091232Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.469335ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.296661944Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.298675528Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=2.017025ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-03-01T11:35:27.30276523Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.311041622Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.276362ms policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-03-01T11:35:27.317151359Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.318181123Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.029005ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.322105113Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.32373642Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.630887ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-01T11:35:27.330283138Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.369435378Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=39.14503ms policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-03-01T11:35:27.374095542Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.374798882Z level=info msg="Migration successfully executed" id="create correlation v2" duration=703.65µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.378098138Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.37951857Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.419552ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.387644751Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.389848078Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.207167ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.427384563Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-03-01T11:35:27.430107228Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=2.725935ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.437905076Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-03-01T11:35:27.438149363Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=244.927µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.442093425Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.442982518Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=886.264µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.446894869Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-01T11:35:27.457480676Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.587418ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.462533396Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-03-01T11:35:27.463326554Z level=info msg="Migration successfully executed" id="create entity_events table" duration=790.458µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.467106774Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.468128887Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.017982ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.472525282Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-01T11:35:27.473235012Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.478218989Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-03-01T11:35:27.478908308Z 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 | JOIN pdpstatistics b grafana | logger=migrator t=2024-03-01T11:35:27.483923127Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-03-01T11:35:27.484719303Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=795.997µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-03-01T11:35:27.488749842Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.490037004Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.281411ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.495773084Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.497513889Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.739954ms policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-01T11:35:27.501398456Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.502518747Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.119301ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-03-01T11:35:27.506514572Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.508558819Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=2.046446ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.514102435Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.515920545Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.820639ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-03-01T11:35:27.520504763Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.521888222Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.381949ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-03-01T11:35:27.52759127Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.528610243Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.019653ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.533197751Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.535054693Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.854432ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-03-01T11:35:27.539417166Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.540579158Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.161552ms policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-03-01T11:35:27.545881808Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.546944583Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.062015ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.550982953Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.58477532Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.792066ms policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-03-01T11:35:27.588889153Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.59624655Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.354186ms policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-03-01T11:35:27.601082006Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.6095214Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.438423ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.613788684Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.613962967Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=173.862µs policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-03-01T11:35:27.61748989Z level=info msg="Executing migration" id="add share column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.624803522Z level=info msg="Migration successfully executed" id="add share column" duration=7.311103ms policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-03-01T11:35:27.630165936Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.630381221Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=214.155µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.634438602Z level=info msg="Executing migration" id="create file table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.635289342Z level=info msg="Migration successfully executed" id="create file table" duration=846.11µs policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-01T11:35:27.639075703Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.640203844Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.126751ms policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-03-01T11:35:27.645078523Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.646122857Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.043244ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.650053588Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.65077801Z level=info msg="Migration successfully executed" id="create file_meta table" duration=723.572µs policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-01T11:35:27.655262081Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.65650862Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.24748ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-03-01T11:35:27.664142006Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.664219501Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=77.736µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.668566522Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.668634887Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=66.295µs policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-03-01T11:35:27.672861599Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.673495655Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=633.376µs policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-03-01T11:35:27.677498161Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.677694275Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=195.744µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.682806741Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.683603517Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=796.256µs policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-01T11:35:27.687205526Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.695735446Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.53013ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-03-01T11:35:27.699500485Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.699660466Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=160.161µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.70377739Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.70488616Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.10788ms policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-03-01T11:35:27.70977126Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.71019138Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=420.78µs policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-03-01T11:35:27.713860742Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.714054985Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=192.204µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.718157939Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.718611932Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=452.752µs policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-03-01T11:35:27.722265063Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.730720967Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.454814ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-03-01T11:35:27.735588836Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.744094504Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.503448ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.748222909Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.749290246Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.066817ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-03-01T11:35:27.753700671Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.85897087Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=105.26868ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.864372857Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-03-01T11:35:27.865189005Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=816.918µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.869168679Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-03-01T11:35:27.870941796Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.772297ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.875231283Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.909266807Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=34.036144ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.915358453Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-03-01T11:35:27.915505553Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=147.97µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.919632529Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.920000525Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=367.726µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.925710813Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.926028526Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=317.163µs policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-01T11:35:27.930154861Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.931515219Z level=info msg="Migration successfully executed" id="create folder table" duration=1.359767ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.935715108Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.937511457Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.792539ms policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-03-01T11:35:27.942776544Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.944499657Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.723012ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-01T11:35:27.9481722Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.948197702Z level=info msg="Migration successfully executed" id="Update folder title length" duration=25.512µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.951794459Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.952917399Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.12067ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-01T11:35:27.956601833Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.957625636Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.023042ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.962685608Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.964493547Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.80623ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-03-01T11:35:27.968818206Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.969496634Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=677.648µs policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-03-01T11:35:27.973233632Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.973505292Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=271.61µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.978119091Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:27.97893704Z level=info msg="Migration successfully executed" id="create anon_device table" duration=818.399µs policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-03-01T11:35:27.984164684Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.986650491Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.484927ms policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-03-01T11:35:27.991146763Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:27.992482989Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.350877ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:28.029664707Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | msg grafana | logger=migrator t=2024-03-01T11:35:28.03122528Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.560843ms policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-03-01T11:35:28.03684493Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:28.038245243Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.400023ms policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-03-01T11:35:28.04246367Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:28.044023654Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.556224ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-03-01T11:35:28.048980806Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:28.049490193Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=509.467µs policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:28.053911185Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:28.064011342Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.099567ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-01T11:35:28.068029035Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:28.068893629Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=862.503µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-03-01T11:35:28.072741249Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:28.074064386Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.321997ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:28.078709794Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:28.079817936Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.106841ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-01T11:35:28.085311827Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-01T11:35:28.086419517Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.107001ms policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:28.090733852Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | grafana | logger=migrator t=2024-03-01T11:35:28.091319465Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=586.112µs policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-03-01T11:35:28.096573448Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.447636376s policy-db-migrator | -------------- grafana | logger=sqlstore t=2024-03-01T11:35:28.105885697Z level=info msg="Created default admin" user=admin 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=sqlstore t=2024-03-01T11:35:28.106252714Z level=info msg="Created default organization" policy-db-migrator | -------------- grafana | logger=secrets t=2024-03-01T11:35:28.110681717Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | grafana | logger=plugin.store t=2024-03-01T11:35:28.127572169Z level=info msg="Loading plugins..." policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=local.finder t=2024-03-01T11:35:28.164492042Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | -------------- grafana | logger=plugin.store t=2024-03-01T11:35:28.164546826Z level=info msg="Plugins loaded" count=55 duration=36.975617ms policy-db-migrator | grafana | logger=query_data t=2024-03-01T11:35:28.166948952Z level=info msg="Query Service initialization" policy-db-migrator | grafana | logger=live.push_http t=2024-03-01T11:35:28.170427335Z level=info msg="Live Push Gateway initialization" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=ngalert.migration t=2024-03-01T11:35:28.176605406Z level=info msg=Starting policy-db-migrator | -------------- grafana | logger=ngalert.migration orgID=1 t=2024-03-01T11:35:28.17789141Z level=info msg="Migrating alerts for organisation" 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=ngalert.migration orgID=1 t=2024-03-01T11:35:28.179189494Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | -------------- grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-03-01T11:35:28.181428878Z level=info msg="Completed legacy migration" policy-db-migrator | grafana | logger=infra.usagestats.collector t=2024-03-01T11:35:28.21586831Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | -------------- grafana | logger=provisioning.datasources t=2024-03-01T11:35:28.21805923Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=provisioning.alerting t=2024-03-01T11:35:28.232551527Z level=info msg="starting to provision alerting" policy-db-migrator | -------------- grafana | logger=provisioning.alerting t=2024-03-01T11:35:28.232571999Z level=info msg="finished to provision alerting" policy-db-migrator | grafana | logger=ngalert.state.manager t=2024-03-01T11:35:28.232687837Z level=info msg="Warming state cache for startup" policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=ngalert.state.manager t=2024-03-01T11:35:28.232904253Z level=info msg="State cache has been initialized" states=0 duration=216.866µs policy-db-migrator | name version grafana | logger=ngalert.multiorg.alertmanager t=2024-03-01T11:35:28.232893682Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | policyadmin 1200 grafana | logger=ngalert.scheduler t=2024-03-01T11:35:28.232930065Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=ticker t=2024-03-01T11:35:28.232970678Z level=info msg=starting first_tick=2024-03-01T11:35:30Z policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:31 grafana | logger=grafanaStorageLogger t=2024-03-01T11:35:28.233106187Z level=info msg="Storage starting" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:31 grafana | logger=http.server t=2024-03-01T11:35:28.258586256Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:31 grafana | logger=grafana-apiserver t=2024-03-01T11:35:28.259198111Z level=info msg="Authentication is disabled" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:31 grafana | logger=grafana-apiserver t=2024-03-01T11:35:28.264326556Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 grafana | logger=grafana.update.checker t=2024-03-01T11:35:28.373348828Z level=info msg="Update check succeeded" duration=140.23302ms grafana | logger=plugins.update.checker t=2024-03-01T11:35:28.435374344Z level=info msg="Update check succeeded" duration=202.113075ms policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 grafana | logger=infra.usagestats t=2024-03-01T11:36:19.247155277Z level=info msg="Usage stats are ready to report" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:32 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:33 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:34 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:35 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:35 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:35 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:35 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:35 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:35 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:35 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:35 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:35 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:35 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:35 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0103241135310800u 1 2024-03-01 11:35:35 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:35 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:35 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:35 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:35 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:35 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:36 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:36 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:36 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:36 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:36 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:36 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:36 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0103241135310900u 1 2024-03-01 11:35:36 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0103241135311000u 1 2024-03-01 11:35:36 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0103241135311000u 1 2024-03-01 11:35:36 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0103241135311000u 1 2024-03-01 11:35:36 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0103241135311000u 1 2024-03-01 11:35:36 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0103241135311000u 1 2024-03-01 11:35:36 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0103241135311000u 1 2024-03-01 11:35:36 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0103241135311000u 1 2024-03-01 11:35:36 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0103241135311000u 1 2024-03-01 11:35:36 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0103241135311000u 1 2024-03-01 11:35:36 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0103241135311100u 1 2024-03-01 11:35:36 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0103241135311200u 1 2024-03-01 11:35:36 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0103241135311200u 1 2024-03-01 11:35:36 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0103241135311200u 1 2024-03-01 11:35:36 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0103241135311200u 1 2024-03-01 11:35:36 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing policy-db-migrator ... done Removing grafana ... done Removing prometheus ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.2bs438vdE0 ]] + rsync -av /tmp/tmp.2bs438vdE0/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,347,572 bytes received 95 bytes 2,695,334.00 bytes/sec total size is 1,346,922 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 2104 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11855376756690716650.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins377019608503553280.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/jenkins8283273964556581725.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-HoPF from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-HoPF/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14818572826844709908.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config16989068625209580404tmp 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/jenkins15656383080588629508.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12214297135703790840.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-HoPF from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-HoPF/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12021777067664921378.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13823966543331498814.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-HoPF from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-HoPF/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/jenkins788465508611566113.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-HoPF from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-HoPF/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/287 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-10029 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 829 27454 0 3882 30881 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:ed:5b:87 brd ff:ff:ff:ff:ff:ff inet 10.30.107.145/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86059sec preferred_lft 86059sec inet6 fe80::f816:3eff:feed:5b87/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:7f:60:b8:9f 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-10029) 03/01/24 _x86_64_ (8 CPU) 11:32:24 LINUX RESTART (8 CPU) 11:33:01 tps rtps wtps bread/s bwrtn/s 11:34:01 111.21 35.56 75.65 1683.19 20035.59 11:35:01 125.61 23.18 102.43 2780.47 25624.26 11:36:01 365.31 12.09 353.21 815.16 73333.73 11:37:01 11.38 0.00 11.38 0.00 13437.70 11:38:01 60.41 2.40 58.01 130.51 16861.39 Average: 134.80 14.65 120.16 1081.80 29862.33 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30082760 31667668 2856460 8.67 69708 1825844 1452444 4.27 901456 1662132 152052 11:35:01 28662208 31656916 4277012 12.98 103032 3159548 1562552 4.60 995220 2899736 1153800 11:36:01 26847484 30455208 6091736 18.49 126304 3645880 4694404 13.81 2285572 3355708 1196 11:37:01 26888636 30462264 6050584 18.37 126368 3645956 4625712 13.61 2280156 3320856 36 11:38:01 28170156 31679292 4769064 14.48 129596 3617876 1400028 4.12 1099080 3245884 30540 Average: 28130249 31184270 4808971 14.60 111002 3179021 2747028 8.08 1512297 2896863 267525 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 ens3 60.54 44.61 873.44 19.66 0.00 0.00 0.00 0.00 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 lo 1.60 1.60 0.17 0.17 0.00 0.00 0.00 0.00 11:35:01 ens3 266.34 174.72 7434.66 17.13 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 8.33 8.33 0.77 0.77 0.00 0.00 0.00 0.00 11:35:01 br-be14ca621a16 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 vethe4229d1 0.48 0.72 0.05 0.30 0.00 0.00 0.00 0.00 11:36:01 ens3 68.10 46.09 1848.61 4.76 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 veth7c8bbcf 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 11:37:01 vethe4229d1 0.25 0.22 0.02 0.01 0.00 0.00 0.00 0.00 11:37:01 ens3 1.42 1.28 0.23 0.39 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 veth7c8bbcf 0.18 0.18 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 ens3 77.89 56.99 112.28 27.41 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 lo 34.38 34.38 10.45 10.45 0.00 0.00 0.00 0.00 Average: ens3 94.85 64.73 2053.76 13.87 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 6.09 6.09 2.02 2.02 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-10029) 03/01/24 _x86_64_ (8 CPU) 11:32:24 LINUX RESTART (8 CPU) 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 10.08 0.00 0.79 2.03 0.03 87.07 11:34:01 0 0.40 0.00 0.28 0.00 0.00 99.32 11:34:01 1 4.34 0.00 0.78 2.14 0.03 92.71 11:34:01 2 31.11 0.00 1.37 1.12 0.05 66.35 11:34:01 3 14.49 0.00 1.15 8.18 0.07 76.11 11:34:01 4 7.18 0.00 0.59 0.52 0.03 91.68 11:34:01 5 13.68 0.00 0.90 0.67 0.03 84.72 11:34:01 6 5.96 0.00 0.67 3.29 0.03 90.04 11:34:01 7 3.45 0.00 0.53 0.35 0.03 95.63 11:35:01 all 11.63 0.00 2.26 2.02 0.05 84.04 11:35:01 0 24.66 0.00 2.56 1.11 0.07 71.61 11:35:01 1 13.19 0.00 2.30 4.16 0.03 80.32 11:35:01 2 18.16 0.00 2.43 2.90 0.08 76.42 11:35:01 3 12.33 0.00 2.70 1.88 0.05 83.03 11:35:01 4 6.17 0.00 2.08 4.39 0.03 87.33 11:35:01 5 4.44 0.00 1.98 0.13 0.03 93.42 11:35:01 6 4.62 0.00 1.43 0.34 0.02 93.60 11:35:01 7 9.48 0.00 2.60 1.26 0.05 86.62 11:36:01 all 19.58 0.00 3.38 4.97 0.07 71.99 11:36:01 0 19.04 0.00 3.20 1.84 0.05 75.86 11:36:01 1 21.47 0.00 3.22 3.79 0.08 71.44 11:36:01 2 16.36 0.00 3.36 1.56 0.07 78.66 11:36:01 3 13.36 0.00 3.77 18.84 0.10 63.93 11:36:01 4 19.64 0.00 3.48 8.29 0.07 68.52 11:36:01 5 26.10 0.00 3.99 1.87 0.07 67.97 11:36:01 6 14.37 0.00 2.83 2.96 0.07 79.78 11:36:01 7 26.35 0.00 3.19 0.71 0.05 69.71 11:37:01 all 0.28 0.00 0.05 0.76 0.03 98.89 11:37:01 0 0.38 0.00 0.05 0.00 0.05 99.52 11:37:01 1 0.57 0.00 0.07 0.00 0.05 99.32 11:37:01 2 0.50 0.00 0.12 0.00 0.07 99.32 11:37:01 3 0.35 0.00 0.03 0.00 0.00 99.62 11:37:01 4 0.20 0.00 0.03 6.05 0.00 93.72 11:37:01 5 0.03 0.00 0.02 0.00 0.02 99.93 11:37:01 6 0.03 0.00 0.03 0.02 0.03 99.88 11:37:01 7 0.13 0.00 0.05 0.00 0.02 99.80 11:38:01 all 8.49 0.00 0.74 1.43 0.03 89.31 11:38:01 0 36.48 0.00 1.54 0.73 0.08 61.16 11:38:01 1 1.39 0.00 0.65 0.33 0.03 97.60 11:38:01 2 4.01 0.00 0.72 0.95 0.03 94.29 11:38:01 3 5.53 0.00 0.80 6.94 0.03 86.69 11:38:01 4 1.07 0.00 0.52 1.38 0.02 97.02 11:38:01 5 3.22 0.00 0.48 0.10 0.02 96.18 11:38:01 6 0.70 0.00 0.67 0.47 0.05 98.11 11:38:01 7 15.49 0.00 0.58 0.57 0.02 83.34 Average: all 10.00 0.00 1.44 2.24 0.04 86.28 Average: 0 16.18 0.00 1.52 0.74 0.05 81.51 Average: 1 8.17 0.00 1.40 2.08 0.05 88.30 Average: 2 14.01 0.00 1.60 1.31 0.06 83.03 Average: 3 9.20 0.00 1.69 7.15 0.05 81.91 Average: 4 6.83 0.00 1.33 4.12 0.03 87.68 Average: 5 9.47 0.00 1.47 0.55 0.03 88.48 Average: 6 5.14 0.00 1.13 1.41 0.04 92.28 Average: 7 10.96 0.00 1.39 0.58 0.03 87.04