Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-5534 (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-P5ve5F1NklTN/agent.2084 SSH_AGENT_PID=2086 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_15617764188404548917.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_15617764188404548917.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 fbfc234895c48282e2e92b44c8c8b49745e81745 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f fbfc234895c48282e2e92b44c8c8b49745e81745 # timeout=30 Commit message: "Improve CSIT helm charts" > git rev-list --no-walk fbfc234895c48282e2e92b44c8c8b49745e81745 # 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/jenkins4449908842122110713.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-mvag 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-mvag/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-mvag/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.42 botocore==1.34.42 bs4==0.0.2 cachetools==5.3.2 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.5.0 docker==4.2.2 dogpile.cache==1.3.1 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.27.0 httplib2==0.22.0 identify==2.5.34 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.1.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==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.0 pytz==2024.1 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.2 typing_extensions==4.9.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins7926425890745197900.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/jenkins1226028568705530467.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.VmnzRy2Emv ++ echo ROBOT_VENV=/tmp/tmp.VmnzRy2Emv +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.VmnzRy2Emv ++ source /tmp/tmp.VmnzRy2Emv/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.VmnzRy2Emv +++ 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.VmnzRy2Emv/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.VmnzRy2Emv) ' '!=' x ']' +++ PS1='(tmp.VmnzRy2Emv) ' +++ 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.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.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.VmnzRy2Emv/src/onap ++ rm -rf /tmp/tmp.VmnzRy2Emv/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 'Installing python confluent-kafka library' Installing python confluent-kafka library ++ python3 -m pip install -qq confluent-kafka ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 confluent-kafka==2.3.0 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.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.VmnzRy2Emv/bin/activate + '[' -z /tmp/tmp.VmnzRy2Emv/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.VmnzRy2Emv/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.VmnzRy2Emv ++ 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.VmnzRy2Emv/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.VmnzRy2Emv) ' ++ '[' 'x(tmp.VmnzRy2Emv) ' '!=' x ']' ++ PS1='(tmp.VmnzRy2Emv) (tmp.VmnzRy2Emv) ' ++ 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.qwhtHH5yir + cd /tmp/tmp.qwhtHH5yir + 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.1.1-SNAPSHOT)... 3.1.1-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:bedafcd670058dc2d485934eb404bb04ce1a30b23cf7a567427a60ae561f25c7 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.1-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.1-SNAPSHOT)... 3.1.1-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:bbf3044dd101de99d940093be953f041397d02b2f17a70f8da7719c160735c2e Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.1-SNAPSHOT Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-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 mariadb Up 11 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-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 ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + 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:42 up 3 min, 0 users, load average: 2.57, 0.96, 0.36 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.6 us, 2.3 sy, 0.0 ni, 83.9 id, 2.1 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 4.2G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS a0bd79d3d54b policy-api 0.11% 577.8MiB / 31.41GiB 1.80% 999kB / 737kB 0B / 0B 54 f6982a13aeae grafana 0.04% 57.18MiB / 31.41GiB 0.18% 18.8kB / 3.25kB 0B / 24MB 20 4fc60c5d8d36 mariadb 0.02% 100.5MiB / 31.41GiB 0.31% 985kB / 1.17MB 11.2MB / 67.9MB 28 d90e82d01ea9 prometheus 0.00% 18.7MiB / 31.41GiB 0.06% 28.3kB / 934B 4.1kB / 0B 13 + echo + cd /tmp/tmp.qwhtHH5yir + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' + 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.qwhtHH5yir/output.xml Log: /tmp/tmp.qwhtHH5yir/log.html Report: /tmp/tmp.qwhtHH5yir/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 mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:23:54 up 4 min, 0 users, load average: 0.87, 0.81, 0.35 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.7 us, 1.8 sy, 0.0 ni, 86.8 id, 1.7 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 4.2G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS a0bd79d3d54b policy-api 0.14% 927.2MiB / 31.41GiB 2.88% 7.01MB / 2.57MB 0B / 0B 55 f6982a13aeae grafana 0.03% 63.01MiB / 31.41GiB 0.20% 19.7kB / 4.48kB 0B / 24MB 20 4fc60c5d8d36 mariadb 0.02% 101.5MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.2MB / 68.3MB 18 d90e82d01ea9 prometheus 0.26% 25.04MiB / 31.41GiB 0.08% 82.4kB / 7.43kB 4.1kB / 0B 13 + 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, mariadb, prometheus grafana | logger=settings t=2024-02-15T11:22:14.517709364Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-02-15T11:22:14Z grafana | logger=settings t=2024-02-15T11:22:14.518022304Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-15T11:22:14.518036284Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-15T11:22:14.518044774Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-15T11:22:14.518049074Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-15T11:22:14.518052924Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-15T11:22:14.518128244Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-15T11:22:14.518133394Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-15T11:22:14.518142144Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-15T11:22:14.518146524Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-15T11:22:14.518150424Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-15T11:22:14.518154144Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-15T11:22:14.518158064Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-15T11:22:14.518196354Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-15T11:22:14.518201074Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-15T11:22:14.518204794Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-15T11:22:14.518217714Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-15T11:22:14.518287814Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-15T11:22:14.518301374Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-15T11:22:14.518631284Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-15T11:22:14.518653144Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-02-15T11:22:14.519317104Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-02-15T11:22:14.520246495Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-02-15T11:22:14.521044495Z level=info msg="Migration successfully executed" id="create migration_log table" duration=797.8µs grafana | logger=migrator t=2024-02-15T11:22:14.526756926Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-02-15T11:22:14.527357156Z level=info msg="Migration successfully executed" id="create user table" duration=600.04µs grafana | logger=migrator t=2024-02-15T11:22:14.531225737Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-02-15T11:22:14.532611338Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.384561ms grafana | logger=migrator t=2024-02-15T11:22:14.537545119Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-02-15T11:22:14.538409919Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=862.26µs grafana | logger=migrator t=2024-02-15T11:22:14.54244823Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-02-15T11:22:14.54372979Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.28158ms grafana | logger=migrator t=2024-02-15T11:22:14.550701252Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-02-15T11:22:14.551985822Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.2845ms grafana | logger=migrator t=2024-02-15T11:22:14.555705143Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-02-15T11:22:14.561134704Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=5.467061ms grafana | logger=migrator t=2024-02-15T11:22:14.564987305Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-02-15T11:22:14.566000996Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.014311ms grafana | logger=migrator t=2024-02-15T11:22:14.570593587Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-02-15T11:22:14.571891357Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.29771ms grafana | logger=migrator t=2024-02-15T11:22:14.576875168Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-02-15T11:22:14.577704448Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=829µs grafana | logger=migrator t=2024-02-15T11:22:14.58285469Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-02-15T11:22:14.58337544Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=520.71µs grafana | logger=migrator t=2024-02-15T11:22:14.587889091Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-02-15T11:22:14.588485261Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=595.72µs grafana | logger=migrator t=2024-02-15T11:22:14.591897472Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-02-15T11:22:14.593794542Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.89678ms grafana | logger=migrator t=2024-02-15T11:22:14.597487493Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-02-15T11:22:14.597516343Z level=info msg="Migration successfully executed" id="Update user table charset" duration=25.35µs grafana | logger=migrator t=2024-02-15T11:22:14.600290384Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-02-15T11:22:14.601315794Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.02817ms grafana | logger=migrator t=2024-02-15T11:22:14.605710075Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-02-15T11:22:14.605997595Z level=info msg="Migration successfully executed" id="Add missing user data" duration=286.6µs grafana | logger=migrator t=2024-02-15T11:22:14.610015386Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-02-15T11:22:14.611922937Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.907901ms grafana | logger=migrator t=2024-02-15T11:22:14.615772947Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-02-15T11:22:14.617125438Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.352491ms grafana | logger=migrator t=2024-02-15T11:22:14.620861229Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-02-15T11:22:14.622142949Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.28169ms grafana | logger=migrator t=2024-02-15T11:22:14.62672727Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-02-15T11:22:14.640277143Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=13.551943ms grafana | logger=migrator t=2024-02-15T11:22:14.643805964Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-02-15T11:22:14.644301514Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=498.39µs grafana | logger=migrator t=2024-02-15T11:22:14.648152265Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-02-15T11:22:14.648868285Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=715.77µs grafana | logger=migrator t=2024-02-15T11:22:14.653630126Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-02-15T11:22:14.654363687Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=733.281µs grafana | logger=migrator t=2024-02-15T11:22:14.658366688Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-15T11:22:14.659161568Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=794.06µs grafana | logger=migrator t=2024-02-15T11:22:14.662869729Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-15T11:22:14.663856999Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=995.93µs grafana | logger=migrator t=2024-02-15T11:22:14.682810883Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-15T11:22:14.682918163Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=114.76µs grafana | logger=migrator t=2024-02-15T11:22:14.687429785Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-02-15T11:22:14.688360235Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=941.71µs grafana | logger=migrator t=2024-02-15T11:22:14.693224526Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-15T11:22:14.694314456Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.09175ms grafana | logger=migrator t=2024-02-15T11:22:14.698493147Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-15T11:22:14.699599757Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.10716ms grafana | logger=migrator t=2024-02-15T11:22:14.703113548Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-15T11:22:14.703772008Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=656.47µs grafana | logger=migrator t=2024-02-15T11:22:14.70870946Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-15T11:22:14.712620801Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.910821ms grafana | logger=migrator t=2024-02-15T11:22:14.716041791Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-02-15T11:22:14.716869782Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=832.801µs grafana | logger=migrator t=2024-02-15T11:22:14.720388912Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-15T11:22:14.721144463Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=752.461µs grafana | logger=migrator t=2024-02-15T11:22:14.726915334Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-15T11:22:14.728028694Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.10712ms grafana | logger=migrator t=2024-02-15T11:22:14.731266665Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-15T11:22:14.732397555Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.13064ms grafana | logger=migrator t=2024-02-15T11:22:14.736078506Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-15T11:22:14.736932496Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=853.55µs grafana | logger=migrator t=2024-02-15T11:22:14.742653558Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-15T11:22:14.743084528Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=431.31µs grafana | logger=migrator t=2024-02-15T11:22:14.746764309Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-15T11:22:14.747583719Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=820.36µs grafana | logger=migrator t=2024-02-15T11:22:14.75132968Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-15T11:22:14.75191094Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=581.06µs grafana | logger=migrator t=2024-02-15T11:22:14.755280161Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-15T11:22:14.755859121Z level=info msg="Migration successfully executed" id="create star table" duration=581.78µs grafana | logger=migrator t=2024-02-15T11:22:14.761013002Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-15T11:22:14.761879762Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=865.96µs grafana | logger=migrator t=2024-02-15T11:22:14.765275323Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-15T11:22:14.766332823Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.05722ms grafana | logger=migrator t=2024-02-15T11:22:14.771346435Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-02-15T11:22:14.772159395Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=811.3µs grafana | logger=migrator t=2024-02-15T11:22:14.778246096Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-15T11:22:14.778884796Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=638.71µs grafana | logger=migrator t=2024-02-15T11:22:14.782087017Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-15T11:22:14.783226207Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.13107ms grafana | logger=migrator t=2024-02-15T11:22:14.786631158Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-15T11:22:14.787508368Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=877.35µs grafana | logger=migrator t=2024-02-15T11:22:14.790774069Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-15T11:22:14.791504109Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=729.61µs grafana | logger=migrator t=2024-02-15T11:22:14.797532981Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-15T11:22:14.797569991Z level=info msg="Migration successfully executed" id="Update org table charset" duration=37.97µs grafana | logger=migrator t=2024-02-15T11:22:14.800317031Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-15T11:22:14.800367481Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=55µs grafana | logger=migrator t=2024-02-15T11:22:14.804786013Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-15T11:22:14.805042633Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=257.17µs grafana | logger=migrator t=2024-02-15T11:22:14.808863224Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-15T11:22:14.809864184Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.00034ms grafana | logger=migrator t=2024-02-15T11:22:14.815518235Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-15T11:22:14.816299305Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=780.61µs grafana | logger=migrator t=2024-02-15T11:22:14.819351676Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-02-15T11:22:14.820150936Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=798.66µs grafana | logger=migrator t=2024-02-15T11:22:14.823531297Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-02-15T11:22:14.824594377Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.06252ms grafana | logger=migrator t=2024-02-15T11:22:14.827909198Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-02-15T11:22:14.829148898Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.2424ms grafana | logger=migrator t=2024-02-15T11:22:14.83465616Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-02-15T11:22:14.83534893Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=692.54µs grafana | logger=migrator t=2024-02-15T11:22:14.838668311Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-02-15T11:22:14.849337253Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=10.668712ms grafana | logger=migrator t=2024-02-15T11:22:14.852842584Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-02-15T11:22:14.853291984Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=449.76µs grafana | logger=migrator t=2024-02-15T11:22:14.858506875Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-02-15T11:22:14.858999465Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=493.61µs grafana | logger=migrator t=2024-02-15T11:22:14.861979756Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-02-15T11:22:14.862760306Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=780.61µs grafana | logger=migrator t=2024-02-15T11:22:14.865802957Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-02-15T11:22:14.866136767Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=336.54µs grafana | logger=migrator t=2024-02-15T11:22:14.871635338Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-02-15T11:22:14.873047329Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.411311ms grafana | logger=migrator t=2024-02-15T11:22:14.87655863Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-02-15T11:22:14.87667318Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=115.21µs grafana | logger=migrator t=2024-02-15T11:22:14.880250501Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-02-15T11:22:14.882021421Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.7756ms grafana | logger=migrator t=2024-02-15T11:22:14.888328712Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-02-15T11:22:14.891312683Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.982871ms grafana | logger=migrator t=2024-02-15T11:22:14.895524684Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-02-15T11:22:14.897914205Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.390021ms grafana | logger=migrator t=2024-02-15T11:22:14.901353096Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-02-15T11:22:14.902137186Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=783.81µs grafana | logger=migrator t=2024-02-15T11:22:14.907434417Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-02-15T11:22:14.909187497Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.75405ms grafana | logger=migrator t=2024-02-15T11:22:14.912319408Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-02-15T11:22:14.913084008Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=763.94µs policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 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 | -------------- 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 | -------------- grafana | logger=migrator t=2024-02-15T11:22:14.916372579Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-02-15T11:22:14.917144589Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=771.45µs grafana | logger=migrator t=2024-02-15T11:22:14.925130091Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-02-15T11:22:14.925156801Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=27.1µs grafana | logger=migrator t=2024-02-15T11:22:14.927512632Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-02-15T11:22:14.927541562Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=29.59µs grafana | logger=migrator t=2024-02-15T11:22:14.930444172Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-02-15T11:22:14.932277263Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.830181ms grafana | logger=migrator t=2024-02-15T11:22:14.939154955Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-02-15T11:22:14.940953495Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.79802ms grafana | logger=migrator t=2024-02-15T11:22:14.944528276Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-02-15T11:22:14.946563516Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.03455ms grafana | logger=migrator t=2024-02-15T11:22:14.950051897Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-02-15T11:22:14.952251548Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.196121ms grafana | logger=migrator t=2024-02-15T11:22:14.955336858Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-02-15T11:22:14.955516468Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=179.79µs grafana | logger=migrator t=2024-02-15T11:22:14.96055274Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-02-15T11:22:14.96129147Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=738.26µs grafana | logger=migrator t=2024-02-15T11:22:14.964428261Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-02-15T11:22:14.965502481Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.07918ms grafana | logger=migrator t=2024-02-15T11:22:14.970089352Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-02-15T11:22:14.970133352Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=51.63µs grafana | logger=migrator t=2024-02-15T11:22:14.975795953Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-02-15T11:22:14.976562593Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=766.43µs grafana | logger=migrator t=2024-02-15T11:22:14.994840328Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-02-15T11:22:14.995835908Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=997.46µs grafana | logger=migrator t=2024-02-15T11:22:14.999879409Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-15T11:22:15.010534622Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=10.656163ms grafana | logger=migrator t=2024-02-15T11:22:15.015525775Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-02-15T11:22:15.015976676Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=450.671µs grafana | logger=migrator t=2024-02-15T11:22:15.026073221Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-02-15T11:22:15.027246834Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.173283ms grafana | logger=migrator t=2024-02-15T11:22:15.031343914Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-02-15T11:22:15.032629178Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.284434ms grafana | logger=migrator t=2024-02-15T11:22:15.038984124Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-02-15T11:22:15.039426115Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=441.631µs grafana | logger=migrator t=2024-02-15T11:22:15.042635553Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-02-15T11:22:15.043440775Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=804.862µs grafana | logger=migrator t=2024-02-15T11:22:15.046637253Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-02-15T11:22:15.048619278Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.976745ms grafana | logger=migrator t=2024-02-15T11:22:15.054002971Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-02-15T11:22:15.055714505Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.709574ms grafana | logger=migrator t=2024-02-15T11:22:15.059363355Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-02-15T11:22:15.059710825Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=347.05µs grafana | logger=migrator t=2024-02-15T11:22:15.064737788Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-02-15T11:22:15.064938619Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=197.011µs grafana | logger=migrator t=2024-02-15T11:22:15.068086656Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-02-15T11:22:15.068974859Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=888.003µs grafana | logger=migrator t=2024-02-15T11:22:15.071982806Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-02-15T11:22:15.074219262Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.236006ms grafana | logger=migrator t=2024-02-15T11:22:15.07738746Z level=info msg="Executing migration" id="create data_source table" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2024-02-15T11:22:28.844+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 20 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-02-15T11:22:28.846+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-02-15T11:22:30.527+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-02-15T11:22:30.630+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 90 ms. Found 6 JPA repository interfaces. policy-api | [2024-02-15T11:22:31.079+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 | [2024-02-15T11:22:31.079+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 | [2024-02-15T11:22:31.711+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-02-15T11:22:31.720+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-15T11:22:31.722+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-02-15T11:22:31.722+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.16] policy-api | [2024-02-15T11:22:31.810+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-02-15T11:22:31.810+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2901 ms policy-api | [2024-02-15T11:22:32.229+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-02-15T11:22:32.310+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-02-15T11:22:32.314+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-02-15T11:22:32.362+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-02-15T11:22:32.735+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-02-15T11:22:32.754+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-02-15T11:22:32.844+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b policy-api | [2024-02-15T11:22:32.846+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-02-15T11:22:32.874+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 | [2024-02-15T11:22:32.875+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-02-15T11:22:34.685+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-02-15T11:22:34.688+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-02-15T11:22:35.967+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-02-15T11:22:36.778+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-02-15T11:22:37.878+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-02-15T11:22:38.070+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@fb74661, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4b7feb38, org.springframework.security.web.context.SecurityContextHolderFilter@25e7e6d, org.springframework.security.web.header.HeaderWriterFilter@66161fee, org.springframework.security.web.authentication.logout.LogoutFilter@607c7f58, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@729f8c5d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@53d257e7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@56b5de49, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6e04275e, org.springframework.security.web.access.ExceptionTranslationFilter@56bc8c45, org.springframework.security.web.access.intercept.AuthorizationFilter@31829b82] policy-api | [2024-02-15T11:22:38.910+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-02-15T11:22:38.963+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-15T11:22:38.982+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-02-15T11:22:39.000+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.9 seconds (process running for 11.49) policy-api | [2024-02-15T11:22:39.985+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-02-15T11:22:39.986+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-02-15T11:22:39.987+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-02-15T11:22:48.885+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-02-15T11:22:49.003+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-02-15T11:22:49.288+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policytypes policy-api | [2024-02-15T11:22:50.549+00:00|WARN|CommonRestController|http-nio-6969-exec-2] POST /policies policy-api | [2024-02-15T11:22:52.633+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-02-15T11:22:52.940+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-02-15T11:22:53.190+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-02-15T11:22:53.432+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-02-15T11:22:53.664+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-02-15T11:22:53.907+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-02-15T11:22:15.078427962Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.039972ms grafana | logger=migrator t=2024-02-15T11:22:15.083919116Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-02-15T11:22:15.085215819Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.286883ms grafana | logger=migrator t=2024-02-15T11:22:15.088697758Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-02-15T11:22:15.090103062Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.404614ms grafana | logger=migrator t=2024-02-15T11:22:15.093787861Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-02-15T11:22:15.094552053Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=764.282µs grafana | logger=migrator t=2024-02-15T11:22:15.099225784Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-02-15T11:22:15.100014506Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=789.092µs grafana | logger=migrator t=2024-02-15T11:22:15.103969416Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-02-15T11:22:15.114389132Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.421746ms grafana | logger=migrator t=2024-02-15T11:22:15.119419225Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-02-15T11:22:15.120246167Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=826.302µs grafana | logger=migrator t=2024-02-15T11:22:15.123629105Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-02-15T11:22:15.124505418Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=875.893µs grafana | logger=migrator t=2024-02-15T11:22:15.127702296Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-02-15T11:22:15.128523828Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=821.062µs grafana | logger=migrator t=2024-02-15T11:22:15.13337184Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-02-15T11:22:15.133933561Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=561.521µs grafana | logger=migrator t=2024-02-15T11:22:15.137983591Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-02-15T11:22:15.141752411Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.76832ms grafana | logger=migrator t=2024-02-15T11:22:15.146280382Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-02-15T11:22:15.150311692Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=4.03487ms grafana | logger=migrator t=2024-02-15T11:22:15.155144084Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-02-15T11:22:15.155173504Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=32.91µs grafana | logger=migrator t=2024-02-15T11:22:15.158437303Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-02-15T11:22:15.158635193Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=197.33µs grafana | logger=migrator t=2024-02-15T11:22:15.161954981Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-02-15T11:22:15.165931441Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.97641ms grafana | logger=migrator t=2024-02-15T11:22:15.16938767Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-02-15T11:22:15.169632001Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=243.911µs grafana | logger=migrator t=2024-02-15T11:22:15.174638113Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-02-15T11:22:15.174824294Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=191.051µs grafana | logger=migrator t=2024-02-15T11:22:15.179035464Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-02-15T11:22:15.183123484Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.0886ms grafana | logger=migrator t=2024-02-15T11:22:15.186724013Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-02-15T11:22:15.186863014Z level=info msg="Migration successfully executed" id="Update uid value" duration=136.911µs grafana | logger=migrator t=2024-02-15T11:22:15.190855584Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-02-15T11:22:15.191493965Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=638.111µs grafana | logger=migrator t=2024-02-15T11:22:15.196388128Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-02-15T11:22:15.197818861Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.430103ms grafana | logger=migrator t=2024-02-15T11:22:15.201533351Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-02-15T11:22:15.202264742Z level=info msg="Migration successfully executed" id="create api_key table" duration=731.151µs grafana | logger=migrator t=2024-02-15T11:22:15.207833286Z level=info msg="Executing migration" id="add index api_key.account_id" mariadb | 2024-02-15 11:22:15+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-15 11:22:15+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-02-15 11:22:15+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-15 11:22:15+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-02-15 11:22:16 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-15 11:22:16 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-15 11:22:16 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-02-15 11:22:17+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-02-15 11:22:17+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-02-15 11:22:17+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-02-15 11:22:17 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 98 ... mariadb | 2024-02-15 11:22:17 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-15 11:22:17 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-15 11:22:17 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 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 | mariadb | 2024-02-15 11:22:17 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-15 11:22:17 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-15 11:22:17 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-15 11:22:17 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-15 11:22:17 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-15 11:22:17 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-15 11:22:17 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-15 11:22:17 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-15 11:22:17 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-15 11:22:17 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-02-15 11:22:17 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-15 11:22:17 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-15 11:22:17 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-15 11:22:17 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-15 11:22:17 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-02-15 11:22:18+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-02-15 11:22:19+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-02-15 11:22:19+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-02-15 11:22:19+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-02-15 11:22:19+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-02-15 11:22:20+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-02-15 11:22:20 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-02-15 11:22:20 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-02-15 11:22:20 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-02-15 11:22:20 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-15 11:22:20 0 [Note] InnoDB: Buffer pool(s) dump completed at 240215 11:22:20 mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: Shutdown completed; log sequence number 327895; transaction id 298 mariadb | 2024-02-15 11:22:21 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-02-15 11:22:21+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-02-15 11:22:21+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-02-15 11:22:21 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-15 11:22:21 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-15 11:22:21 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-15 11:22:21 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: log sequence number 327895; transaction id 299 mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-15 11:22:21 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-15 11:22:21 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-15 11:22:21 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-02-15 11:22:21 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-02-15 11:22:21 0 [Note] Server socket created on IP: '::'. mariadb | 2024-02-15 11:22:21 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-02-15 11:22:21 0 [Note] InnoDB: Buffer pool(s) load completed at 240215 11:22:21 mariadb | 2024-02-15 11:22:21 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-02-15 11:22:21 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-02-15T11:22:15.208635668Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=802.242µs grafana | logger=migrator t=2024-02-15T11:22:15.212554608Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-02-15T11:22:15.213873851Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.318543ms grafana | logger=migrator t=2024-02-15T11:22:15.217759331Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-02-15T11:22:15.219124865Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.364384ms grafana | logger=migrator t=2024-02-15T11:22:15.226421213Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-02-15T11:22:15.227905497Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.488584ms grafana | logger=migrator t=2024-02-15T11:22:15.231642666Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-02-15T11:22:15.232923319Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.279813ms grafana | logger=migrator t=2024-02-15T11:22:15.236885119Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-02-15T11:22:15.237663941Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=778.282µs grafana | logger=migrator t=2024-02-15T11:22:15.242773324Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-02-15T11:22:15.251456565Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.677431ms grafana | logger=migrator t=2024-02-15T11:22:15.255838876Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-02-15T11:22:15.256515068Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=681.842µs grafana | logger=migrator t=2024-02-15T11:22:15.260073167Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-02-15T11:22:15.260827779Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=758.462µs grafana | logger=migrator t=2024-02-15T11:22:15.266003082Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-02-15T11:22:15.267297065Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.293363ms grafana | logger=migrator t=2024-02-15T11:22:15.271059695Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-02-15T11:22:15.272624418Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.564243ms grafana | logger=migrator t=2024-02-15T11:22:15.276339748Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-02-15T11:22:15.276921809Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=582.281µs grafana | logger=migrator t=2024-02-15T11:22:15.281775151Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-02-15T11:22:15.282329853Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=554.402µs grafana | logger=migrator t=2024-02-15T11:22:15.285597661Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-02-15T11:22:15.285627041Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=30.21µs grafana | logger=migrator t=2024-02-15T11:22:15.288592478Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-02-15T11:22:15.292585458Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.03486ms grafana | logger=migrator t=2024-02-15T11:22:15.297924872Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-02-15T11:22:15.300600759Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.675867ms grafana | logger=migrator t=2024-02-15T11:22:15.303908127Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-02-15T11:22:15.304078087Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=170.65µs grafana | logger=migrator t=2024-02-15T11:22:15.307380105Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-02-15T11:22:15.309862522Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.482677ms grafana | logger=migrator t=2024-02-15T11:22:15.315551996Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-02-15T11:22:15.318093612Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.539586ms grafana | logger=migrator t=2024-02-15T11:22:15.321498221Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-02-15T11:22:15.322189383Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=690.702µs grafana | logger=migrator t=2024-02-15T11:22:15.325446531Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-02-15T11:22:15.326022782Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=576.461µs grafana | logger=migrator t=2024-02-15T11:22:15.331499766Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-02-15T11:22:15.332834009Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.326163ms grafana | logger=migrator t=2024-02-15T11:22:15.345978652Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-02-15T11:22:15.347335346Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.356044ms grafana | logger=migrator t=2024-02-15T11:22:15.351359546Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-02-15T11:22:15.35307447Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.714264ms grafana | logger=migrator t=2024-02-15T11:22:15.358645154Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-02-15T11:22:15.359508396Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=863.132µs grafana | logger=migrator t=2024-02-15T11:22:15.363743857Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-02-15T11:22:15.363814877Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=71.12µs grafana | logger=migrator t=2024-02-15T11:22:15.368234408Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-02-15T11:22:15.368258948Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=25.32µs grafana | logger=migrator t=2024-02-15T11:22:15.378390103Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-02-15T11:22:15.382484184Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.095111ms grafana | logger=migrator t=2024-02-15T11:22:15.388108928Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-02-15T11:22:15.390828054Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.718496ms grafana | logger=migrator t=2024-02-15T11:22:15.393878572Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-02-15T11:22:15.393955912Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=76.87µs grafana | logger=migrator t=2024-02-15T11:22:15.396325268Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-02-15T11:22:15.39696861Z level=info msg="Migration successfully executed" id="create quota table v1" duration=643.022µs policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-15T11:22:15.402761834Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | -------------- policy-db-migrator | prometheus | ts=2024-02-15T11:22:13.587Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql prometheus | ts=2024-02-15T11:22:13.587Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" grafana | logger=migrator t=2024-02-15T11:22:15.403552866Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=791.052µs policy-db-migrator | -------------- prometheus | ts=2024-02-15T11:22:13.587Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-02-15T11:22:13.587Z caller=main.go:594 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))" 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)) prometheus | ts=2024-02-15T11:22:13.587Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-02-15T11:22:13.587Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-db-migrator | -------------- prometheus | ts=2024-02-15T11:22:13.591Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-02-15T11:22:13.592Z caller=main.go:1039 level=info msg="Starting TSDB ..." policy-db-migrator | prometheus | ts=2024-02-15T11:22:13.594Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-02-15T11:22:13.594Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-db-migrator | prometheus | ts=2024-02-15T11:22:13.595Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-02-15T11:22:13.595Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.57µs policy-db-migrator | > upgrade 0460-pdppolicystatus.sql prometheus | ts=2024-02-15T11:22:13.595Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-02-15T11:22:13.596Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-db-migrator | -------------- prometheus | ts=2024-02-15T11:22:13.596Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=16.63µs wal_replay_duration=799.687µs wbl_replay_duration=150ns total_replay_duration=836.957µs prometheus | ts=2024-02-15T11:22:13.599Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC 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)) prometheus | ts=2024-02-15T11:22:13.599Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-02-15T11:22:13.599Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-db-migrator | -------------- prometheus | ts=2024-02-15T11:22:13.601Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.486872ms db_storage=1.59µs remote_storage=2.42µs web_handler=920ns query_engine=1.53µs scrape=422.983µs scrape_sd=206.242µs notify=46.871µs notify_sd=36.38µs rules=2.06µs tracing=7.73µs prometheus | ts=2024-02-15T11:22:13.601Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." policy-db-migrator | prometheus | ts=2024-02-15T11:22:13.601Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.407071865Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-02-15T11:22:15.407094455Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=23.48µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.410495394Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-15T11:22:15.411638666Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.142922ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.415479006Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.416498279Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.019743ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.421681692Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-02-15T11:22:15.424471679Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.783527ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.427804367Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.427829967Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=26.63µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.431052815Z level=info msg="Executing migration" id="create session table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.431818627Z level=info msg="Migration successfully executed" id="create session table" duration=766.702µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.4368542Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-02-15T11:22:15.43697887Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=125.43µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.440472219Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-02-15T11:22:15.440640659Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=168.81µs grafana | logger=migrator t=2024-02-15T11:22:15.444332088Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-15T11:22:15.445399001Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.068543ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.451008405Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.451845907Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=836.602µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.455020305Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-02-15T11:22:15.455048535Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=35.27µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.458527144Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-15T11:22:15.458558474Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=28.82µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.461796212Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.46482268Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.026038ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.470634894Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-02-15T11:22:15.473972263Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.336589ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.479721957Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.479865977Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=144.09µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.483746337Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.483894477Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=148µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.489223911Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-02-15T11:22:15.49283049Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=3.590619ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.498148563Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.498192403Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=48.99µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.502890035Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.507367026Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.463561ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.510647594Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-02-15T11:22:15.510801375Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=154.001µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.514121623Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-15T11:22:15.517120361Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.998688ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.522241123Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.525262531Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.021138ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.528459579Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-02-15T11:22:15.528526699Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=67.73µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.531569617Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.532554599Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=977.962µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.537674982Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.538526554Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=850.682µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.541774292Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-02-15T11:22:15.542704535Z level=info msg="Migration successfully executed" id="create alert table v1" duration=930.123µs policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.545783572Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.546696195Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=912.283µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.551579547Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-02-15T11:22:15.552403889Z level=info msg="Migration successfully executed" id="add index alert state" duration=820.352µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.555593887Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-15T11:22:15.556424519Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=830.232µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.559412786Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.560050588Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=635.112µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.56485554Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-02-15T11:22:15.565710062Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=855.852µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.5687914Z 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 toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.569609602Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=817.932µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.572619809Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.58484426Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.224661ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.591155316Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-02-15T11:22:15.591812068Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=656.932µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.595517607Z 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 toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.596417509Z 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=899.562µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.599589367Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.599872798Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=283.391µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.604451599Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-02-15T11:22:15.60496571Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=512.581µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.608205689Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-15T11:22:15.609156981Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=950.122µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.61264739Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.616477539Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.830439ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.621019181Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-02-15T11:22:15.624527189Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.513348ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.627772698Z level=info msg="Executing migration" id="Add column send_reminder" 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=2024-02-15T11:22:15.631362797Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.589679ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.635382637Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.638812435Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.428818ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.643581987Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-02-15T11:22:15.644470829Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=888.362µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.647606687Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.647630877Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=24.81µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.650376404Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.650399354Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=24.08µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.653283521Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-02-15T11:22:15.653969793Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=685.482µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.658635255Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_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=2024-02-15T11:22:15.659506557Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=870.742µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.663460007Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.664288049Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=827.742µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.6685726Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-02-15T11:22:15.669439182Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=865.022µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.674389524Z 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 toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.675820158Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.432674ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.679193596Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.682764985Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.570839ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.687401937Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.690989606Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.587429ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.698490905Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.698660805Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=174.76µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.711656398Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-02-15T11:22:15.71270219Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.048082ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.719408897Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-15T11:22:15.720179579Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=770.222µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.730416205Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.734994396Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.578211ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.740139759Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-02-15T11:22:15.740245079Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=120.32µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.747480417Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-02-15T11:22:15.74861491Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.134423ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-15T11:22:15.753552302Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.755072256Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.519544ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.758301344Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.758385245Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=84.301µs policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-02-15T11:22:15.76436492Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.767430967Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=3.065938ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.775831028Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.776782551Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=944.283µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.782835826Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.783889158Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.055342ms policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-02-15T11:22:15.790546755Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.791437767Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=891.242µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-15T11:22:15.795355687Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.79637861Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.022453ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.800149929Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.801184102Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.033653ms policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-02-15T11:22:15.806341465Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.806370575Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=30.03µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.811070016Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.81658533Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.514974ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.822150114Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.823489908Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.339884ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-02-15T11:22:15.829844943Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.835473528Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.624855ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.841658493Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.842337125Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=678.722µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.845547903Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.846202774Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=654.691µs policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-02-15T11:22:15.853660183Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.855003436Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.345683ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.861850104Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.875703858Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=13.852974ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.879157437Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.879762718Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=605.281µs policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-02-15T11:22:15.884137189Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.884850071Z 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=716.562µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-15T11:22:15.889890924Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.890451385Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=564.431µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.894808956Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-02-15T11:22:15.895753098Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=947.052µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.899808509Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-15T11:22:15.900072289Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=264.66µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.903385868Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.907637338Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.251ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.915328787Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-02-15T11:22:15.921937144Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=6.610787ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.927140237Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.92816525Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.008363ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.935768219Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.937260922Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.493123ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.942832946Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-02-15T11:22:15.943338468Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=521.192µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.947884289Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.954394425Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.510906ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.959187237Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.96010685Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=919.103µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.963312998Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-02-15T11:22:15.963485138Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=172.64µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.967591058Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-15T11:22:15.96831424Z level=info msg="Migration successfully executed" id="Move region to single row" duration=717.732µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.972058899Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.973441303Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.382554ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.97642828Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-02-15T11:22:15.976997662Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=569.052µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.981369063Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.982046974Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=680.651µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.984467181Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.985869324Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.401353ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:15.991136387Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-02-15T11:22:15.9922742Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.140403ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:15.996652521Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-02-15T11:22:15.997613943Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=955.462µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.000753281Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.000821431Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=72.09µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.003834089Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-02-15T11:22:16.004599889Z level=info msg="Migration successfully executed" id="create test_data table" duration=765.66µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.01989585Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-15T11:22:16.021069981Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.178241ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.027071585Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.028454356Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.382521ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.032870929Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-02-15T11:22:16.034419601Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.548202ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.038856744Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-02-15T11:22:16.039204894Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=348.44µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.045097318Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.045458018Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=358.79µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.051559623Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-02-15T11:22:16.051628163Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=68.88µs policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.056368586Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.057430627Z level=info msg="Migration successfully executed" id="create team table" duration=1.061411ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.067295794Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-02-15T11:22:16.068672695Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.376741ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.079340653Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-02-15T11:22:16.080973904Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.632341ms grafana | logger=migrator t=2024-02-15T11:22:16.087322068Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-15T11:22:16.092045362Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.724414ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.098913477Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.099170347Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=257.69µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.10318634Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.104403491Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.217481ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.107966623Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-02-15T11:22:16.108667624Z level=info msg="Migration successfully executed" id="create team member table" duration=700.911µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.114930518Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.116088929Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.157841ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.121734003Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-15T11:22:16.122839374Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.105461ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.127714807Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-15T11:22:16.128699158Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=984.461µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.133104011Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.139942786Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.837685ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.1460478Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-15T11:22:16.149532523Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.487813ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.155864427Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-15T11:22:16.162191152Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=6.358095ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.166533815Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.167906546Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.372531ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.17365612Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.175067211Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.408711ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.181555786Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-02-15T11:22:16.183559017Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=2.015811ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.190435892Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.191811143Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.375551ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.196689207Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.198558448Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.868961ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.205220623Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-02-15T11:22:16.206305244Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.085041ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.211458247Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.213210388Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.751741ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.219430763Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.220427824Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=996.801µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.224898777Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-02-15T11:22:16.225426417Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=526.95µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.231260911Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.231633122Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=372.681µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.236314135Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.237446856Z level=info msg="Migration successfully executed" id="create tag table" duration=1.127421ms policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-02-15T11:22:16.241589359Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.24353249Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.950351ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.250058425Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.250836205Z level=info msg="Migration successfully executed" id="create login attempt table" duration=777.15µs policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.25719497Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-02-15T11:22:16.258882711Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.699531ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.264493685Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.266074186Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.579951ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.272108681Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.292349105Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.239924ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.296737658Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-02-15T11:22:16.297305849Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=568.891µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.301247521Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.302431102Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.183051ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.307135496Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-15T11:22:16.307855666Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=720.33µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.31281189Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-02-15T11:22:16.31388454Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.0722ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.320619545Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.321711226Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.091331ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.32780314Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-02-15T11:22:16.338035698Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=10.231808ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.344337192Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-02-15T11:22:16.344496832Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=164.85µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.350781517Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.358777433Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.996446ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.363841926Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-02-15T11:22:16.36928814Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.445754ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.374999034Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-02-15T11:22:16.380013408Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.014064ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.386213442Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.391292086Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.082444ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.39719989Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.398174801Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=974.561µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.403575265Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-15T11:22:16.410009159Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.427194ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.415019903Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.415730943Z level=info msg="Migration successfully executed" id="create server_lock table" duration=711.37µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.423260219Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-15T11:22:16.424276059Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.0158ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.434803707Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-15T11:22:16.436086618Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.282801ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.441033621Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.442053942Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.020281ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.450620198Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-15T11:22:16.45239715Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.777162ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.459524845Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-15T11:22:16.461544576Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=2.009941ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.468461431Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.474148535Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.681904ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.478169518Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.479243589Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.073721ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.482519731Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-15T11:22:16.483289912Z level=info msg="Migration successfully executed" id="create cache_data table" duration=769.871µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.486748044Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.487778905Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.030691ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.492473668Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-15T11:22:16.493536929Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.061881ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.497994382Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.499821413Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.827141ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.505168507Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.505267367Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=97.88µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.5093009Z level=info msg="Executing migration" id="delete alert_definition 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=2024-02-15T11:22:16.50950834Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=208.96µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.513278683Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.514751334Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.471651ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.518154387Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.519193487Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.03859ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.524190631Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-15T11:22:16.525259432Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.068071ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.528910684Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.529100694Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=190.78µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.533791108Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.535487349Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.696201ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.540635353Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-15T11:22:16.541633273Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=997.61µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.545917046Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.547475738Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.558222ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.552322161Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-15T11:22:16.553736752Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.410811ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.561251327Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-15T11:22:16.567396232Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.144455ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.572512585Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.573527886Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.014561ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.579716471Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-15T11:22:16.579817611Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=101.83µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.584492644Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-15T11:22:16.585823885Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.330651ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.590804069Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.592147679Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.34439ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.596583853Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-02-15T11:22:16.597616903Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.03268ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.603900918Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-15T11:22:16.603990848Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=90.49µ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=2024-02-15T11:22:16.609343112Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.611144023Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.788741ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.619029259Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.620082999Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.05348ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-02-15T11:22:16.625274423Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.626435604Z 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.160851ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-02-15T11:22:16.633278159Z 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=2024-02-15T11:22:16.63467895Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.400761ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.642836945Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.65120148Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=8.365585ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-15T11:22:16.656527544Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.658409575Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.885711ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.663043498Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.664502529Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.465171ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-15T11:22:16.694212689Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.744318172Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=50.090983ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-15T11:22:16.751829327Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.791430853Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=39.595026ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.797968797Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.798904107Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=935.79µs policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-02-15T11:22:16.803630141Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.804662681Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.03234ms policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-02-15T11:22:16.810729985Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.820059401Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.329376ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.826014375Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.835226831Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=9.218436ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-15T11:22:16.840286205Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.840961235Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=674.17µs policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-02-15T11:22:16.84865449Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.850017821Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.362941ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.854744744Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.856378065Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.632781ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-02-15T11:22:16.861549209Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.86362503Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.079211ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.867000882Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.867074262Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=73.66µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-02-15T11:22:16.874851337Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.883821323Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=8.979836ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-02-15T11:22:16.888158006Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.89406821Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.910014ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.898809003Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.904997977Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.189014ms policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-15T11:22:16.910358901Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.911487091Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.13091ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-02-15T11:22:16.915534084Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.916664695Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.129941ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.921516668Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.927844312Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.330494ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-15T11:22:16.933893046Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.93986915Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.975874ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-02-15T11:22:16.944593583Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-02-15T11:22:16.945651164Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.055561ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-02-15T11:22:16.950370057Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-02-15T11:22:16.956273041Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.906504ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.963693006Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.972847602Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=9.152026ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.978430845Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-15T11:22:16.978591595Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=164.58µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.982296468Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-02-15T11:22:16.983711009Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.415601ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:16.990403353Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.991858314Z 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.453241ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:16.996389847Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-02-15T11:22:16.998395889Z 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=2.005882ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.003452602Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-02-15T11:22:17.003533612Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=79.54µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.011455637Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.019884463Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.431826ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.024813596Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-02-15T11:22:17.03130234Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.493944ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.045499289Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-02-15T11:22:17.054527045Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=9.028586ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.059791929Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.065980343Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.191754ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.070718096Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-02-15T11:22:17.07744052Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.721754ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.081396593Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-02-15T11:22:17.081442663Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=46.66µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.085583076Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.086115046Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=531.45µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.09272194Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-02-15T11:22:17.100772266Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.050696ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.105542509Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-02-15T11:22:17.105623319Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=81.06µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.108928301Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.115121655Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.193024ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.120566208Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-15T11:22:17.122058519Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.494821ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.127776073Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-02-15T11:22:17.136127088Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.351695ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.139792431Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.140562261Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=769.45µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.146163085Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-02-15T11:22:17.148350306Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.193161ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.152529259Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-02-15T11:22:17.160622185Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=8.093636ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.164994087Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.165837638Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=843.271µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.170297811Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-02-15T11:22:17.171474661Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.17646ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.177721766Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-02-15T11:22:17.178571866Z level=info msg="Migration successfully executed" id="create alert_image table" duration=849.71µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.18439814Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.186294081Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.896211ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.190961754Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-02-15T11:22:17.191080104Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=116.02µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.19934472Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.200925991Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.580881ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.207755715Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-02-15T11:22:17.208924456Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.169501ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.211903378Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-02-15T11:22:17.212347988Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.219800203Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.220627463Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=827.12µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.224889676Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-02-15T11:22:17.231592341Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=6.697915ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.238515225Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-02-15T11:22:17.246766051Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.254226ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.251907304Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.252799564Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=891.96µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.256050397Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-02-15T11:22:17.256983887Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=932.83µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.260430299Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.26129579Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=865.041µs grafana | logger=migrator t=2024-02-15T11:22:17.266943044Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.269412075Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.467931ms policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-02-15T11:22:17.274450668Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.275722449Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.271181ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.280773882Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.280856763Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=83.371µs policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-02-15T11:22:17.285543106Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.285687996Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=144.23µs policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-02-15T11:22:17.290919669Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.29141083Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=489.451µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.296705693Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.298183604Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.477081ms policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-02-15T11:22:17.305485248Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.306310769Z level=info msg="Migration successfully executed" id="create secrets table" duration=824.801µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.312438913Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.360526513Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=48.08863ms policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-02-15T11:22:17.363864256Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.368872149Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.007843ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-15T11:22:17.372203701Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.372446411Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=242.6µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.375638683Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.423933435Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=48.292802ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-02-15T11:22:17.428499177Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.483717363Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=55.216596ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.490834478Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.49331865Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=2.475012ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-02-15T11:22:17.497881353Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.498940613Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.05882ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-02-15T11:22:17.502615236Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.502820796Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=204.91µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.507626849Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.50895304Z level=info msg="Migration successfully executed" id="create permission table" duration=1.325641ms policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-02-15T11:22:17.514710984Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.515732624Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.02192ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.529238833Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | msg grafana | logger=migrator t=2024-02-15T11:22:17.530930274Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.689811ms policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-02-15T11:22:17.553152129Z level=info msg="Executing migration" id="create role table" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.55435962Z level=info msg="Migration successfully executed" id="create role table" duration=1.206911ms policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-02-15T11:22:17.565547827Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.576004014Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.456687ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-02-15T11:22:17.584606579Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.592026464Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.415075ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.603638091Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.605232662Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.592951ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-02-15T11:22:17.614926039Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.61696557Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=2.038071ms policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-02-15T11:22:17.625490906Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.626653056Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.16164ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.634023201Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.635344532Z level=info msg="Migration successfully executed" id="create team role table" duration=1.320841ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-15T11:22:17.640956306Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.643074627Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=2.118091ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.6470976Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.648568571Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.470611ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-02-15T11:22:17.654379204Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.655562015Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.182391ms policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-02-15T11:22:17.659233167Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.660117518Z level=info msg="Migration successfully executed" id="create user role table" duration=883.921µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.663959941Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.665249711Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.28914ms policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-02-15T11:22:17.669753214Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.670997535Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.243541ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.674685078Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.675917438Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.23209ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-02-15T11:22:17.681514312Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.682874483Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.356191ms policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-02-15T11:22:17.688263476Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.690458428Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.192302ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.69435775Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.696575532Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=2.216612ms policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-02-15T11:22:17.703352846Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.712661352Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.307366ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.721562548Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.722462889Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=900.201µs policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-02-15T11:22:17.727736502Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.729624883Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.886721ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.733733716Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.734830927Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.094151ms policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-02-15T11:22:17.749631646Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.751303458Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.671482ms policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-02-15T11:22:17.75586884Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.757068451Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.199291ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.760732354Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.761882274Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.14952ms policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-02-15T11:22:17.768970029Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.779824046Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.853807ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.785322869Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.793553755Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.230026ms policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-02-15T11:22:17.797783838Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.805763293Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.978475ms policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.812216847Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.818556021Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=6.337884ms policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-02-15T11:22:17.822344464Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.823566544Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.21902ms policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-02-15T11:22:17.827024797Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-15T11:22:17.828003597Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=980.7µs policy-db-migrator | grafana | logger=migrator t=2024-02-15T11:22:17.833533601Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-02-15T11:22:17.835241292Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.705661ms policy-db-migrator | name version grafana | logger=migrator t=2024-02-15T11:22:17.841970216Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-02-15T11:22:17.842076656Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=107.18µs policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-02-15T11:22:17.846346999Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:21 grafana | logger=migrator t=2024-02-15T11:22:17.846414469Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=68.56µs policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:21 grafana | logger=migrator t=2024-02-15T11:22:17.850354582Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.851128452Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=773.83µs policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.856440226Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.857153866Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=714.38µs policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.861009349Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.862152299Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.14306ms policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.866364182Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.866795292Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=430.1µs policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.870655145Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.871101955Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=446.72µs policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.875512778Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.876424669Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=911.031µs policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.880278521Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.882189123Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.910442ms policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.886430545Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.895192691Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.762326ms policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.899692134Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.899759794Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=68.04µs policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.903869517Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.904867087Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=996.79µs policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.908527119Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.910591131Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.063562ms policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.917326995Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.918542676Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.215001ms policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.922338029Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.930434994Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.095995ms policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:22 grafana | logger=migrator t=2024-02-15T11:22:17.933994916Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:17.935113117Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.118001ms policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:17.93972381Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:17.940856561Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.132561ms policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:17.944412473Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:17.976520894Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=32.108421ms policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:17.980424566Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:17.981135967Z level=info msg="Migration successfully executed" id="create correlation v2" duration=710.521µs policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:17.98673908Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:17.989267402Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.526672ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:17.994228745Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:17.995621006Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.387771ms policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.00068023Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.00206177Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.3816ms policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.006492983Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.006844214Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=351.281µs policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.011327146Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.012286877Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=959.921µs policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.01686096Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.026189736Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.329036ms policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.029884078Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.030520659Z level=info msg="Migration successfully executed" id="create entity_events table" duration=634.831µs policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.033952491Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.034673691Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=720.78µs policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:23 grafana | logger=migrator t=2024-02-15T11:22:18.039028404Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.039565035Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.042897177Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.043640677Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.04773921Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.049030061Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.290241ms policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.053766774Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.054705874Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=939.32µs policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.058166006Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.059305957Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.136931ms policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.06320441Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.064434071Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.22913ms policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.069121304Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.070818975Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.698001ms policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.074691247Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.076490838Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.799101ms policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.081190071Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.082018552Z level=info msg="Migration successfully executed" id="Drop public config table" duration=827.161µs policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.085483974Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.086513985Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.029851ms policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.098848413Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.100713034Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.864151ms policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.106762868Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.107956089Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.192981ms policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.111437511Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:24 grafana | logger=migrator t=2024-02-15T11:22:18.112633252Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.193561ms policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.116660654Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.150219316Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.559812ms policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.154856809Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.163339424Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.481905ms policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.167527757Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.178496844Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=10.966207ms policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.182441386Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.182759947Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=318.161µs policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.192957183Z level=info msg="Executing migration" id="add share column" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.20347607Z level=info msg="Migration successfully executed" id="add share column" duration=10.520087ms policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.207269783Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.207485883Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=215.85µs policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.211267415Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.212283446Z level=info msg="Migration successfully executed" id="create file table" duration=1.015651ms policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1502241122210800u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.217506559Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.21908084Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.572701ms policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:25 grafana | logger=migrator t=2024-02-15T11:22:18.223351153Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.225182084Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.830221ms policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.229161897Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.229972787Z level=info msg="Migration successfully executed" id="create file_meta table" duration=810.5µs policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.23400314Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.2354607Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.45601ms policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.242385385Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.242481615Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=97.52µs policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.246834478Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.246928588Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=95.03µs policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.251198501Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1502241122210900u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.252073891Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=874.9µs policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1502241122211000u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.257207135Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1502241122211000u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.257521585Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=314.56µs policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1502241122211000u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.261355597Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1502241122211000u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.262551208Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.194271ms policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1502241122211000u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.266436751Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1502241122211000u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.276288567Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.853106ms grafana | logger=migrator t=2024-02-15T11:22:18.280185289Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1502241122211000u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.28030477Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=119.481µs policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1502241122211000u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.284943952Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1502241122211000u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.285752843Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=808.621µs policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1502241122211100u 1 2024-02-15 11:22:26 grafana | logger=migrator t=2024-02-15T11:22:18.289567346Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1502241122211200u 1 2024-02-15 11:22:27 grafana | logger=migrator t=2024-02-15T11:22:18.290133916Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=567.4µs policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1502241122211200u 1 2024-02-15 11:22:27 grafana | logger=migrator t=2024-02-15T11:22:18.293954258Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1502241122211200u 1 2024-02-15 11:22:27 grafana | logger=migrator t=2024-02-15T11:22:18.294267818Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=313.64µs policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1502241122211200u 1 2024-02-15 11:22:27 grafana | logger=migrator t=2024-02-15T11:22:18.299102162Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1502241122211300u 1 2024-02-15 11:22:27 grafana | logger=migrator t=2024-02-15T11:22:18.299614502Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=512.56µs policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1502241122211300u 1 2024-02-15 11:22:27 grafana | logger=migrator t=2024-02-15T11:22:18.303272684Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1502241122211300u 1 2024-02-15 11:22:27 grafana | logger=migrator t=2024-02-15T11:22:18.314602741Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.330067ms policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-02-15T11:22:18.318222874Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-02-15T11:22:18.324333998Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.111024ms grafana | logger=migrator t=2024-02-15T11:22:18.32801115Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-02-15T11:22:18.329158251Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.148411ms grafana | logger=migrator t=2024-02-15T11:22:18.334159564Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-02-15T11:22:18.444076695Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=109.911901ms grafana | logger=migrator t=2024-02-15T11:22:18.449335668Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-02-15T11:22:18.450250139Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=912.351µs grafana | logger=migrator t=2024-02-15T11:22:18.454506002Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-02-15T11:22:18.455345202Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=838.9µs grafana | logger=migrator t=2024-02-15T11:22:18.460006475Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-02-15T11:22:18.490026585Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=30.02085ms grafana | logger=migrator t=2024-02-15T11:22:18.494053507Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-02-15T11:22:18.494242777Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=189.06µs grafana | logger=migrator t=2024-02-15T11:22:18.49886482Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-02-15T11:22:18.4990402Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=174.96µs grafana | logger=migrator t=2024-02-15T11:22:18.502868093Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-02-15T11:22:18.503037553Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=169.08µs grafana | logger=migrator t=2024-02-15T11:22:18.506724655Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-02-15T11:22:18.507450236Z level=info msg="Migration successfully executed" id="create folder table" duration=726.381µs grafana | logger=migrator t=2024-02-15T11:22:18.520093754Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-02-15T11:22:18.520979764Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=886.02µs grafana | logger=migrator t=2024-02-15T11:22:18.524574517Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-02-15T11:22:18.525531697Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=956.72µs grafana | logger=migrator t=2024-02-15T11:22:18.52893783Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-02-15T11:22:18.52895942Z level=info msg="Migration successfully executed" id="Update folder title length" duration=21.46µs grafana | logger=migrator t=2024-02-15T11:22:18.532432722Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-15T11:22:18.533652522Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.21893ms grafana | logger=migrator t=2024-02-15T11:22:18.543603759Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-15T11:22:18.5456648Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=2.061611ms grafana | logger=migrator t=2024-02-15T11:22:18.549844873Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-02-15T11:22:18.551871214Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.025291ms grafana | logger=migrator t=2024-02-15T11:22:18.556339097Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-02-15T11:22:18.556857577Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=517.66µs grafana | logger=migrator t=2024-02-15T11:22:18.56060152Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-02-15T11:22:18.56094907Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=348.17µs grafana | logger=migrator t=2024-02-15T11:22:18.564658242Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-02-15T11:22:18.565632233Z level=info msg="Migration successfully executed" id="create anon_device table" duration=971.361µs grafana | logger=migrator t=2024-02-15T11:22:18.569867336Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-02-15T11:22:18.571216137Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.343141ms grafana | logger=migrator t=2024-02-15T11:22:18.575708439Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-02-15T11:22:18.5769996Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.290801ms grafana | logger=migrator t=2024-02-15T11:22:18.580379243Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-02-15T11:22:18.581314453Z level=info msg="Migration successfully executed" id="create signing_key table" duration=934.84µs grafana | logger=migrator t=2024-02-15T11:22:18.585577996Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-02-15T11:22:18.587727797Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.146681ms grafana | logger=migrator t=2024-02-15T11:22:18.59260746Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-02-15T11:22:18.594408792Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.800872ms grafana | logger=migrator t=2024-02-15T11:22:18.601150136Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-02-15T11:22:18.601577816Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=428.86µs grafana | logger=migrator t=2024-02-15T11:22:18.605471689Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-02-15T11:22:18.616293146Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.819607ms grafana | logger=migrator t=2024-02-15T11:22:18.620010098Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-02-15T11:22:18.620532989Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=523.671µs grafana | logger=migrator t=2024-02-15T11:22:18.623930201Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-02-15T11:22:18.624873761Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=942.99µs grafana | logger=migrator t=2024-02-15T11:22:18.629308554Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-02-15T11:22:18.630799635Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.490541ms grafana | logger=migrator t=2024-02-15T11:22:18.635788298Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-02-15T11:22:18.636559969Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=770.441µs grafana | logger=migrator t=2024-02-15T11:22:18.640191021Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-02-15T11:22:18.640453711Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=263.65µs grafana | logger=migrator t=2024-02-15T11:22:18.645303534Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.125092379s grafana | logger=sqlstore t=2024-02-15T11:22:18.657184482Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-02-15T11:22:18.657452082Z level=info msg="Created default organization" grafana | logger=secrets t=2024-02-15T11:22:18.662170065Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-02-15T11:22:18.683169689Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-02-15T11:22:18.720763643Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-02-15T11:22:18.720827833Z level=info msg="Plugins loaded" count=55 duration=37.659014ms grafana | logger=query_data t=2024-02-15T11:22:18.723058214Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-02-15T11:22:18.727072847Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-02-15T11:22:18.732927781Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-02-15T11:22:18.734485312Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-02-15T11:22:18.735974573Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-15T11:22:18.738056914Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-02-15T11:22:18.77874709Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-02-15T11:22:18.783464223Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-02-15T11:22:18.796572742Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-02-15T11:22:18.796616302Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-02-15T11:22:18.796823432Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2024-02-15T11:22:18.796894672Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-02-15T11:22:18.796901212Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-02-15T11:22:18.804931027Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana-apiserver t=2024-02-15T11:22:18.813104842Z level=info msg="Authentication is disabled" grafana | logger=grafana-apiserver t=2024-02-15T11:22:18.815487734Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=ngalert.state.manager t=2024-02-15T11:22:18.876073473Z level=info msg="State cache has been initialized" states=0 duration=79.247011ms grafana | logger=ngalert.scheduler t=2024-02-15T11:22:18.876133903Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-02-15T11:22:18.876346603Z level=info msg=starting first_tick=2024-02-15T11:22:20Z grafana | logger=plugins.update.checker t=2024-02-15T11:22:18.91758984Z level=info msg="Update check succeeded" duration=113.106553ms grafana | logger=sqlstore.transactions t=2024-02-15T11:22:18.929323817Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-02-15T11:22:18.939940124Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=grafana.update.checker t=2024-02-15T11:22:18.941566585Z level=info msg="Update check succeeded" duration=137.792629ms grafana | logger=infra.usagestats t=2024-02-15T11:23:51.812573532Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing prometheus ... done Removing grafana ... done Removing mariadb ... done Removing policy-api ... done Removing policy-db-migrator ... 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.qwhtHH5yir ]] + rsync -av /tmp/tmp.qwhtHH5yir/ /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,949 bytes received 95 bytes 2,692,088.00 bytes/sec total size is 1,345,303 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 2086 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins4028019141611418340.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins5454975519933604128.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/jenkins1935487573607392115.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-mvag from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-mvag/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins8029484832338052778.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config1515308813937557855tmp 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/jenkins1865658770896711121.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins17252945767574587789.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-mvag from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-mvag/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2406544625465008441.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins701534629102255089.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-mvag 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.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-mvag/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/jenkins6374765704203054676.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-mvag from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-mvag/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1528 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-5534 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 840 27099 0 4227 30870 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:3a:f2:2d brd ff:ff:ff:ff:ff:ff inet 10.30.107.118/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86063sec preferred_lft 86063sec inet6 fe80::f816:3eff:fe3a:f22d/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:d0:1f:6c:9c 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-5534) 02/15/24 _x86_64_ (8 CPU) 11:19:22 LINUX RESTART (8 CPU) 11:20:02 tps rtps wtps bread/s bwrtn/s 11:21:01 97.12 18.06 79.06 1041.41 30901.80 11:22:01 148.10 23.00 125.10 2751.07 38959.73 11:23:01 377.30 13.15 364.16 824.13 92799.67 11:24:01 41.74 0.05 41.69 9.87 26865.61 Average: 166.35 13.55 152.81 1157.03 47450.31 11:20:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:21:01 30077504 31699464 2861708 8.69 70992 1860120 1418832 4.17 873924 1693092 194528 11:22:01 28277564 31665812 4661648 14.15 106248 3535280 1423708 4.19 988668 3273144 1441204 11:23:01 26624500 30515548 6314712 19.17 129284 3977392 4329212 12.74 2231860 3621384 192 11:24:01 26782784 30697232 6156428 18.69 129680 4004348 2802508 8.25 2074652 3633844 308 Average: 27940588 31144514 4998624 15.18 109051 3344285 2493565 7.34 1542276 3055366 409058 11:20:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:21:01 ens3 61.32 42.73 1010.45 7.59 0.00 0.00 0.00 0.00 11:21:01 lo 1.83 1.83 0.20 0.20 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:22:01 br-764709ba9b63 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 ens3 315.28 195.85 9433.23 18.26 0.00 0.00 0.00 0.00 11:22:01 lo 7.87 7.87 0.73 0.73 0.00 0.00 0.00 0.00 11:23:01 veth61ed585 0.17 0.47 0.02 0.46 0.00 0.00 0.00 0.00 11:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 veth5c3933c 130.73 159.81 114.58 38.95 0.00 0.00 0.00 0.01 11:23:01 vethf119696 124.86 105.57 41.07 113.93 0.00 0.00 0.00 0.01 11:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 vethf119696 1.33 1.42 0.84 0.10 0.00 0.00 0.00 0.00 11:24:01 br-764709ba9b63 5.33 6.02 6.31 2.70 0.00 0.00 0.00 0.00 11:24:01 ens3 769.87 499.83 13050.32 91.13 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: vethf119696 31.68 26.86 10.52 28.63 0.00 0.00 0.00 0.00 Average: br-764709ba9b63 1.34 1.51 1.58 0.68 0.00 0.00 0.00 0.00 Average: ens3 112.57 73.29 3082.86 9.31 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-5534) 02/15/24 _x86_64_ (8 CPU) 11:19:22 LINUX RESTART (8 CPU) 11:20:02 CPU %user %nice %system %iowait %steal %idle 11:21:01 all 10.53 0.00 0.85 1.21 0.04 87.37 11:21:01 0 7.37 0.00 0.54 0.34 0.02 91.73 11:21:01 1 7.18 0.00 0.63 0.07 0.02 92.10 11:21:01 2 7.53 0.00 0.88 6.44 0.05 85.10 11:21:01 3 0.41 0.00 0.15 0.00 0.02 99.42 11:21:01 4 19.81 0.00 1.19 2.17 0.05 76.78 11:21:01 5 18.26 0.00 1.53 0.29 0.02 79.91 11:21:01 6 22.00 0.00 1.51 0.34 0.05 76.10 11:21:01 7 1.67 0.00 0.39 0.03 0.07 97.84 11:22:01 all 12.40 0.00 2.70 1.25 0.05 83.60 11:22:01 0 10.78 0.00 2.54 0.38 0.05 86.24 11:22:01 1 11.31 0.00 2.21 0.47 0.03 85.98 11:22:01 2 25.71 0.00 2.57 3.51 0.07 68.15 11:22:01 3 15.35 0.00 3.44 0.47 0.07 80.67 11:22:01 4 4.32 0.00 2.15 2.79 0.02 90.72 11:22:01 5 7.43 0.00 2.39 0.20 0.03 89.95 11:22:01 6 18.89 0.00 3.21 0.27 0.05 77.58 11:22:01 7 5.32 0.00 3.07 1.92 0.08 89.61 11:23:01 all 17.12 0.00 2.70 2.62 0.06 77.49 11:23:01 0 12.54 0.00 1.62 0.43 0.05 85.35 11:23:01 1 13.56 0.00 3.57 9.75 0.07 73.05 11:23:01 2 15.80 0.00 2.33 3.03 0.08 78.76 11:23:01 3 16.87 0.00 2.68 1.48 0.05 78.92 11:23:01 4 14.63 0.00 2.36 2.77 0.07 80.17 11:23:01 5 25.94 0.00 3.44 1.24 0.07 69.31 11:23:01 6 20.30 0.00 2.93 0.82 0.07 75.89 11:23:01 7 17.35 0.00 2.72 1.53 0.05 78.35 11:24:01 all 0.71 0.00 0.24 0.39 0.03 98.63 11:24:01 0 2.31 0.00 0.30 0.02 0.02 97.35 11:24:01 1 0.48 0.00 0.18 0.05 0.02 99.27 11:24:01 2 0.65 0.00 0.32 0.02 0.03 98.98 11:24:01 3 0.37 0.00 0.15 2.51 0.03 96.94 11:24:01 4 0.60 0.00 0.22 0.18 0.03 98.97 11:24:01 5 0.32 0.00 0.17 0.08 0.05 99.38 11:24:01 6 0.35 0.00 0.25 0.03 0.02 99.35 11:24:01 7 0.58 0.00 0.37 0.25 0.07 98.73 Average: all 10.18 0.00 1.63 1.37 0.04 86.78 Average: 0 8.26 0.00 1.26 0.29 0.03 90.16 Average: 1 8.13 0.00 1.65 2.59 0.03 87.61 Average: 2 12.42 0.00 1.52 3.23 0.06 82.76 Average: 3 8.27 0.00 1.61 1.12 0.04 88.96 Average: 4 9.80 0.00 1.48 1.98 0.04 86.70 Average: 5 12.96 0.00 1.88 0.45 0.04 84.67 Average: 6 15.35 0.00 1.97 0.37 0.05 82.26 Average: 7 6.24 0.00 1.64 0.93 0.07 91.12