Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-2913 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-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-hNBIRrmbqTym/agent.2045 SSH_AGENT_PID=2047 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_9076896741457331935.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_9076896741457331935.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-master-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/master^{commit} # timeout=10 Checking out Revision 0a32da8957faea5b96de55b540f594dc6bf9bfba (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0a32da8957faea5b96de55b540f594dc6bf9bfba # timeout=30 Commit message: "Set all cross references of policy/docker" > git rev-list --no-walk 0a32da8957faea5b96de55b540f594dc6bf9bfba # 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-master-project-csit-api] $ /bin/bash /tmp/jenkins4205774327208897244.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-CHgY 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-CHgY/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-CHgY/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.29.5 botocore==1.32.5 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.32 idna==3.4 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.0.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.7 wcwidth==0.2.12 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins8600558700698743117.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-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins7130151772591502606.sh + /w/workspace/policy-api-master-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-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-api + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.m7bjFEaddY ++ echo ROBOT_VENV=/tmp/tmp.m7bjFEaddY +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.m7bjFEaddY ++ source /tmp/tmp.m7bjFEaddY/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.m7bjFEaddY +++ 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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.m7bjFEaddY/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.m7bjFEaddY) ' '!=' x ']' +++ PS1='(tmp.m7bjFEaddY) ' +++ 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-master-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.m7bjFEaddY/src/onap ++ rm -rf /tmp/tmp.m7bjFEaddY/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.3 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.3.1 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.m7bjFEaddY/bin/activate + '[' -z /tmp/tmp.m7bjFEaddY/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.m7bjFEaddY/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-master-project-csit-api/csit:/w/workspace/policy-api-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-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.m7bjFEaddY ++ 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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.m7bjFEaddY/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.m7bjFEaddY) ' ++ '[' 'x(tmp.m7bjFEaddY) ' '!=' x ']' ++ PS1='(tmp.m7bjFEaddY) (tmp.m7bjFEaddY) ' ++ 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-master-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.WPOjDwBNfr + cd /tmp/tmp.WPOjDwBNfr + 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-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-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-master-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:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:535b9fec1d4848bde53cf1c2d10e10228e438d5a3d19ff53070fe232da33e1ca Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:8d92621d8c2db53e521c2d1638b6a3401be0e528ad514a311771ba2d2337d7ea Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e 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:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f 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-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-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 prometheus Up 14 seconds mariadb Up 11 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 17 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-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-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:22:49 up 3 min, 0 users, load average: 1.71, 0.70, 0.28 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.4 us, 2.2 sy, 0.0 ni, 84.2 id, 2.1 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 26G 1.0M 4.0G 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 prometheus Up 29 seconds mariadb Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 5991e8af94b9 policy-api 0.11% 474.5MiB / 31.41GiB 1.47% 998kB / 710kB 0B / 0B 55 66402fcac0c0 grafana 0.03% 94.52MiB / 31.41GiB 0.29% 18.8kB / 3.09kB 0B / 23.4MB 18 ca1e032ffc96 prometheus 0.00% 18.4MiB / 31.41GiB 0.06% 1.52kB / 158B 229kB / 0B 11 20e8c075b0bd mariadb 0.02% 100.5MiB / 31.41GiB 0.31% 985kB / 1.18MB 10.9MB / 67.9MB 25 + echo + cd /tmp/tmp.WPOjDwBNfr + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + cat testplan.txt /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | 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 | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | 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 | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.WPOjDwBNfr/output.xml Log: /tmp/tmp.WPOjDwBNfr/log.html Report: /tmp/tmp.WPOjDwBNfr/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:24:00 up 4 min, 0 users, load average: 0.71, 0.64, 0.29 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.5 us, 1.7 sy, 0.0 ni, 87.1 id, 1.6 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.7G 25G 1.0M 4.0G 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 prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 5991e8af94b9 policy-api 0.11% 816MiB / 31.41GiB 2.54% 7MB / 2.55MB 0B / 0B 55 66402fcac0c0 grafana 0.01% 94.56MiB / 31.41GiB 0.29% 19.9kB / 4.34kB 0B / 23.4MB 18 ca1e032ffc96 prometheus 0.00% 23.75MiB / 31.41GiB 0.07% 55.5kB / 6.45kB 229kB / 0B 13 20e8c075b0bd mariadb 0.02% 101.5MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 10.9MB / 68.2MB 18 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-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, prometheus, mariadb grafana | logger=settings t=2023-11-22T11:22:20.713325869Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-11-22T11:22:20.713608277Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-22T11:22:20.713625158Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-22T11:22:20.713629618Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-22T11:22:20.713633418Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-22T11:22:20.713755861Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-22T11:22:20.713770062Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-22T11:22:20.713775232Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-22T11:22:20.713778862Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-22T11:22:20.713782112Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-22T11:22:20.713785622Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-22T11:22:20.713788942Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-22T11:22:20.713793742Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-22T11:22:20.713800392Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-22T11:22:20.713804253Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-22T11:22:20.713807693Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-22T11:22:20.713857694Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-22T11:22:20.713871684Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-22T11:22:20.713876705Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-22T11:22:20.714304046Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-22T11:22:20.714350758Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-22T11:22:20.71517263Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-22T11:22:20.716090015Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-22T11:22:20.716916438Z level=info msg="Migration successfully executed" id="create migration_log table" duration=824.343µs grafana | logger=migrator t=2023-11-22T11:22:20.720965639Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-22T11:22:20.721561845Z level=info msg="Migration successfully executed" id="create user table" duration=595.856µs grafana | logger=migrator t=2023-11-22T11:22:20.726595653Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-22T11:22:20.727324713Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=729.12µs grafana | logger=migrator t=2023-11-22T11:22:20.730184372Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-22T11:22:20.730775648Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=590.886µs grafana | logger=migrator t=2023-11-22T11:22:20.733713138Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-22T11:22:20.734257183Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=544.285µs grafana | logger=migrator t=2023-11-22T11:22:20.739193119Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-22T11:22:20.739794725Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=601.306µs grafana | logger=migrator t=2023-11-22T11:22:20.744096133Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-22T11:22:20.748257927Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.161134ms grafana | logger=migrator t=2023-11-22T11:22:20.751528837Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-22T11:22:20.75238448Z level=info msg="Migration successfully executed" id="create user table v2" duration=855.583µs grafana | logger=migrator t=2023-11-22T11:22:20.757997984Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-22T11:22:20.758648582Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=650.368µs grafana | logger=migrator t=2023-11-22T11:22:20.761522891Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-22T11:22:20.762192999Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=669.868µs grafana | logger=migrator t=2023-11-22T11:22:20.764896233Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-22T11:22:20.765243363Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=346.84µs grafana | logger=migrator t=2023-11-22T11:22:20.768154133Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-22T11:22:20.768580664Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=426.711µs grafana | logger=migrator t=2023-11-22T11:22:20.773106198Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-22T11:22:20.774126406Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.026898ms grafana | logger=migrator t=2023-11-22T11:22:20.776246735Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-22T11:22:20.776277145Z level=info msg="Migration successfully executed" id="Update user table charset" duration=31.28µs grafana | logger=migrator t=2023-11-22T11:22:20.779185675Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-22T11:22:20.780157282Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=971.787µs grafana | logger=migrator t=2023-11-22T11:22:20.783482533Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-22T11:22:20.783717959Z level=info msg="Migration successfully executed" id="Add missing user data" duration=234.826µs grafana | logger=migrator t=2023-11-22T11:22:20.788564042Z level=info msg="Executing migration" id="Add is_disabled column to user" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2023-11-22T11:22:35.025+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-22T11:22:35.026+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-22T11:22:36.656+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-22T11:22:36.744+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-22T11:22:37.143+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-11-22T11:22:37.144+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-11-22T11:22:37.776+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-22T11:22:37.786+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-22T11:22:37.788+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-22T11:22:37.788+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2023-11-22T11:22:37.876+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-22T11:22:37.876+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2783 ms policy-api | [2023-11-22T11:22:38.294+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-22T11:22:38.358+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2023-11-22T11:22:38.366+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2023-11-22T11:22:38.408+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2023-11-22T11:22:38.751+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2023-11-22T11:22:38.782+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-22T11:22:38.886+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2023-11-22T11:22:38.889+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-22T11:22:38.917+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2023-11-22T11:22:38.918+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2023-11-22T11:22:40.651+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2023-11-22T11:22:40.655+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-22T11:22:41.832+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-22T11:22:42.596+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-22T11:22:43.690+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-11-22T11:22:43.874+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@d181ca3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@78b9d614, org.springframework.security.web.context.SecurityContextHolderFilter@fb74661, org.springframework.security.web.header.HeaderWriterFilter@22ccd80f, org.springframework.security.web.authentication.logout.LogoutFilter@17d90f81, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@19e86461, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6e04275e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@453ef145, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@63f95ac1, org.springframework.security.web.access.ExceptionTranslationFilter@680f7a5e, org.springframework.security.web.access.intercept.AuthorizationFilter@631f188a] policy-api | [2023-11-22T11:22:44.732+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-22T11:22:44.812+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-22T11:22:44.844+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-22T11:22:44.864+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.516 seconds (process running for 11.129) policy-api | [2023-11-22T11:22:52.146+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-22T11:22:52.146+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-22T11:22:52.147+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2023-11-22T11:22:55.065+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-22T11:22:55.189+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2023-11-22T11:22:55.443+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-22T11:22:56.578+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2023-11-22T11:22:58.641+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-22T11:22:58.959+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-22T11:22:59.187+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-22T11:22:59.411+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-22T11:22:59.650+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-22T11:22:59.881+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-11-22T11:22:20.789631902Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.06927ms grafana | logger=migrator t=2023-11-22T11:22:20.792245033Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-22T11:22:20.79286765Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=622.227µs grafana | logger=migrator t=2023-11-22T11:22:20.795832732Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-22T11:22:20.797765835Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.932783ms grafana | logger=migrator t=2023-11-22T11:22:20.803099151Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-22T11:22:20.813110995Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.008774ms grafana | logger=migrator t=2023-11-22T11:22:20.81582501Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-22T11:22:20.816328904Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=503.703µs grafana | logger=migrator t=2023-11-22T11:22:20.819075549Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-22T11:22:20.819586583Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=512.244µs grafana | logger=migrator t=2023-11-22T11:22:20.824276651Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-22T11:22:20.824992711Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=715.65µs grafana | logger=migrator t=2023-11-22T11:22:20.827479459Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-22T11:22:20.828215339Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=735.66µs grafana | logger=migrator t=2023-11-22T11:22:20.832201839Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-22T11:22:20.83297779Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=775.601µs grafana | logger=migrator t=2023-11-22T11:22:20.835621912Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-22T11:22:20.835647343Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=25.731µs grafana | logger=migrator t=2023-11-22T11:22:20.840213608Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-22T11:22:20.840908877Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=697.199µs grafana | logger=migrator t=2023-11-22T11:22:20.843433957Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-22T11:22:20.844115815Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=681.708µs grafana | logger=migrator t=2023-11-22T11:22:20.847812597Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-22T11:22:20.848463385Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=650.668µs grafana | logger=migrator t=2023-11-22T11:22:20.853375919Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-22T11:22:20.854025417Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=649.468µs grafana | logger=migrator t=2023-11-22T11:22:20.856272039Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-22T11:22:20.860132925Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.859405ms grafana | logger=migrator t=2023-11-22T11:22:20.863049764Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-22T11:22:20.863810045Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=759.741µs grafana | logger=migrator t=2023-11-22T11:22:20.868759541Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-22T11:22:20.869543633Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=784.001µs grafana | logger=migrator t=2023-11-22T11:22:20.872056791Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-22T11:22:20.872802492Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=745.611µs grafana | logger=migrator t=2023-11-22T11:22:20.875559197Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-22T11:22:20.876322828Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=765.031µs grafana | logger=migrator t=2023-11-22T11:22:20.881536641Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-22T11:22:20.882438286Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=900.885µs grafana | logger=migrator t=2023-11-22T11:22:20.885359196Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-22T11:22:20.885736056Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=376.3µs grafana | logger=migrator t=2023-11-22T11:22:20.887948647Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-22T11:22:20.888449011Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=500.044µs grafana | logger=migrator t=2023-11-22T11:22:20.89314895Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-22T11:22:20.89351801Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=369.15µs grafana | logger=migrator t=2023-11-22T11:22:20.904505771Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-22T11:22:20.90592208Z level=info msg="Migration successfully executed" id="create star table" duration=1.419389ms grafana | logger=migrator t=2023-11-22T11:22:20.909837787Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-22T11:22:20.910637499Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=799.152µs grafana | logger=migrator t=2023-11-22T11:22:20.91394173Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-22T11:22:20.91504977Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.10799ms grafana | logger=migrator t=2023-11-22T11:22:20.922311239Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-22T11:22:20.923183493Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=873.214µs grafana | logger=migrator t=2023-11-22T11:22:20.925850976Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-22T11:22:20.926480484Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=628.978µs grafana | logger=migrator t=2023-11-22T11:22:20.929226099Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-22T11:22:20.929957509Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=731.71µs grafana | logger=migrator t=2023-11-22T11:22:20.932431487Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-22T11:22:20.933225859Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=793.641µs grafana | logger=migrator t=2023-11-22T11:22:20.937772533Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-22T11:22:20.938497713Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=725.28µs grafana | logger=migrator t=2023-11-22T11:22:20.941474385Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-22T11:22:20.941498405Z level=info msg="Migration successfully executed" id="Update org table charset" duration=25µs grafana | logger=migrator t=2023-11-22T11:22:20.94350263Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-22T11:22:20.943528411Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=23.851µs grafana | logger=migrator t=2023-11-22T11:22:20.946641836Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-22T11:22:20.946995806Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=359.19µs grafana | logger=migrator t=2023-11-22T11:22:20.95259306Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-22T11:22:20.953825173Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.221094ms grafana | logger=migrator t=2023-11-22T11:22:20.957198836Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-22T11:22:20.958628345Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.428909ms grafana | logger=migrator t=2023-11-22T11:22:20.961756341Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-22T11:22:20.962605224Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=848.613µs grafana | logger=migrator t=2023-11-22T11:22:20.96572761Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-22T11:22:20.966426929Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=698.299µs grafana | logger=migrator t=2023-11-22T11:22:20.971787696Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-22T11:22:20.972603928Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=816.612µs grafana | logger=migrator t=2023-11-22T11:22:20.9755992Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-22T11:22:20.976350941Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=750.691µs grafana | logger=migrator t=2023-11-22T11:22:20.979020494Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-22T11:22:20.986290043Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.268329ms grafana | logger=migrator t=2023-11-22T11:22:20.991502366Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-22T11:22:20.992213606Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=708.72µs grafana | logger=migrator t=2023-11-22T11:22:20.994993772Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-22T11:22:20.995708712Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=714.84µs grafana | logger=migrator t=2023-11-22T11:22:20.998262352Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-22T11:22:20.998983681Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=721.109µs grafana | logger=migrator t=2023-11-22T11:22:21.003719121Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-22T11:22:21.00404975Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=330.269µs grafana | logger=migrator t=2023-11-22T11:22:21.006833257Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-22T11:22:21.007725751Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=891.404µs grafana | logger=migrator t=2023-11-22T11:22:21.010493067Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-22T11:22:21.010557799Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=65.372µs grafana | logger=migrator t=2023-11-22T11:22:21.015104893Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-22T11:22:21.016872962Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.767859ms grafana | logger=migrator t=2023-11-22T11:22:21.019811842Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-22T11:22:21.021580061Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.767369ms grafana | logger=migrator t=2023-11-22T11:22:21.024344617Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-22T11:22:21.026184047Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.82377ms grafana | logger=migrator t=2023-11-22T11:22:21.031531624Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-22T11:22:21.032344256Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=814.212µs grafana | logger=migrator t=2023-11-22T11:22:21.035257756Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-22T11:22:21.037077416Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.81965ms grafana | logger=migrator t=2023-11-22T11:22:21.039908834Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-22T11:22:21.040631883Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=723.08µs grafana | logger=migrator t=2023-11-22T11:22:21.047317587Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-22T11:22:21.048041076Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=723.299µs grafana | logger=migrator t=2023-11-22T11:22:21.050838773Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-22T11:22:21.050864434Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=28.671µs grafana | logger=migrator t=2023-11-22T11:22:21.053408964Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-22T11:22:21.053432984Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=24.54µs grafana | logger=migrator t=2023-11-22T11:22:21.058953846Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-22T11:22:21.06201763Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.063974ms grafana | logger=migrator t=2023-11-22T11:22:21.066541074Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-22T11:22:21.068561559Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.017425ms grafana | logger=migrator t=2023-11-22T11:22:21.071686665Z level=info msg="Executing migration" id="Add column has_acl in dashboard" mariadb | 2023-11-22 11:22:21+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-22 11:22:21+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-22 11:22:22+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-22 11:22:22+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-22 11:22:22 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-22 11:22:22 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-22 11:22:22 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-11-22 11:22:23+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-22 11:22:23+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-22 11:22:23+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-22 11:22:23 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2023-11-22 11:22:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-22 11:22:23 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-22 11:22:23 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-22 11:22:23 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-22 11:22:23 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-22 11:22:23 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-22 11:22:23 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-22 11:22:23 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-22 11:22:23 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-22 11:22:23 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-22 11:22:23 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-22 11:22:23 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-22 11:22:23 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-22 11:22:23 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-22 11:22:23 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-22 11:22:23 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-22 11:22:23 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-22 11:22:23 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-11-22 11:22:24+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-22 11:22:26+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-22 11:22:26+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-22 11:22:26+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-22 11:22:26+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=2023-11-22T11:22:21.073675659Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.989274ms grafana | logger=migrator t=2023-11-22T11:22:21.078674136Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-22T11:22:21.080433765Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.759389ms grafana | logger=migrator t=2023-11-22T11:22:21.083430777Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-22T11:22:21.083593331Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=162.584µs grafana | logger=migrator t=2023-11-22T11:22:21.086245554Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-22T11:22:21.086925093Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=678.858µs grafana | logger=migrator t=2023-11-22T11:22:21.089711359Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-22T11:22:21.090324356Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=613.337µs grafana | logger=migrator t=2023-11-22T11:22:21.094893571Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-22T11:22:21.094939832Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=44.551µs grafana | logger=migrator t=2023-11-22T11:22:21.098340216Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-22T11:22:21.099290532Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=949.917µs grafana | logger=migrator t=2023-11-22T11:22:21.102540421Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-22T11:22:21.103202969Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=662.098µs grafana | logger=migrator t=2023-11-22T11:22:21.107295011Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-22T11:22:21.115228259Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.934177ms grafana | logger=migrator t=2023-11-22T11:22:21.118346894Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-22T11:22:21.1189427Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=595.216µs grafana | logger=migrator t=2023-11-22T11:22:21.121902062Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-22T11:22:21.122639082Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=734.531µs grafana | logger=migrator t=2023-11-22T11:22:21.126618901Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-22T11:22:21.127386952Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=767.471µs grafana | logger=migrator t=2023-11-22T11:22:21.130388104Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-22T11:22:21.130667942Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=279.618µs grafana | logger=migrator t=2023-11-22T11:22:21.133648714Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-22T11:22:21.134175118Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=526.464µs grafana | logger=migrator t=2023-11-22T11:22:21.137949222Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-22T11:22:21.139979957Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.030356ms grafana | logger=migrator t=2023-11-22T11:22:21.143042331Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-22T11:22:21.143837883Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=794.972µs grafana | logger=migrator t=2023-11-22T11:22:21.146973819Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-22T11:22:21.147144994Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=171.635µs grafana | logger=migrator t=2023-11-22T11:22:21.151344969Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-22T11:22:21.151539664Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=195.005µs grafana | logger=migrator t=2023-11-22T11:22:21.154760512Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-22T11:22:21.155614996Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=857.074µs grafana | logger=migrator t=2023-11-22T11:22:21.158882885Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-22T11:22:21.161190059Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.306394ms grafana | logger=migrator t=2023-11-22T11:22:21.166318439Z level=info msg="Executing migration" id="create data_source table" 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 | 2023-11-22 11:22:26+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-22 11:22:26 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-22 11:22:26 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-22 11:22:26 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-22 11:22:26 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-22 11:22:26 0 [Note] InnoDB: Buffer pool(s) dump completed at 231122 11:22:26 mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: Shutdown completed; log sequence number 386910; transaction id 298 mariadb | 2023-11-22 11:22:27 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-22 11:22:27+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-22 11:22:27+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-22 11:22:27 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-22 11:22:27 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-22 11:22:27 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-22 11:22:27 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: log sequence number 386910; transaction id 299 mariadb | 2023-11-22 11:22:27 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-22 11:22:27 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-22 11:22:27 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-22 11:22:27 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-22 11:22:27 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-22 11:22: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: 3306 mariadb.org binary distribution mariadb | 2023-11-22 11:22:27 0 [Note] InnoDB: Buffer pool(s) load completed at 231122 11:22:27 mariadb | 2023-11-22 11:22:27 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2023-11-22 11:22:27 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=2023-11-22T11:22:21.167266385Z level=info msg="Migration successfully executed" id="create data_source table" duration=946.846µs grafana | logger=migrator t=2023-11-22T11:22:21.171167152Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-22T11:22:21.171769919Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=602.127µs grafana | logger=migrator t=2023-11-22T11:22:21.175143421Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-22T11:22:21.175778169Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=634.228µs grafana | logger=migrator t=2023-11-22T11:22:21.178794511Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-22T11:22:21.179375167Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=580.666µs grafana | logger=migrator t=2023-11-22T11:22:21.183229853Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-22T11:22:21.183829809Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=598.876µs grafana | logger=migrator t=2023-11-22T11:22:21.187054188Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-22T11:22:21.198472431Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=11.419653ms grafana | logger=migrator t=2023-11-22T11:22:21.20318314Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-22T11:22:21.203725995Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=542.395µs grafana | logger=migrator t=2023-11-22T11:22:21.206886602Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-22T11:22:21.207778256Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=891.194µs grafana | logger=migrator t=2023-11-22T11:22:21.21083529Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-22T11:22:21.211677313Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=841.523µs grafana | logger=migrator t=2023-11-22T11:22:21.215468807Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-22T11:22:21.216005582Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=534.725µs grafana | logger=migrator t=2023-11-22T11:22:21.219111947Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-22T11:22:21.221501552Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.389125ms grafana | logger=migrator t=2023-11-22T11:22:21.224542236Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-22T11:22:21.22689534Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.352854ms grafana | logger=migrator t=2023-11-22T11:22:21.231192588Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-22T11:22:21.231220259Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=28.441µs grafana | logger=migrator t=2023-11-22T11:22:21.234088077Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-22T11:22:21.234225401Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=135.544µs grafana | logger=migrator t=2023-11-22T11:22:21.236918445Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-22T11:22:21.238714894Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=1.797229ms grafana | logger=migrator t=2023-11-22T11:22:21.241763468Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-22T11:22:21.241901912Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=137.964µs grafana | logger=migrator t=2023-11-22T11:22:21.245584293Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-22T11:22:21.245707516Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=123.153µs grafana | logger=migrator t=2023-11-22T11:22:21.247821054Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-22T11:22:21.249649614Z level=info msg="Migration successfully executed" id="Add uid column" duration=1.82797ms grafana | logger=migrator t=2023-11-22T11:22:21.25240977Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-22T11:22:21.252543103Z level=info msg="Migration successfully executed" id="Update uid value" duration=133.113µs grafana | logger=migrator t=2023-11-22T11:22:21.256330187Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-22T11:22:21.256963665Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=633.158µs grafana | logger=migrator t=2023-11-22T11:22:21.259956027Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-22T11:22:21.261489639Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.532162ms grafana | logger=migrator t=2023-11-22T11:22:21.264668316Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-22T11:22:21.265812517Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.144991ms grafana | logger=migrator t=2023-11-22T11:22:21.268487251Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-22T11:22:21.269345084Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=857.404µs grafana | logger=migrator t=2023-11-22T11:22:21.274005052Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-22T11:22:21.274880096Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=874.834µs grafana | logger=migrator t=2023-11-22T11:22:21.277774165Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-22T11:22:21.278711281Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=936.666µs grafana | logger=migrator t=2023-11-22T11:22:21.282898686Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-22T11:22:21.283758199Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=861.003µs grafana | logger=migrator t=2023-11-22T11:22:21.288933841Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-22T11:22:21.289806445Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=872.504µs grafana | logger=migrator t=2023-11-22T11:22:21.291839581Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-11-22T11:22:21.292656453Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=816.282µs grafana | logger=migrator t=2023-11-22T11:22:21.295494031Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-22T11:22:21.305243418Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.745497ms grafana | logger=migrator t=2023-11-22T11:22:21.310578115Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-22T11:22:21.31185725Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.282496ms grafana | logger=migrator t=2023-11-22T11:22:21.31552242Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-22T11:22:21.316666601Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.145411ms grafana | logger=migrator t=2023-11-22T11:22:21.321665109Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-22T11:22:21.323119698Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.4533ms grafana | logger=migrator t=2023-11-22T11:22:21.326610134Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-22T11:22:21.327593201Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=983.227µs grafana | logger=migrator t=2023-11-22T11:22:21.331049966Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-22T11:22:21.331606251Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=556.805µs grafana | logger=migrator t=2023-11-22T11:22:21.335044135Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-22T11:22:21.335962141Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=918.975µs grafana | logger=migrator t=2023-11-22T11:22:21.341161933Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-22T11:22:21.341189934Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=29.441µs grafana | logger=migrator t=2023-11-22T11:22:21.344182836Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-22T11:22:21.348424142Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.245576ms grafana | logger=migrator t=2023-11-22T11:22:21.351589479Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-22T11:22:21.354200131Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.610411ms grafana | logger=migrator t=2023-11-22T11:22:21.359110275Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-22T11:22:21.359306451Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=195.875µs grafana | logger=migrator t=2023-11-22T11:22:21.362489948Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-22T11:22:21.364911234Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.421346ms grafana | logger=migrator t=2023-11-22T11:22:21.367827354Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-22T11:22:21.370996191Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.167727ms grafana | logger=migrator t=2023-11-22T11:22:21.376267766Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-22T11:22:21.377005356Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=737.38µs grafana | logger=migrator t=2023-11-22T11:22:21.380858351Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-22T11:22:21.381738806Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=879.954µs grafana | logger=migrator t=2023-11-22T11:22:21.385136359Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-22T11:22:21.38589504Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=759.84µs grafana | logger=migrator t=2023-11-22T11:22:21.391073652Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-22T11:22:21.391977186Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=903.605µs grafana | logger=migrator t=2023-11-22T11:22:21.394905197Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-22T11:22:21.395843002Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=937.395µs grafana | logger=migrator t=2023-11-22T11:22:21.398781183Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-22T11:22:21.399715748Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=933.575µs grafana | logger=migrator t=2023-11-22T11:22:21.405047595Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-22T11:22:21.405144527Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=97.572µs grafana | logger=migrator t=2023-11-22T11:22:21.407508932Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-22T11:22:21.407536013Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=28.461µs grafana | logger=migrator t=2023-11-22T11:22:21.411587184Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-22T11:22:21.415941083Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.354139ms grafana | logger=migrator t=2023-11-22T11:22:21.418968816Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-22T11:22:21.422113803Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.145536ms grafana | logger=migrator t=2023-11-22T11:22:21.427691635Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-22T11:22:21.427826089Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=131.524µs grafana | logger=migrator t=2023-11-22T11:22:21.43075693Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-22T11:22:21.431542041Z level=info msg="Migration successfully executed" id="create quota table v1" duration=785.242µs policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.434442291Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-22T11:22:21.435358156Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=917.856µs grafana | logger=migrator t=2023-11-22T11:22:21.440566338Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-22T11:22:21.440588669Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=23.291µs grafana | logger=migrator t=2023-11-22T11:22:21.444412524Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-22T11:22:21.445238877Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=826.033µs grafana | logger=migrator t=2023-11-22T11:22:21.448685881Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-22T11:22:21.45009446Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.408279ms grafana | logger=migrator t=2023-11-22T11:22:21.462842559Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-22T11:22:21.467573919Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.73102ms grafana | logger=migrator t=2023-11-22T11:22:21.488097082Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-22T11:22:21.488137313Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=41.941µs grafana | logger=migrator t=2023-11-22T11:22:21.493365096Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-22T11:22:21.494551329Z level=info msg="Migration successfully executed" id="create session table" duration=1.176662ms grafana | logger=migrator t=2023-11-22T11:22:21.500483431Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-22T11:22:21.500564773Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=81.902µs grafana | logger=migrator t=2023-11-22T11:22:21.503378861Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-22T11:22:21.503451643Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=73.312µs grafana | logger=migrator t=2023-11-22T11:22:21.50626386Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-22T11:22:21.507224346Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=960.276µs grafana | logger=migrator t=2023-11-22T11:22:21.509966651Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-22T11:22:21.511036491Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.069449ms grafana | logger=migrator t=2023-11-22T11:22:21.516880501Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-22T11:22:21.516923702Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=46.501µs grafana | logger=migrator t=2023-11-22T11:22:21.520256193Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-22T11:22:21.520282364Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=25.171µs grafana | logger=migrator t=2023-11-22T11:22:21.523194664Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-22T11:22:21.528063807Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.866173ms grafana | logger=migrator t=2023-11-22T11:22:21.53107558Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-22T11:22:21.535112011Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.037481ms grafana | logger=migrator t=2023-11-22T11:22:21.540162219Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-22T11:22:21.540245471Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=83.412µs grafana | logger=migrator t=2023-11-22T11:22:21.543859741Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-22T11:22:21.543938683Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=87.183µs grafana | logger=migrator t=2023-11-22T11:22:21.547466699Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-22T11:22:21.54820343Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=736.301µs grafana | logger=migrator t=2023-11-22T11:22:21.555544331Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-22T11:22:21.555586042Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=44.031µs grafana | logger=migrator t=2023-11-22T11:22:21.558872522Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-22T11:22:21.5631752Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.302438ms grafana | logger=migrator t=2023-11-22T11:22:21.566403229Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-22T11:22:21.566563463Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=160.134µs grafana | logger=migrator t=2023-11-22T11:22:21.569509614Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-22T11:22:21.572539137Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.029283ms grafana | logger=migrator t=2023-11-22T11:22:21.577309198Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-22T11:22:21.580506225Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.195537ms grafana | logger=migrator t=2023-11-22T11:22:21.583627311Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-22T11:22:21.583729674Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=102.013µs grafana | logger=migrator t=2023-11-22T11:22:21.586595132Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-22T11:22:21.587639431Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.043599ms grafana | logger=migrator t=2023-11-22T11:22:21.592560866Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-22T11:22:21.593418269Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=857.293µs grafana | logger=migrator t=2023-11-22T11:22:21.596398321Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.597337267Z level=info msg="Migration successfully executed" id="create alert table v1" duration=939.266µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.600793721Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | prometheus | ts=2023-11-22T11:22:19.743Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d grafana | logger=migrator t=2023-11-22T11:22:21.60182202Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.029399ms policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql prometheus | ts=2023-11-22T11:22:19.743Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" grafana | logger=migrator t=2023-11-22T11:22:21.606772955Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | -------------- prometheus | ts=2023-11-22T11:22:19.743Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" grafana | logger=migrator t=2023-11-22T11:22:21.607630909Z level=info msg="Migration successfully executed" id="add index alert state" duration=858.274µs 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) prometheus | ts=2023-11-22T11:22:19.743Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" grafana | logger=migrator t=2023-11-22T11:22:21.610431846Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | -------------- prometheus | ts=2023-11-22T11:22:19.743Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" grafana | logger=migrator t=2023-11-22T11:22:21.611644359Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.210783ms prometheus | ts=2023-11-22T11:22:19.743Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" grafana | logger=migrator t=2023-11-22T11:22:21.6168051Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | prometheus | ts=2023-11-22T11:22:19.746Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 grafana | logger=migrator t=2023-11-22T11:22:21.617448888Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=643.278µs policy-db-migrator | prometheus | ts=2023-11-22T11:22:19.747Z caller=main.go:1024 level=info msg="Starting TSDB ..." grafana | logger=migrator t=2023-11-22T11:22:21.620490742Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql prometheus | ts=2023-11-22T11:22:19.750Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 grafana | logger=migrator t=2023-11-22T11:22:21.621397556Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=906.545µs policy-db-migrator | -------------- prometheus | ts=2023-11-22T11:22:19.750Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 grafana | logger=migrator t=2023-11-22T11:22:21.624510012Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) prometheus | ts=2023-11-22T11:22:19.752Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" grafana | logger=migrator t=2023-11-22T11:22:21.625345425Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=835.683µs policy-db-migrator | -------------- prometheus | ts=2023-11-22T11:22:19.752Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.76µs grafana | logger=migrator t=2023-11-22T11:22:21.631046241Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | prometheus | ts=2023-11-22T11:22:19.752Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" grafana | logger=migrator t=2023-11-22T11:22:21.644466039Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.419118ms policy-db-migrator | prometheus | ts=2023-11-22T11:22:19.752Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 grafana | logger=migrator t=2023-11-22T11:22:21.647845382Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql prometheus | ts=2023-11-22T11:22:19.752Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=36.52µs wal_replay_duration=311.126µs wbl_replay_duration=180ns total_replay_duration=375.257µs grafana | logger=migrator t=2023-11-22T11:22:21.648277003Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=431.472µs policy-db-migrator | -------------- prometheus | ts=2023-11-22T11:22:19.754Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC grafana | logger=migrator t=2023-11-22T11:22:21.651219484Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) prometheus | ts=2023-11-22T11:22:19.754Z caller=main.go:1048 level=info msg="TSDB started" grafana | logger=migrator t=2023-11-22T11:22:21.651845011Z 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=625.167µs policy-db-migrator | -------------- prometheus | ts=2023-11-22T11:22:19.754Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml grafana | logger=migrator t=2023-11-22T11:22:21.656861929Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | prometheus | ts=2023-11-22T11:22:19.755Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=735.213µs db_storage=1.29µs remote_storage=1.43µs web_handler=730ns query_engine=950ns scrape=191.504µs scrape_sd=96.951µs notify=24.101µs notify_sd=8.62µs rules=1.53µs tracing=5.52µs grafana | logger=migrator t=2023-11-22T11:22:21.657182028Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=320.558µs policy-db-migrator | prometheus | ts=2023-11-22T11:22:19.755Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." grafana | logger=migrator t=2023-11-22T11:22:21.660304153Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql prometheus | ts=2023-11-22T11:22:19.755Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-11-22T11:22:21.660894399Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=590.736µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.664112108Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-22T11:22:21.664829437Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=716.84µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.670383089Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.675960082Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.578463ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.679184151Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2023-11-22T11:22:21.682862762Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.678141ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.685976557Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-22T11:22:21.689529994Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.553757ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.693196045Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.697086732Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.890397ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.702315065Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2023-11-22T11:22:21.703178949Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=864.084µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.706218612Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-22T11:22:21.706246183Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=29.681µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.709116241Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.709140392Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=24.851µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.715893947Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2023-11-22T11:22:21.716584656Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=690.679µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.719895007Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2023-11-22T11:22:21.721052359Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.156292ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.723925717Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.724617736Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=693.029µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.729967513Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2023-11-22T11:22:21.730641422Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=673.689µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.734297922Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-22T11:22:21.735831564Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.535822ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.739379241Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.745223271Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.84111ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.750718342Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.75430901Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.590388ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-22T11:22:21.757456847Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.757653052Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=194.325µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.760062758Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.760958303Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=895.025µs policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2023-11-22T11:22:21.768038437Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.769340103Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.300785ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2023-11-22T11:22:21.772783197Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.778580356Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.783598ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.782074792Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.782184915Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=109.863µs policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2023-11-22T11:22:21.787455869Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.788386385Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=930.546µs grafana | logger=migrator t=2023-11-22T11:22:21.791352436Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-22T11:22:21.793004231Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.651225ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-22T11:22:21.796212799Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.796364024Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=152.964µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.802385539Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.803144779Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=759.09µs policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2023-11-22T11:22:21.80608455Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.807587391Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.502241ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-22T11:22:21.811056836Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.812535997Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.478511ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.818138471Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.819752275Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.613235ms policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2023-11-22T11:22:21.823040915Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.824704161Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.662475ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2023-11-22T11:22:21.828058393Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.82907421Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.015618ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.835287951Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.835329822Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=44.311µs policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2023-11-22T11:22:21.838765416Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.84584496Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=7.081544ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2023-11-22T11:22:21.851578527Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.853152391Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.576563ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.858725043Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.862853166Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.127723ms policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2023-11-22T11:22:21.865808628Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.86662983Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=820.773µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-22T11:22:21.870917018Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.872035778Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.120251ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.877544149Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.878617819Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.07347ms policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2023-11-22T11:22:21.884024017Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.906139053Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=22.110346ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2023-11-22T11:22:21.909783503Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.910364529Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=580.856µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.920549218Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.922409259Z 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.858301ms policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2023-11-22T11:22:21.927797177Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.928365673Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=566.226µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.939519988Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.9403065Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=789.042µs policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2023-11-22T11:22:21.947090736Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.947415535Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=320.819µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-22T11:22:21.952831793Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.958837938Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.006175ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.962651133Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.966420836Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.769423ms policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2023-11-22T11:22:21.972452431Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.973616683Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.163902ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2023-11-22T11:22:21.976459541Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.977682735Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.222494ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.981697075Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:21.981978383Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=277.557µs policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2023-11-22T11:22:21.991254277Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:21.99828263Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=7.027152ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.005993997Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.00691971Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=925.403µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.010946984Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.011110989Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=164.365µs policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2023-11-22T11:22:22.016308163Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.017090973Z level=info msg="Migration successfully executed" id="Move region to single row" duration=782.42µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-22T11:22:22.020608023Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.021439815Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=833.612µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.025634073Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.026506335Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=872.542µs policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2023-11-22T11:22:22.031405361Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.03252371Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.119679ms grafana | logger=migrator t=2023-11-22T11:22:22.036333528Z 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 toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.037391116Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.057017ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.042792565Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.043984495Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.19179ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.051309084Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2023-11-22T11:22:22.052478424Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.17022ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.05542189Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.055487732Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=66.641µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.061054995Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.061935498Z level=info msg="Migration successfully executed" id="create test_data table" duration=880.462µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.066955887Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2023-11-22T11:22:22.067760618Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=808.16µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.072858669Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-22T11:22:22.073543626Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=686.827µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.080107755Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.081724867Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.618332ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.085235317Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2023-11-22T11:22:22.085579556Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=345.919µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.088181643Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.088679626Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=497.643µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.091443967Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.091511869Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=68.672µs policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2023-11-22T11:22:22.096552239Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.097552645Z level=info msg="Migration successfully executed" id="create team table" duration=1.001626ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.100709576Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.101828745Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.119149ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.104988416Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.106148406Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.15986ms policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2023-11-22T11:22:22.110897128Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.117272432Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.374914ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-22T11:22:22.121292916Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.121486421Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=194.155µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.123727309Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.124709714Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=981.895µs policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2023-11-22T11:22:22.129632661Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.130129653Z level=info msg="Migration successfully executed" id="create team member table" duration=497.192µs grafana | logger=migrator t=2023-11-22T11:22:22.133024238Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.133648924Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=624.606µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.136751504Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2023-11-22T11:22:22.13814365Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.391316ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.145064258Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.14667799Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.613191ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.150490588Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.15640406Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.914762ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.161502121Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2023-11-22T11:22:22.165986637Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.484886ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.170268277Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-22T11:22:22.173473069Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=3.204982ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.176327193Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.177173505Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=845.732µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.180362987Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2023-11-22T11:22:22.18126387Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=900.563µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.187947952Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.189326718Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.384636ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.193172537Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.194399718Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.226671ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.199089049Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2023-11-22T11:22:22.20029948Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.210801ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.205591146Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.206834038Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.243042ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.20960577Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.211032627Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.426086ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.21387581Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2023-11-22T11:22:22.215012459Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.135629ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.220844199Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.221301251Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=457.102µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.224224016Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.224445132Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=220.976µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.231290418Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2023-11-22T11:22:22.232465658Z level=info msg="Migration successfully executed" id="create tag table" duration=1.17453ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.241954173Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-22T11:22:22.243570524Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.614101ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.246436668Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.247707181Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.269763ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.255501712Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.256425925Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=923.803µ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=2023-11-22T11:22:22.259865174Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.261465015Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.599261ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.26592802Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.287939857Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=22.013937ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2023-11-22T11:22:22.294209088Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.295142912Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=938.014µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.300929671Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.301936147Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.006366ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.3051539Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.305633462Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=479.392µs policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2023-11-22T11:22:22.310772705Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.311779081Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.005766ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.315958908Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.316748589Z level=info msg="Migration successfully executed" id="create user auth table" duration=789.551µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.319934841Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.321562203Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.627901ms policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2023-11-22T11:22:22.325640238Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.32575427Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=115.973µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-22T11:22:22.332424992Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.341311681Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.887049ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.345065588Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.350090547Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.024969ms policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2023-11-22T11:22:22.35485723Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.361692356Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.833426ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.367217908Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.374017963Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.800225ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.378372175Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.379195947Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=822.391µs policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2023-11-22T11:22:22.38322504Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.38827766Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.04835ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.391834812Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.392586751Z level=info msg="Migration successfully executed" id="create server_lock table" duration=751.639µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.397763525Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.398619167Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=856.132µs policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2023-11-22T11:22:22.403544063Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.404297363Z level=info msg="Migration successfully executed" id="create user auth token table" duration=755.53µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-22T11:22:22.408269225Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.409538138Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.268813ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.417924554Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.418719494Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=796.4µs policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2023-11-22T11:22:22.422476181Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.423871197Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.392636ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2023-11-22T11:22:22.430288332Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.435795274Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.506812ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.438619947Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.439576371Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=956.794µs policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2023-11-22T11:22:22.442832835Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.443614715Z level=info msg="Migration successfully executed" id="create cache_data table" duration=779.14µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-22T11:22:22.449037305Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.450183274Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.145379ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.455138752Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2023-11-22T11:22:22.456014144Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=875.552µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.460236423Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-22T11:22:22.461306041Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.072408ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-22T11:22:22.466427963Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.466604087Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=176.674µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.470093957Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.47021018Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=116.663µs policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-11-22T11:22:22.47605131Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.477491257Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.438997ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2023-11-22T11:22:22.48265451Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.484045346Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.391126ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.489434455Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.490713638Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.279013ms policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-11-22T11:22:22.494526376Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.494618699Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=92.862µs policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-11-22T11:22:22.499790692Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.501577318Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.783525ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.50905748Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.510878337Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.820337ms policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-11-22T11:22:22.518414391Z 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=2023-11-22T11:22:22.519479499Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.064848ms policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-11-22T11:22:22.52225131Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.523329028Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.079398ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.529206029Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.535002598Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.796339ms policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-11-22T11:22:22.541889166Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.543170639Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.281393ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2023-11-22T11:22:22.549254765Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.549463831Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=207.656µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.554449779Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.555942488Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.489308ms policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-11-22T11:22:22.561149202Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.562481656Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.333015ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2023-11-22T11:22:22.567602798Z 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=2023-11-22T11:22:22.568896701Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.292033ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.572991046Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.573100519Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=109.763µs policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-11-22T11:22:22.580060058Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.581079975Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.020127ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2023-11-22T11:22:22.586628968Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.588201678Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.57263ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.594334766Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.595597009Z 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.261622ms policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-11-22T11:22:22.60070831Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.6037968Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=3.083139ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2023-11-22T11:22:22.607837224Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.619700689Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=11.860395ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.623205989Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-11-22T11:22:22.624304898Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.100879ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.628748652Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2023-11-22T11:22:22.629618165Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=869.892µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.632719874Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.675570148Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=42.844894ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.681556002Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-11-22T11:22:22.72070777Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=39.150108ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.726060378Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2023-11-22T11:22:22.72691258Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=852.162µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.731508528Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.733289104Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.780226ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.737749359Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-11-22T11:22:22.743424305Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.675386ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.750958709Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2023-11-22T11:22:22.751855882Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=897.633µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.758059862Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.759507149Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.445467ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.764360284Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2023-11-22T11:22:22.765514034Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.15336ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.77120929Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2023-11-22T11:22:22.772614436Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.404666ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.777690137Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.77818856Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=528.694µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.788182697Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-11-22T11:22:22.797273701Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.089744ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.803585074Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2023-11-22T11:22:22.811341374Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=7.75619ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.868343631Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.876304346Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=7.964315ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.880650448Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-11-22T11:22:22.881938451Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.287463ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.889679751Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-22T11:22:22.891443516Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.762245ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.897176424Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.907101649Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=9.927255ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.915637749Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-11-22T11:22:22.925474742Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=9.829983ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.931025785Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-22T11:22:22.932115073Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.088548ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.937698687Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.9448162Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.119703ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.950200919Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-11-22T11:22:22.954747006Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.546357ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.958993645Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-22T11:22:22.959089898Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=100.023µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.963626325Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.964694542Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.068497ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.971077617Z 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 | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-11-22T11:22:22.972245807Z 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.16582ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.977964084Z 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 | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-22T11:22:22.979451192Z 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.486488ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:22.986537205Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.986622307Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=86.312µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:22.992618441Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-11-22T11:22:22.999377905Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.760814ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.003926303Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-22T11:22:23.008423757Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.498084ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.012598042Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.018746221Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.148029ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.024644674Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-11-22T11:22:23.030724831Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.079657ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.03576327Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-22T11:22:23.046480675Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=10.713555ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.051494193Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.051556855Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=63.362µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.054397303Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-11-22T11:22:23.054957439Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=560.666µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.060314976Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-22T11:22:23.066895257Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.580081ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.085773607Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.085911491Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=140.854µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.092451271Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-11-22T11:22:23.1018548Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.406159ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.107571887Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-22T11:22:23.108775641Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.203223ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.115674951Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.122272482Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.600382ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.126060367Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-11-22T11:22:23.12655848Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=498.074µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.13089439Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-22T11:22:23.131579719Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=684.858µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.139375223Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.14580064Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.425307ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.150124109Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-11-22T11:22:23.151057135Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=933.766µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.15596651Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-22T11:22:23.156958347Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=991.287µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.163347813Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.164640519Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.292876ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.169682848Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-11-22T11:22:23.171433536Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.749658ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.177078881Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-22T11:22:23.177146853Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=68.522µs 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=2023-11-22T11:22:23.18139976Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.182923972Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.525512ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.187741455Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.189295368Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.553793ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2023-11-22T11:22:23.195269092Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.195698144Z 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 | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2023-11-22T11:22:23.201070342Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.201755091Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=684.929µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.206641015Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.208411524Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.769879ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2023-11-22T11:22:23.213911266Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.221476104Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.565288ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-11-22T11:22:23.226261196Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.227085108Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=823.602µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.231646064Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.233022782Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.375988ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2023-11-22T11:22:23.238702158Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.239530101Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=827.533µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-11-22T11:22:23.244512168Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.246448482Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.935684ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.251502991Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.252692414Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.189492ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2023-11-22T11:22:23.258219656Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.258245826Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=26.75µs policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2023-11-22T11:22:23.262343849Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.262519714Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=175.415µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.267350257Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.267932633Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=582.066µs policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2023-11-22T11:22:23.272772586Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.274216986Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.44432ms policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2023-11-22T11:22:23.278646528Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.279411759Z level=info msg="Migration successfully executed" id="create secrets table" duration=764.561µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.28271945Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.327974197Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.254446ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2023-11-22T11:22:23.33208156Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.337103608Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.021598ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.341673584Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.341824688Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=151.494µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2023-11-22T11:22:23.345924571Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.390511749Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=44.587368ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2023-11-22T11:22:23.394402166Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.4403111Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.908684ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.444943868Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.445586725Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=641.288µs policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-22T11:22:23.448835965Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.449921725Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.08471ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2023-11-22T11:22:23.453206125Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.453407261Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=201.396µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.456320121Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:22:23.457052801Z level=info msg="Migration successfully executed" id="create permission table" duration=732.81µs policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-22T11:22:23.468969729Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.471022116Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.032626ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.474957944Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-22T11:22:23.476724393Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.765529ms grafana | logger=migrator t=2023-11-22T11:22:23.480416344Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-22T11:22:23.481179355Z level=info msg="Migration successfully executed" id="create role table" duration=762.771µs grafana | logger=migrator t=2023-11-22T11:22:23.485418492Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-22T11:22:23.496860737Z level=info msg="Migration successfully executed" id="add column display_name" duration=11.442255ms grafana | logger=migrator t=2023-11-22T11:22:23.50023796Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-22T11:22:23.506795211Z level=info msg="Migration successfully executed" id="add column group_name" duration=6.554341ms grafana | logger=migrator t=2023-11-22T11:22:23.51111068Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-22T11:22:23.512147488Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.036619ms grafana | logger=migrator t=2023-11-22T11:22:23.515787278Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-22T11:22:23.516834527Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.046839ms grafana | logger=migrator t=2023-11-22T11:22:23.520043595Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-22T11:22:23.521059453Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.015768ms grafana | logger=migrator t=2023-11-22T11:22:23.52420958Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-22T11:22:23.525006472Z level=info msg="Migration successfully executed" id="create team role table" duration=796.742µs grafana | logger=migrator t=2023-11-22T11:22:23.529989689Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-22T11:22:23.531554212Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.562593ms grafana | logger=migrator t=2023-11-22T11:22:23.535387988Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-22T11:22:23.537282Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.896862ms grafana | logger=migrator t=2023-11-22T11:22:23.542510884Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-22T11:22:23.543239944Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=729.28µs grafana | logger=migrator t=2023-11-22T11:22:23.546671589Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-22T11:22:23.547720098Z level=info msg="Migration successfully executed" id="create user role table" duration=1.046429ms grafana | logger=migrator t=2023-11-22T11:22:23.551640026Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-22T11:22:23.55327068Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.630655ms grafana | logger=migrator t=2023-11-22T11:22:23.55653734Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-22T11:22:23.557818796Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.280656ms grafana | logger=migrator t=2023-11-22T11:22:23.562231267Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-22T11:22:23.563350808Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.119371ms grafana | logger=migrator t=2023-11-22T11:22:23.569146888Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-22T11:22:23.570396352Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.249474ms grafana | logger=migrator t=2023-11-22T11:22:23.576336736Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-22T11:22:23.577471947Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.133001ms grafana | logger=migrator t=2023-11-22T11:22:23.582051063Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-22T11:22:23.58340389Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.353337ms grafana | logger=migrator t=2023-11-22T11:22:23.586911517Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-22T11:22:23.594689161Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.777004ms grafana | logger=migrator t=2023-11-22T11:22:23.59793593Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-22T11:22:23.599058811Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.122591ms grafana | logger=migrator t=2023-11-22T11:22:23.603547235Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-22T11:22:23.604694857Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.147281ms grafana | logger=migrator t=2023-11-22T11:22:23.607988437Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-22T11:22:23.609303333Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.314606ms grafana | logger=migrator t=2023-11-22T11:22:23.612901872Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-22T11:22:23.614030764Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.129092ms grafana | logger=migrator t=2023-11-22T11:22:23.618401804Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-22T11:22:23.619204686Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=802.152µs grafana | logger=migrator t=2023-11-22T11:22:23.629373846Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-22T11:22:23.631202326Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.82974ms grafana | logger=migrator t=2023-11-22T11:22:23.641421298Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-22T11:22:23.653931002Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=12.510014ms grafana | logger=migrator t=2023-11-22T11:22:23.662276742Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-22T11:22:23.675417174Z level=info msg="Migration successfully executed" id="permission kind migration" duration=13.140602ms grafana | logger=migrator t=2023-11-22T11:22:23.684206156Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-11-22T11:22:23.694287314Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=10.080347ms grafana | logger=migrator t=2023-11-22T11:22:23.700907776Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-22T11:22:23.711277761Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=10.369925ms grafana | logger=migrator t=2023-11-22T11:22:23.721723289Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-22T11:22:23.723178949Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.45706ms grafana | logger=migrator t=2023-11-22T11:22:23.727455947Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-22T11:22:23.728448984Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=993.377µs grafana | logger=migrator t=2023-11-22T11:22:23.731684493Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-22T11:22:23.732821385Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.135332ms grafana | logger=migrator t=2023-11-22T11:22:23.737145164Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-22T11:22:23.737209416Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=64.451µs grafana | logger=migrator t=2023-11-22T11:22:23.739739475Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-22T11:22:23.739768176Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=32.081µs grafana | logger=migrator t=2023-11-22T11:22:23.742564463Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-22T11:22:23.742963294Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=399.181µs grafana | logger=migrator t=2023-11-22T11:22:23.747247852Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-22T11:22:23.747871559Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=624.387µs grafana | logger=migrator t=2023-11-22T11:22:23.750994895Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-22T11:22:23.751589971Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=595.536µs grafana | logger=migrator t=2023-11-22T11:22:23.754543673Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-22T11:22:23.754731768Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=186.665µs grafana | logger=migrator t=2023-11-22T11:22:23.758821991Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-22T11:22:23.759111559Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=289.798µs grafana | logger=migrator t=2023-11-22T11:22:23.764426335Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-22T11:22:23.765160525Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=734.03µs grafana | logger=migrator t=2023-11-22T11:22:23.787013947Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-22T11:22:23.788888499Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.874111ms grafana | logger=migrator t=2023-11-22T11:22:23.792888309Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-22T11:22:23.801538977Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.645308ms grafana | logger=migrator t=2023-11-22T11:22:23.8063795Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-22T11:22:23.806451672Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=73.152µs grafana | logger=migrator t=2023-11-22T11:22:23.81183015Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-22T11:22:23.812692624Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=862.994µs grafana | logger=migrator t=2023-11-22T11:22:23.816976032Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-22T11:22:23.818827113Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.851451ms grafana | logger=migrator t=2023-11-22T11:22:23.823743428Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-22T11:22:23.824783557Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.039979ms grafana | logger=migrator t=2023-11-22T11:22:23.829309492Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-22T11:22:23.837461886Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.151754ms grafana | logger=migrator t=2023-11-22T11:22:23.842180126Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-22T11:22:23.843183934Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.006608ms grafana | logger=migrator t=2023-11-22T11:22:23.846617208Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-22T11:22:23.847637016Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.019768ms grafana | logger=migrator t=2023-11-22T11:22:23.852103299Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-22T11:22:23.884316156Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=32.212807ms grafana | logger=migrator t=2023-11-22T11:22:23.887285368Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-22T11:22:23.888027939Z level=info msg="Migration successfully executed" id="create correlation v2" duration=741.37µs grafana | logger=migrator t=2023-11-22T11:22:23.891830073Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-22T11:22:23.892636955Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=808.242µs grafana | logger=migrator t=2023-11-22T11:22:23.895445773Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-22T11:22:23.896651326Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.205303ms policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:22:23.899824173Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-22T11:22:23.900937204Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.112571ms grafana | logger=migrator t=2023-11-22T11:22:23.905224912Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-22T11:22:23.905482499Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=259.917µs grafana | logger=migrator t=2023-11-22T11:22:23.907998748Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-22T11:22:23.908747309Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=748.611µs grafana | logger=migrator t=2023-11-22T11:22:23.912444141Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-22T11:22:23.924185504Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.741413ms grafana | logger=migrator t=2023-11-22T11:22:23.928974376Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-22T11:22:23.930362114Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.387578ms grafana | logger=migrator t=2023-11-22T11:22:23.933921712Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-22T11:22:23.935524656Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.602454ms grafana | logger=migrator t=2023-11-22T11:22:23.939924248Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-22T11:22:23.940405261Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-22T11:22:23.943220628Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-22T11:22:23.943767623Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-22T11:22:23.946750336Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-22T11:22:23.947584399Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=836.293µs grafana | logger=migrator t=2023-11-22T11:22:23.950633382Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-22T11:22:23.95161586Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=981.387µs grafana | logger=migrator t=2023-11-22T11:22:23.955495066Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-22T11:22:23.956641348Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.149462ms grafana | logger=migrator t=2023-11-22T11:22:23.95961077Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-22T11:22:23.960773212Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.163992ms grafana | logger=migrator t=2023-11-22T11:22:23.963799225Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-22T11:22:23.964866104Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.066939ms grafana | logger=migrator t=2023-11-22T11:22:23.968599727Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-22T11:22:23.969666997Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.06721ms grafana | logger=migrator t=2023-11-22T11:22:23.972809613Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-22T11:22:23.973637486Z level=info msg="Migration successfully executed" id="Drop public config table" duration=827.353µs grafana | logger=migrator t=2023-11-22T11:22:23.977898333Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-22T11:22:23.978974013Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.07512ms grafana | logger=migrator t=2023-11-22T11:22:23.982365686Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-22T11:22:23.98358867Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.225154ms grafana | logger=migrator t=2023-11-22T11:22:23.987509758Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-22T11:22:23.988640939Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.130931ms grafana | logger=migrator t=2023-11-22T11:22:23.991714434Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-22T11:22:23.992772372Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.057438ms grafana | logger=migrator t=2023-11-22T11:22:23.995774084Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-22T11:22:24.02831202Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.537846ms grafana | logger=migrator t=2023-11-22T11:22:24.032472065Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-22T11:22:24.040697802Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.225006ms grafana | logger=migrator t=2023-11-22T11:22:24.043809117Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-22T11:22:24.049904495Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.094828ms grafana | logger=migrator t=2023-11-22T11:22:24.052890997Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-22T11:22:24.053108653Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=217.476µs grafana | logger=migrator t=2023-11-22T11:22:24.056178908Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-22T11:22:24.064493597Z level=info msg="Migration successfully executed" id="add share column" duration=8.313819ms grafana | logger=migrator t=2023-11-22T11:22:24.068696963Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-22T11:22:24.068946079Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=245.837µs policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:28 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 grafana | logger=migrator t=2023-11-22T11:22:24.072077736Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-22T11:22:24.072897108Z level=info msg="Migration successfully executed" id="create file table" duration=819.292µs grafana | logger=migrator t=2023-11-22T11:22:24.076467607Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-22T11:22:24.077575297Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.106551ms grafana | logger=migrator t=2023-11-22T11:22:24.081780493Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-22T11:22:24.082836352Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.055849ms grafana | logger=migrator t=2023-11-22T11:22:24.086586965Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-22T11:22:24.087303555Z level=info msg="Migration successfully executed" id="create file_meta table" duration=716.34µs grafana | logger=migrator t=2023-11-22T11:22:24.090454112Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-22T11:22:24.091642084Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.187512ms grafana | logger=migrator t=2023-11-22T11:22:24.097229468Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-22T11:22:24.09730586Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=77.302µs grafana | logger=migrator t=2023-11-22T11:22:24.100671223Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-22T11:22:24.100736975Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=67.102µs grafana | logger=migrator t=2023-11-22T11:22:24.103973424Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-22T11:22:24.10454326Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=570.136µs grafana | logger=migrator t=2023-11-22T11:22:24.107786649Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-22T11:22:24.108165889Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=379.16µs grafana | logger=migrator t=2023-11-22T11:22:24.112066827Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-22T11:22:24.112825268Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=757.611µs grafana | logger=migrator t=2023-11-22T11:22:24.115743078Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-22T11:22:24.124692104Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.948616ms grafana | logger=migrator t=2023-11-22T11:22:24.127876842Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-22T11:22:24.127992645Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=115.703µs grafana | logger=migrator t=2023-11-22T11:22:24.131037179Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-22T11:22:24.131878302Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=841.123µs grafana | logger=migrator t=2023-11-22T11:22:24.135591235Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-22T11:22:24.136039527Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=447.082µs grafana | logger=migrator t=2023-11-22T11:22:24.138667359Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-22T11:22:24.138864265Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=197.086µs grafana | logger=migrator t=2023-11-22T11:22:24.141899638Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-22T11:22:24.142349091Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=449.823µs grafana | logger=migrator t=2023-11-22T11:22:24.146472534Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-22T11:22:24.154974058Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.501264ms grafana | logger=migrator t=2023-11-22T11:22:24.158009892Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-22T11:22:24.166502916Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.492524ms grafana | logger=migrator t=2023-11-22T11:22:24.169398806Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-22T11:22:24.170464035Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.06492ms grafana | logger=migrator t=2023-11-22T11:22:24.174405463Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-22T11:22:24.28540667Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=111.000067ms grafana | logger=migrator t=2023-11-22T11:22:24.289271506Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-22T11:22:24.290100169Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=828.343µs grafana | logger=migrator t=2023-11-22T11:22:24.293471522Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-22T11:22:24.294318935Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=846.033µs grafana | logger=migrator t=2023-11-22T11:22:24.298628444Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-22T11:22:24.334663886Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.034222ms grafana | logger=migrator t=2023-11-22T11:22:24.337945337Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-22T11:22:24.338126312Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=180.215µs grafana | logger=migrator t=2023-11-22T11:22:24.341286139Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:29 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:30 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2211231122280800u 1 2023-11-22 11:22:31 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:31 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:31 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:31 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:31 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:31 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:32 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:32 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:32 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:32 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:32 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:32 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:32 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2211231122280900u 1 2023-11-22 11:22:32 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2211231122281000u 1 2023-11-22 11:22:32 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2211231122281000u 1 2023-11-22 11:22:32 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2211231122281000u 1 2023-11-22 11:22:32 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2211231122281000u 1 2023-11-22 11:22:32 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2211231122281000u 1 2023-11-22 11:22:32 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2211231122281000u 1 2023-11-22 11:22:32 grafana | logger=migrator t=2023-11-22T11:22:24.341438263Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=151.824µs grafana | logger=migrator t=2023-11-22T11:22:24.345474714Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-11-22T11:22:24.345731211Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=255.577µs grafana | logger=migrator t=2023-11-22T11:22:24.349405072Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-22T11:22:24.350951745Z level=info msg="Migration successfully executed" id="create folder table" duration=1.546003ms grafana | logger=migrator t=2023-11-22T11:22:24.354315067Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-22T11:22:24.35548721Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.171333ms grafana | logger=migrator t=2023-11-22T11:22:24.359383217Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-22T11:22:24.36058235Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.198953ms grafana | logger=migrator t=2023-11-22T11:22:24.363764598Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-22T11:22:24.363787998Z level=info msg="Migration successfully executed" id="Update folder title length" duration=24.54µs grafana | logger=migrator t=2023-11-22T11:22:24.366873553Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-22T11:22:24.368079447Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.204973ms grafana | logger=migrator t=2023-11-22T11:22:24.371944773Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-22T11:22:24.372989712Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.045029ms grafana | logger=migrator t=2023-11-22T11:22:24.376305373Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-22T11:22:24.378444452Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.136859ms grafana | logger=migrator t=2023-11-22T11:22:24.38201055Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-22T11:22:24.382907375Z level=info msg="Migration successfully executed" id="create anon_device table" duration=896.575µs grafana | logger=migrator t=2023-11-22T11:22:24.387212603Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-22T11:22:24.388503529Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.291566ms grafana | logger=migrator t=2023-11-22T11:22:24.391950604Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-22T11:22:24.393175458Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.224003ms grafana | logger=migrator t=2023-11-22T11:22:24.396278063Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-22T11:22:24.397086705Z level=info msg="Migration successfully executed" id="create signing_key table" duration=808.182µs grafana | logger=migrator t=2023-11-22T11:22:24.401225099Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-22T11:22:24.402381601Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.184273ms grafana | logger=migrator t=2023-11-22T11:22:24.406022111Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-22T11:22:24.407135062Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.113371ms grafana | logger=migrator t=2023-11-22T11:22:24.410420282Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-22T11:22:24.41070153Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=281.488µs grafana | logger=migrator t=2023-11-22T11:22:24.414657569Z level=info msg="migrations completed" performed=517 skipped=0 duration=3.698596575s grafana | logger=sqlstore t=2023-11-22T11:22:24.423972486Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-22T11:22:24.424241123Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-22T11:22:24.428644854Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-22T11:22:24.48259271Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-22T11:22:24.484883513Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-22T11:22:24.495814144Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-22T11:22:26.699218005Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-22T11:22:26.701694599Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-22T11:22:26.719746249Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-22T11:22:26.71977446Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-11-22T11:22:26.720028186Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-11-22T11:22:26.720142299Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-11-22T11:22:26.725367003Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.migration t=2023-11-22T11:22:26.748195615Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-22T11:22:26.748822291Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:22:26.749107828Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:22:26.749610281Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:22:26.750037142Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-22T11:22:26.762769047Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2023-11-22T11:22:26.76288717Z level=info msg="Update check succeeded" duration=37.263941ms grafana | logger=ngalert.migration t=2023-11-22T11:22:26.782005887Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:22:26.782560062Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:22:26.783186848Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:22:26.783871645Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-22T11:22:26.787713223Z level=info msg="Completed legacy migration" grafana | logger=plugins.update.checker t=2023-11-22T11:22:26.805317092Z level=info msg="Update check succeeded" duration=68.347644ms grafana | logger=ngalert.state.manager t=2023-11-22T11:22:26.844014079Z level=info msg="State cache has been initialized" states=0 duration=123.86698ms grafana | logger=ngalert.scheduler t=2023-11-22T11:22:26.844067181Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-22T11:22:26.844346938Z level=info msg=starting first_tick=2023-11-22T11:22:30Z grafana | logger=ngalert.multiorg.alertmanager t=2023-11-22T11:22:26.844314727Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2211231122281000u 1 2023-11-22 11:22:32 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2211231122281000u 1 2023-11-22 11:22:32 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2211231122281000u 1 2023-11-22 11:22:32 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2211231122281100u 1 2023-11-22 11:22:32 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2211231122281200u 1 2023-11-22 11:22:32 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2211231122281200u 1 2023-11-22 11:22:32 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2211231122281200u 1 2023-11-22 11:22:32 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2211231122281200u 1 2023-11-22 11:22:32 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2211231122281300u 1 2023-11-22 11:22:32 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2211231122281300u 1 2023-11-22 11:22:32 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2211231122281300u 1 2023-11-22 11:22:32 policy-db-migrator | policyadmin: OK @ 1300 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing policy-api ... done Removing prometheus ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.WPOjDwBNfr ]] + rsync -av /tmp/tmp.WPOjDwBNfr/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,189 bytes received 95 bytes 2,690,568.00 bytes/sec total size is 1,344,543 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2047 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins8483396835967192770.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins1593619473675767990.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-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-master-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-master-project-csit-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins13134246850033159003.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CHgY from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-CHgY/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins425105971794652485.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config11263084693968601516tmp 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-master-project-csit-api] $ /bin/bash /tmp/jenkins7828000696481454805.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins17097780661807352252.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CHgY from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-CHgY/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins12473817702813479631.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins12621201557360080134.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CHgY from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-CHgY/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins17501256023948512211.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CHgY from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-CHgY/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1426 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-2913 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 818 27325 0 4022 30892 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 fq_codel state UP group default qlen 1000 link/ether fa:16:3e:6b:6a:81 brd ff:ff:ff:ff:ff:ff inet 10.30.106.86/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86063sec preferred_lft 86063sec inet6 fe80::f816:3eff:fe6b:6a81/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:14:9c:fa:46 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-2913) 11/22/23 _x86_64_ (8 CPU) 11:19:30 LINUX RESTART (8 CPU) 11:20:01 tps rtps wtps bread/s bwrtn/s 11:21:01 107.75 40.11 67.64 1818.76 10090.32 11:22:01 121.86 22.90 98.97 2735.81 16869.59 11:23:01 377.82 13.36 364.46 830.69 67231.71 11:24:01 5.32 0.02 5.30 4.27 3186.00 11:25:01 52.86 2.43 50.42 135.58 7017.23 Average: 133.12 15.76 117.36 1105.02 20878.97 11:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:21:01 30157716 31751380 2781504 8.44 68536 1835984 1389676 4.09 824536 1672028 171504 11:22:01 28911740 31686956 4027480 12.23 100344 2948036 1558284 4.58 972560 2689032 897104 11:23:01 26892932 30577072 6046288 18.36 127524 3778372 4279816 12.59 2172152 3423052 1276 11:24:01 26949828 30635044 5989392 18.18 127568 3779196 4347220 12.79 2115564 3422792 16 11:25:01 27981188 31633824 4958032 15.05 131880 3751344 1469748 4.32 1154364 3378476 55300 Average: 28178681 31256855 4760539 14.45 111170 3218586 2608949 7.68 1447835 2917076 225040 11:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:21:01 ens3 161.79 104.85 1116.99 32.43 0.00 0.00 0.00 0.00 11:21:01 lo 1.40 1.40 0.15 0.15 0.00 0.00 0.00 0.00 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 ens3 176.24 117.43 4747.46 13.20 0.00 0.00 0.00 0.00 11:22:01 br-5e1e59fab6c6 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 lo 5.80 5.80 0.54 0.54 0.00 0.00 0.00 0.00 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 veth67fc6c7 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 11:23:01 vethfaa79a0 130.64 159.86 114.57 38.96 0.00 0.00 0.00 0.01 11:23:01 ens3 166.21 106.03 5366.53 8.68 0.00 0.00 0.00 0.00 11:23:01 br-5e1e59fab6c6 3.63 4.13 6.17 2.52 0.00 0.00 0.00 0.00 11:24:01 veth67fc6c7 0.73 1.03 0.10 0.88 0.00 0.00 0.00 0.00 11:24:01 vethfaa79a0 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 ens3 2.87 2.53 0.54 0.69 0.00 0.00 0.00 0.00 11:24:01 br-5e1e59fab6c6 1.77 1.95 0.14 0.18 0.00 0.00 0.00 0.00 11:25:01 ens3 73.27 51.79 123.74 26.08 0.00 0.00 0.00 0.00 11:25:01 lo 32.36 32.36 10.50 10.50 0.00 0.00 0.00 0.00 11:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 116.07 76.53 2271.05 16.22 0.00 0.00 0.00 0.00 Average: lo 5.70 5.70 2.03 2.03 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 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2913) 11/22/23 _x86_64_ (8 CPU) 11:19:30 LINUX RESTART (8 CPU) 11:20:01 CPU %user %nice %system %iowait %steal %idle 11:21:01 all 10.08 0.00 0.86 2.28 0.03 86.76 11:21:01 0 8.76 0.00 1.10 2.49 0.03 87.61 11:21:01 1 18.58 0.00 1.65 0.37 0.03 79.37 11:21:01 2 1.57 0.00 0.48 5.36 0.02 92.58 11:21:01 3 1.30 0.00 0.20 2.68 0.00 95.82 11:21:01 4 4.02 0.00 0.52 3.22 0.03 92.22 11:21:01 5 0.63 0.00 0.35 0.00 0.02 99.00 11:21:01 6 22.47 0.00 0.92 3.77 0.03 72.81 11:21:01 7 23.34 0.00 1.69 0.32 0.05 74.61 11:22:01 all 11.65 0.00 1.70 0.90 0.04 85.70 11:22:01 0 2.91 0.00 1.12 3.04 0.03 92.89 11:22:01 1 22.91 0.00 2.67 0.45 0.03 73.94 11:22:01 2 4.82 0.00 1.08 0.27 0.02 93.82 11:22:01 3 2.21 0.00 1.56 0.84 0.03 95.36 11:22:01 4 6.98 0.00 1.31 1.25 0.05 90.41 11:22:01 5 8.45 0.00 1.39 0.02 0.02 90.13 11:22:01 6 25.02 0.00 2.34 0.55 0.05 72.03 11:22:01 7 19.98 0.00 2.15 0.82 0.05 76.99 11:23:01 all 18.62 0.00 3.32 2.45 0.07 75.55 11:23:01 0 15.74 0.00 3.16 2.69 0.05 78.36 11:23:01 1 17.46 0.00 3.94 8.98 0.08 69.54 11:23:01 2 19.78 0.00 2.84 2.61 0.07 74.71 11:23:01 3 22.79 0.00 3.58 1.33 0.07 72.23 11:23:01 4 22.00 0.00 3.68 0.27 0.07 73.98 11:23:01 5 19.47 0.00 3.32 1.11 0.07 76.04 11:23:01 6 10.43 0.00 2.43 0.62 0.07 86.45 11:23:01 7 21.31 0.00 3.64 1.92 0.07 73.06 11:24:01 all 0.16 0.00 0.07 0.05 0.01 99.70 11:24:01 0 0.08 0.00 0.08 0.00 0.02 99.82 11:24:01 1 0.37 0.00 0.13 0.00 0.03 99.47 11:24:01 2 0.22 0.00 0.05 0.42 0.02 99.30 11:24:01 3 0.08 0.00 0.07 0.00 0.00 99.85 11:24:01 4 0.08 0.00 0.03 0.03 0.02 99.83 11:24:01 5 0.12 0.00 0.10 0.00 0.03 99.75 11:24:01 6 0.33 0.00 0.08 0.00 0.00 99.58 11:24:01 7 0.08 0.00 0.03 0.00 0.02 99.87 11:25:01 all 9.04 0.00 0.76 0.35 0.03 89.83 11:25:01 0 15.19 0.00 0.78 0.12 0.03 83.87 11:25:01 1 4.94 0.00 0.62 0.50 0.02 93.93 11:25:01 2 13.64 0.00 1.04 0.57 0.02 84.73 11:25:01 3 1.42 0.00 0.73 0.68 0.03 97.13 11:25:01 4 19.37 0.00 1.23 0.12 0.03 79.25 11:25:01 5 3.56 0.00 0.45 0.33 0.02 95.64 11:25:01 6 1.19 0.00 0.43 0.10 0.03 98.25 11:25:01 7 12.99 0.00 0.70 0.37 0.03 85.90 Average: all 9.90 0.00 1.34 1.20 0.03 87.53 Average: 0 8.53 0.00 1.25 1.66 0.03 88.53 Average: 1 12.85 0.00 1.80 2.05 0.04 83.26 Average: 2 7.99 0.00 1.10 1.84 0.03 89.05 Average: 3 5.52 0.00 1.22 1.11 0.03 92.13 Average: 4 10.47 0.00 1.35 0.98 0.04 87.16 Average: 5 6.42 0.00 1.12 0.29 0.03 92.14 Average: 6 11.88 0.00 1.24 1.01 0.04 85.83 Average: 7 15.52 0.00 1.64 0.68 0.04 82.12