Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-81588 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-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-BftOVDTgkKgm/agent.2103 SSH_AGENT_PID=2105 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_12669735125426779441.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_12669735125426779441.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-montreal-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/montreal^{commit} # timeout=10 Checking out Revision 80b3e0eb572d9e891bb8deeaaf8728d30e0a2906 (refs/remotes/origin/montreal) > git config core.sparsecheckout # timeout=10 > git checkout -f 80b3e0eb572d9e891bb8deeaaf8728d30e0a2906 # timeout=30 Commit message: "Fix timeout in pap CSIT for auditing undeploys" > git rev-list --no-walk 80b3e0eb572d9e891bb8deeaaf8728d30e0a2906 # 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13786590281358156069.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-ab2H 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-ab2H/bin to PATH Generating Requirements File Python 3.10.6 pip 24.3.1 from /tmp/venv-ab2H/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.5.1 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.54 botocore==1.35.54 bs4==0.0.2 cachetools==5.5.0 certifi==2024.8.30 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.0 click==8.1.7 cliff==4.7.0 cmd2==2.5.2 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.9 dnspython==2.7.0 docker==4.2.2 dogpile.cache==1.3.3 durationpy==0.9 email_validator==2.2.0 filelock==3.16.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.35.0 httplib2==0.22.0 identify==2.6.1 idna==3.10 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2024.10.1 keystoneauth1==5.8.0 kubernetes==31.0.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==3.0.2 msgpack==1.1.0 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==4.1.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.6.0 oslo.context==5.6.0 oslo.i18n==6.4.0 oslo.log==6.1.2 oslo.serialization==5.5.0 oslo.utils==7.3.0 packaging==24.1 pbr==6.1.0 platformdirs==4.3.6 prettytable==3.12.0 pyasn1==0.6.1 pyasn1_modules==0.4.1 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.4.0 PyJWT==2.9.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.6.0 python-dateutil==2.9.0.post0 python-heatclient==4.0.0 python-jenkins==1.8.2 python-keystoneclient==5.5.0 python-magnumclient==4.7.0 python-openstackclient==7.2.1 python-swiftclient==4.6.0 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.20.1 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.12 s3transfer==0.10.3 simplejson==3.19.3 six==1.16.0 smmap==5.0.1 soupsieve==2.6 stevedore==5.3.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.66.6 typing_extensions==4.12.2 tzdata==2024.2 urllib3==1.26.20 virtualenv==20.27.1 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.14.2 yq==3.4.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-montreal-project-csit-api] $ /bin/sh /tmp/jenkins5516891561733561140.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-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins10099333242669650058.sh + /w/workspace/policy-api-montreal-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-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-montreal-project-csit-api + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.ZGCQHYCexs ++ echo ROBOT_VENV=/tmp/tmp.ZGCQHYCexs +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.ZGCQHYCexs ++ source /tmp/tmp.ZGCQHYCexs/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.ZGCQHYCexs +++ 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.ZGCQHYCexs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.ZGCQHYCexs) ' '!=' x ']' +++ PS1='(tmp.ZGCQHYCexs) ' +++ 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-montreal-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==3.0.0 certifi==2024.8.30 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.10 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.3.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.5.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.1 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.4 python-dateutil==2.9.0.post0 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.15.0 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.20 waitress==2.0.0 WebOb==1.8.9 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.ZGCQHYCexs/src/onap ++ rm -rf /tmp/tmp.ZGCQHYCexs/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==3.0.0 certifi==2024.8.30 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==1.0.0 idna==3.10 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.3.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.5.0 pbr==6.1.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.1 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.4 python-dateutil==2.9.0.post0 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.15.0 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.20 waitress==2.0.0 WebOb==1.8.9 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.ZGCQHYCexs/bin/activate + '[' -z /tmp/tmp.ZGCQHYCexs/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.ZGCQHYCexs/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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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.ZGCQHYCexs ++ 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.ZGCQHYCexs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.ZGCQHYCexs) ' ++ '[' 'x(tmp.ZGCQHYCexs) ' '!=' x ']' ++ PS1='(tmp.ZGCQHYCexs) (tmp.ZGCQHYCexs) ' ++ 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-montreal-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.Mj6NEhstDN + cd /tmp/tmp.Mj6NEhstDN + 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-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview +++ GERRIT_BRANCH=montreal +++ echo GERRIT_BRANCH=montreal GERRIT_BRANCH=montreal +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-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-montreal-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 3.0.2: Pulling from onap/policy-db-migrator Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 3.0.2: Pulling from onap/policy-api Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:378f4e03703557d1c6419e6caccf922f96e6d88a530f7431d66a4c4f4b1000fe 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:a0f881232a6fb71a0554a47d0fe2203b6888fe77f4cefb7ea62bed7eb54e13c3 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-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-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 12 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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:13:31 up 9 min, 0 users, load average: 2.60, 0.96, 0.36 Tasks: 169 total, 1 running, 101 sleeping, 0 stopped, 0 zombie %Cpu(s): 3.9 us, 0.8 sy, 0.0 ni, 94.2 id, 1.1 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.5G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 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 2752a49b9235 policy-api 0.10% 551.9MiB / 31.41GiB 1.72% 998kB / 710kB 0B / 0B 57 108ce33411df grafana 0.06% 60.61MiB / 31.41GiB 0.19% 8.5MB / 28.8kB 0B / 26.9MB 18 ea855cf24072 mariadb 0.03% 100.6MiB / 31.41GiB 0.31% 985kB / 1.17MB 11MB / 68MB 28 6cca284bba47 prometheus 0.00% 18.36MiB / 31.41GiB 0.06% 1.38kB / 0B 131kB / 0B 10 + echo + cd /tmp/tmp.Mj6NEhstDN + echo 'Reading the testplan:' Reading the testplan: + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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.Mj6NEhstDN/output.xml Log: /tmp/tmp.Mj6NEhstDN/log.html Report: /tmp/tmp.Mj6NEhstDN/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-montreal-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 - 18:14:42 up 11 min, 0 users, load average: 0.90, 0.82, 0.36 Tasks: 167 total, 1 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 3.9 us, 0.7 sy, 0.0 ni, 94.3 id, 1.0 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.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute 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 2752a49b9235 policy-api 0.18% 895MiB / 31.41GiB 2.78% 7.01MB / 2.59MB 0B / 0B 56 108ce33411df grafana 0.04% 62.19MiB / 31.41GiB 0.19% 8.5MB / 31.4kB 0B / 26.9MB 18 ea855cf24072 mariadb 0.02% 101.6MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 68.3MB 18 6cca284bba47 prometheus 0.00% 23.79MiB / 31.41GiB 0.07% 93.8kB / 7.41kB 131kB / 0B 13 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-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 [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.652777502Z level=info msg="Starting Grafana" version=11.3.0 commit=d9455ff7db73b694db7d412e49a68bec767f2b5a branch=HEAD compiled=2024-11-04T18:13:02Z [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653200441Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653219381Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653224381Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653228721Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653232321Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653236441Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653240701Z level=info msg="Config overridden from command line" arg="default.log.mode=console" [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653244902Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653249602Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653253332Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653256882Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653261462Z level=info msg=Target target=[all] [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653478276Z level=info msg="Path Home" path=/usr/share/grafana [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653483286Z level=info msg="Path Data" path=/var/lib/grafana [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653487157Z level=info msg="Path Logs" path=/var/log/grafana [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653493427Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653496957Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning [36mgrafana |[0m logger=settings t=2024-11-04T18:13:02.653501597Z level=info msg="App mode production" [36mgrafana |[0m logger=featuremgmt t=2024-11-04T18:13:02.654019677Z level=info msg=FeatureToggles publicDashboards=true exploreMetrics=true topnav=true angularDeprecationUI=true ssoSettingsApi=true tlsMemcached=true groupToNestedTableTransformation=true alertingInsights=true promQLScope=true correlations=true recordedQueriesMulti=true autoMigrateXYChartPanel=true dashboardSceneSolo=true managedPluginsInstall=true addFieldFromCalculationStatFunctions=true alertingNoDataErrorExecution=true alertingSimplifiedRouting=true panelMonitoring=true cloudWatchNewLabelParsing=true pinNavItems=true formatString=true lokiQuerySplitting=true prometheusConfigOverhaulAuth=true transformationsVariableSupport=true dashboardSceneForViewers=true cloudWatchCrossAccountQuerying=true notificationBanner=true transformationsRedesign=true annotationPermissionUpdate=true publicDashboardsScene=true lokiStructuredMetadata=true logsInfiniteScrolling=true kubernetesPlaylists=true lokiMetricDataplane=true awsAsyncQueryCaching=true prometheusAzureOverrideAudience=true dashboardScene=true nestedFolders=true openSearchBackendFlowEnabled=true prometheusMetricEncyclopedia=true logRowsPopoverMenu=true influxdbBackendMigration=true recoveryThreshold=true logsContextDatasourceUi=true accessControlOnCall=true lokiQueryHints=true dataplaneFrontendFallback=true dashgpt=true logsExploreTableVisualisation=true cloudWatchRoundUpEndTime=true [36mgrafana |[0m logger=sqlstore t=2024-11-04T18:13:02.654187891Z level=info msg="Connecting to DB" dbtype=sqlite3 [36mgrafana |[0m logger=sqlstore t=2024-11-04T18:13:02.654220712Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.656197563Z level=info msg="Locking database" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.656213284Z level=info msg="Starting DB migrations" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.656848747Z level=info msg="Executing migration" id="create migration_log table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.657731415Z level=info msg="Migration successfully executed" id="create migration_log table" duration=882.868µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.66271561Z level=info msg="Executing migration" id="create user table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.663338493Z level=info msg="Migration successfully executed" id="create user table" duration=621.703µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.668574423Z level=info msg="Executing migration" id="add unique index user.login" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.669155026Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=580.723µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.675701373Z level=info msg="Executing migration" id="add unique index user.email" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.676361877Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=659.974µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.680976114Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.681581696Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=602.282µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.685639151Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.686783546Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.143755ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.692557347Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.69657099Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.005943ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.70131782Z level=info msg="Executing migration" id="create user table v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.70228976Z level=info msg="Migration successfully executed" id="create user table v2" duration=971.73µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.706226504Z level=info msg="Executing migration" id="create index UQE_user_login - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.70702698Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=799.756µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.712455444Z level=info msg="Executing migration" id="create index UQE_user_email - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.713265901Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=811.047µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.718384608Z level=info msg="Executing migration" id="copy data_source v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.718906509Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=521.191µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.722871603Z level=info msg="Executing migration" id="Drop old table user_v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.723753211Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=879.788µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.727840846Z level=info msg="Executing migration" id="Add column help_flags1 to user table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.729597594Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.755048ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.735651871Z level=info msg="Executing migration" id="Update user table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.735699902Z level=info msg="Migration successfully executed" id="Update user table charset" duration=48.361µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.740219617Z level=info msg="Executing migration" id="Add last_seen_at column to user" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.741959054Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.737647ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.746302695Z level=info msg="Executing migration" id="Add missing user data" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.746725133Z level=info msg="Migration successfully executed" id="Add missing user data" duration=421.259µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.75129366Z level=info msg="Executing migration" id="Add is_disabled column to user" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.752434503Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.140044ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.757459259Z level=info msg="Executing migration" id="Add index user.login/user.email" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.758635713Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.175764ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.76274741Z level=info msg="Executing migration" id="Add is_service_account column to user" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.764519307Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.770607ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.768553871Z level=info msg="Executing migration" id="Update is_service_account column to nullable" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.776658332Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.103861ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.78088997Z level=info msg="Executing migration" id="Add uid column to user" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.782038095Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.147974ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.787409708Z level=info msg="Executing migration" id="Update uid column values for users" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.787616332Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=206.184µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.791520954Z level=info msg="Executing migration" id="Add unique index user_uid" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.792660148Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.138304ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.797138321Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.797734654Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=594.763µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.801692157Z level=info msg="Executing migration" id="update login and email fields to lowercase" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.802074205Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase" duration=381.638µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.80752194Z level=info msg="Executing migration" id="update login and email fields to lowercase2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.807804275Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase2" duration=282.206µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.811682606Z level=info msg="Executing migration" id="create temp user table v1-7" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.813033835Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.351569ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.817896048Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.818773866Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=878.919µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.824400274Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.825161689Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=760.315µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.829599623Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.830298927Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=699.174µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.834840543Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.835545727Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=704.504µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.841473412Z level=info msg="Executing migration" id="Update temp_user table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.841515733Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=43.271µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.845530507Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.846565919Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.034502ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.850648384Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.851669746Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.020362ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.856830335Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.857468468Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=636.403µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.861348149Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.862241158Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=891.038µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.866440326Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.871095794Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.654408ms [33mmariadb |[0m 2024-11-04 18:13:03+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. [33mmariadb |[0m 2024-11-04 18:13:03+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' [33mmariadb |[0m 2024-11-04 18:13:03+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. [33mmariadb |[0m 2024-11-04 18:13:04+00:00 [Note] [Entrypoint]: Initializing database files [33mmariadb |[0m 2024-11-04 18:13:04 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) [33mmariadb |[0m 2024-11-04 18:13:04 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF [33mmariadb |[0m 2024-11-04 18:13:04 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. [33mmariadb |[0m [33mmariadb |[0m [33mmariadb |[0m PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! [33mmariadb |[0m To do so, start the server, then issue the following command: [33mmariadb |[0m [33mmariadb |[0m '/usr/bin/mysql_secure_installation' [33mmariadb |[0m [33mmariadb |[0m which will also give you the option of removing the test [33mmariadb |[0m databases and anonymous user created by default. This is [33mmariadb |[0m strongly recommended for production servers. [33mmariadb |[0m [33mmariadb |[0m See the MariaDB Knowledgebase at https://mariadb.com/kb [33mmariadb |[0m [33mmariadb |[0m Please report any problems at https://mariadb.org/jira [33mmariadb |[0m [33mmariadb |[0m The latest information about MariaDB is available at https://mariadb.org/. [33mmariadb |[0m [33mmariadb |[0m Consider joining MariaDB's strong and vibrant community: [33mmariadb |[0m https://mariadb.org/get-involved/ [33mmariadb |[0m [33mmariadb |[0m 2024-11-04 18:13:05+00:00 [Note] [Entrypoint]: Database files initialized [33mmariadb |[0m 2024-11-04 18:13:05+00:00 [Note] [Entrypoint]: Starting temporary server [33mmariadb |[0m 2024-11-04 18:13:05+00:00 [Note] [Entrypoint]: Waiting for server startup [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] InnoDB: Number of transaction pools: 1 [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) [33mmariadb |[0m 2024-11-04 18:13:05 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) [33mmariadb |[0m 2024-11-04 18:13:05 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] InnoDB: Completed initialization of buffer pool [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] InnoDB: 128 rollback segments are active. [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] InnoDB: log sequence number 46590; transaction id 14 [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] Plugin 'FEEDBACK' is disabled. [33mmariadb |[0m 2024-11-04 18:13:05 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. [33mmariadb |[0m 2024-11-04 18:13:05 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. [33mmariadb |[0m 2024-11-04 18:13:05 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. [33mmariadb |[0m 2024-11-04 18:13:05 0 [Note] mariadbd: ready for connections. [33mmariadb |[0m Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution [33mmariadb |[0m 2024-11-04 18:13:06+00:00 [Note] [Entrypoint]: Temporary server started. [33mmariadb |[0m 2024-11-04 18:13:08+00:00 [Note] [Entrypoint]: Creating user policy_user [33mmariadb |[0m 2024-11-04 18:13:08+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) [33mmariadb |[0m [33mmariadb |[0m 2024-11-04 18:13:08+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf [33mmariadb |[0m [33mmariadb |[0m 2024-11-04 18:13:08+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh [33mmariadb |[0m #!/bin/bash -xv [33mmariadb |[0m # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved [33mmariadb |[0m # Modifications Copyright (c) 2022 Nordix Foundation. [33mmariadb |[0m # [33mmariadb |[0m # Licensed under the Apache License, Version 2.0 (the "License"); [33mmariadb |[0m # you may not use this file except in compliance with the License. [33mmariadb |[0m # You may obtain a copy of the License at [33mmariadb |[0m # [33mmariadb |[0m # http://www.apache.org/licenses/LICENSE-2.0 [33mmariadb |[0m # [33mmariadb |[0m # Unless required by applicable law or agreed to in writing, software [33mmariadb |[0m # distributed under the License is distributed on an "AS IS" BASIS, [33mmariadb |[0m # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. [33mmariadb |[0m # See the License for the specific language governing permissions and [33mmariadb |[0m # limitations under the License. [33mmariadb |[0m [33mmariadb |[0m for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m do [33mmariadb |[0m mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" [33mmariadb |[0m mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" [33mmariadb |[0m done [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' [33mmariadb |[0m [33mmariadb |[0m mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" [33mmariadb |[0m + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.87620563Z level=info msg="Executing migration" id="create temp_user v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.877056529Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=850.749µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.881017612Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.882162816Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.144274ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.886303063Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.887457907Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.153563ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.892546253Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.89328044Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=733.127µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.897078069Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.897994898Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=914.609µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.902495653Z level=info msg="Executing migration" id="copy temp_user v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.903138456Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=642.053µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.907281654Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.907820535Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=538.351µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.912707257Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.913105066Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=397.409µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.916824554Z level=info msg="Executing migration" id="create star table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.917878955Z level=info msg="Migration successfully executed" id="create star table" duration=1.053491ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.921916711Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.923148166Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.230035ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.928358786Z level=info msg="Executing migration" id="create org table v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.929713344Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.353239ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.933838651Z level=info msg="Executing migration" id="create index UQE_org_name - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.934625357Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=785.547µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.938167192Z level=info msg="Executing migration" id="create org_user table v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.938921397Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=751.345µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.942855659Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.944085316Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.226287ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.94910806Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.949876717Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=768.567µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.953635866Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.954454753Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=817.217µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.958335725Z level=info msg="Executing migration" id="Update org table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.958369826Z level=info msg="Migration successfully executed" id="Update org table charset" duration=34.461µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.962244367Z level=info msg="Executing migration" id="Update org_user table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.962271627Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=28.11µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.966933355Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.967277503Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=343.898µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.971367108Z level=info msg="Executing migration" id="create dashboard table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.972597544Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.230696ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.97671114Z level=info msg="Executing migration" id="add index dashboard.account_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.977542358Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=831.118µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.981218595Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.982124394Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=905.669µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.98717183Z level=info msg="Executing migration" id="create dashboard_tag table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.988292993Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.121283ms [33mmariadb |[0m mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql [33mmariadb |[0m + mysql -upolicy_user -ppolicy_user -f policyclamp [33mmariadb |[0m [33mmariadb |[0m 2024-11-04 18:13:08+00:00 [Note] [Entrypoint]: Stopping temporary server [33mmariadb |[0m 2024-11-04 18:13:08 0 [Note] mariadbd (initiated by: unknown): Normal shutdown [33mmariadb |[0m 2024-11-04 18:13:08 0 [Note] InnoDB: FTS optimize thread exiting. [33mmariadb |[0m 2024-11-04 18:13:08 0 [Note] InnoDB: Starting shutdown... [33mmariadb |[0m 2024-11-04 18:13:08 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool [33mmariadb |[0m 2024-11-04 18:13:08 0 [Note] InnoDB: Buffer pool(s) dump completed at 241104 18:13:08 [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: Shutdown completed; log sequence number 327895; transaction id 298 [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] mariadbd: Shutdown complete [33mmariadb |[0m [33mmariadb |[0m 2024-11-04 18:13:09+00:00 [Note] [Entrypoint]: Temporary server stopped [33mmariadb |[0m [33mmariadb |[0m 2024-11-04 18:13:09+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. [33mmariadb |[0m [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: Number of transaction pools: 1 [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) [33mmariadb |[0m 2024-11-04 18:13:09 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) [33mmariadb |[0m 2024-11-04 18:13:09 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: Completed initialization of buffer pool [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: 128 rollback segments are active. [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: log sequence number 327895; transaction id 299 [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] Plugin 'FEEDBACK' is disabled. [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool [33mmariadb |[0m 2024-11-04 18:13:09 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. [33mmariadb |[0m 2024-11-04 18:13:09 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] Server socket created on IP: '0.0.0.0'. [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] Server socket created on IP: '::'. [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] mariadbd: ready for connections. [33mmariadb |[0m Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution [33mmariadb |[0m 2024-11-04 18:13:09 0 [Note] InnoDB: Buffer pool(s) load completed at 241104 18:13:09 [33mmariadb |[0m 2024-11-04 18:13:09 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) [33mmariadb |[0m 2024-11-04 18:13:09 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.992669575Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.993467482Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=798.957µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.997213931Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:02.997949896Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=736.345µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.002786308Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.010450008Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.66313ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.014315439Z level=info msg="Executing migration" id="create dashboard v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.015076837Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=763.478µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.019180623Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.019913501Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=732.318µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.024671542Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.025451931Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=779.979µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.02922235Z level=info msg="Executing migration" id="copy dashboard v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.029560547Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=344.398µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.033121061Z level=info msg="Executing migration" id="drop table dashboard_v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.03390232Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=780.659µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.03818561Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.038290902Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=105.592µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.042305837Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.045228906Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.922409ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.04925435Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.051011202Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.756121ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.055777734Z level=info msg="Executing migration" id="Add column gnetId in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.057575445Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.797591ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.061282013Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.062083832Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=800.999µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.06713816Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.069163657Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.022477ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.072812144Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.073669924Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=856.529µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.077742209Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.078553288Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=810.629µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.083261358Z level=info msg="Executing migration" id="Update dashboard table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.083287079Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=29.361µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.086990397Z level=info msg="Executing migration" id="Update dashboard_tag table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.087014077Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=25.48µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.090787185Z level=info msg="Executing migration" id="Add column folder_id in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.093948129Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.127614ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.097974835Z level=info msg="Executing migration" id="Add column isFolder in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.099987241Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.011336ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.10460185Z level=info msg="Executing migration" id="Add column has_acl in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.106482624Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.878774ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.110333094Z level=info msg="Executing migration" id="Add column uid in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.11227207Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.938226ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.116012788Z level=info msg="Executing migration" id="Update uid column values in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.116222243Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=208.615µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.121041616Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.121984148Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=941.062µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.126143316Z level=info msg="Executing migration" id="Remove unique index org_id_slug" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.127291783Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.146886ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.130890787Z level=info msg="Executing migration" id="Update dashboard title length" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.130920448Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=29.35µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.134439741Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.13528598Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=845.659µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.140323299Z level=info msg="Executing migration" id="create dashboard_provisioning" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.141391334Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.067185ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.145280746Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.151773508Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.492793ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.155642538Z level=info msg="Executing migration" id="create dashboard_provisioning v2" [32mpolicy-api |[0m Waiting for mariadb port 3306... [32mpolicy-api |[0m mariadb (172.17.0.2:3306) open [32mpolicy-api |[0m Waiting for policy-db-migrator port 6824... [32mpolicy-api |[0m policy-db-migrator (172.17.0.5:6824) open [32mpolicy-api |[0m Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml [32mpolicy-api |[0m [32mpolicy-api |[0m . ____ _ __ _ _ [32mpolicy-api |[0m /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ [32mpolicy-api |[0m ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ [32mpolicy-api |[0m \\/ ___)| |_)| | | | | || (_| | ) ) ) ) [32mpolicy-api |[0m ' |____| .__|_| |_|_| |_\__, | / / / / [32mpolicy-api |[0m =========|_|==============|___/=/_/_/_/ [32mpolicy-api |[0m :: Spring Boot :: (v3.1.4) [32mpolicy-api |[0m [32mpolicy-api |[0m [2024-11-04T18:13:17.026+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) [32mpolicy-api |[0m [2024-11-04T18:13:17.029+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" [32mpolicy-api |[0m [2024-11-04T18:13:18.771+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. [32mpolicy-api |[0m [2024-11-04T18:13:18.864+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 82 ms. Found 6 JPA repository interfaces. [32mpolicy-api |[0m [2024-11-04T18:13:19.253+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 [32mpolicy-api |[0m [2024-11-04T18:13:19.254+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 [32mpolicy-api |[0m [2024-11-04T18:13:19.890+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) [32mpolicy-api |[0m [2024-11-04T18:13:19.899+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] [32mpolicy-api |[0m [2024-11-04T18:13:19.901+00:00|INFO|StandardService|main] Starting service [Tomcat] [32mpolicy-api |[0m [2024-11-04T18:13:19.901+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] [32mpolicy-api |[0m [2024-11-04T18:13:20.005+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext [32mpolicy-api |[0m [2024-11-04T18:13:20.006+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2910 ms [32mpolicy-api |[0m [2024-11-04T18:13:20.456+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] [32mpolicy-api |[0m [2024-11-04T18:13:20.528+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 [32mpolicy-api |[0m [2024-11-04T18:13:20.531+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer [32mpolicy-api |[0m [2024-11-04T18:13:20.578+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled [32mpolicy-api |[0m [2024-11-04T18:13:20.929+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer [32mpolicy-api |[0m [2024-11-04T18:13:20.949+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... [32mpolicy-api |[0m [2024-11-04T18:13:21.049+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b [32mpolicy-api |[0m [2024-11-04T18:13:21.052+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. [32mpolicy-api |[0m [2024-11-04T18:13:21.084+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) [32mpolicy-api |[0m [2024-11-04T18:13:21.086+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead [32mpolicy-api |[0m [2024-11-04T18:13:22.939+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) [32mpolicy-api |[0m [2024-11-04T18:13:22.942+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' [32mpolicy-api |[0m [2024-11-04T18:13:24.132+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml [32mpolicy-api |[0m [2024-11-04T18:13:24.912+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] [32mpolicy-api |[0m [2024-11-04T18:13:26.011+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 [32mpolicy-api |[0m [2024-11-04T18:13:26.187+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@46ae1e6b, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6d293b41, org.springframework.security.web.context.SecurityContextHolderFilter@3edd135d, org.springframework.security.web.header.HeaderWriterFilter@700f356b, org.springframework.security.web.authentication.logout.LogoutFilter@19e86461, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@44a1e5d2, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5f6b6f2, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@45fa7f1a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@c0d114b, org.springframework.security.web.access.ExceptionTranslationFilter@fb74661, org.springframework.security.web.access.intercept.AuthorizationFilter@59171a5d] [32mpolicy-api |[0m [2024-11-04T18:13:27.012+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' [32mpolicy-api |[0m [2024-11-04T18:13:27.070+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] [32mpolicy-api |[0m [2024-11-04T18:13:27.102+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' [32mpolicy-api |[0m [2024-11-04T18:13:27.121+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.834 seconds (process running for 11.484) [32mpolicy-api |[0m [2024-11-04T18:13:34.077+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' [32mpolicy-api |[0m [2024-11-04T18:13:34.077+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' [32mpolicy-api |[0m [2024-11-04T18:13:34.078+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms [32mpolicy-api |[0m [2024-11-04T18:13:36.845+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: [32mpolicy-api |[0m [] [32mpolicy-api |[0m [2024-11-04T18:13:36.979+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes [32mpolicy-api |[0m [2024-11-04T18:13:37.267+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes [32mpolicy-api |[0m [2024-11-04T18:13:38.451+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies [32mpolicy-api |[0m [2024-11-04T18:13:40.572+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 [32mpolicy-api |[0m [2024-11-04T18:13:40.903+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 [32mpolicy-api |[0m [2024-11-04T18:13:41.153+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 [32mpolicy-api |[0m [2024-11-04T18:13:41.401+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 [32mpolicy-api |[0m [2024-11-04T18:13:41.642+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 [32mpolicy-api |[0m [2024-11-04T18:13:41.881+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.156417016Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=772.768µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.161153088Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.162050798Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=897.6µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.167423275Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.16889204Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.468715ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.172700359Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.173041277Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=340.558µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.177307767Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.17783858Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=530.052µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.181315121Z level=info msg="Executing migration" id="Add check_sum column" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.185422438Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=4.106067ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.189141475Z level=info msg="Executing migration" id="Add index for dashboard_title" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.190068796Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=926.611µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.194278526Z level=info msg="Executing migration" id="delete tags for deleted dashboards" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.19444618Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=167.724µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.198032994Z level=info msg="Executing migration" id="delete stars for deleted dashboards" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.19831164Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=281.927µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.202332225Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.203508182Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.175357ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.208176062Z level=info msg="Executing migration" id="Add isPublic for dashboard" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.210317653Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.141121ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.213709532Z level=info msg="Executing migration" id="Add deleted for dashboard" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.215791901Z level=info msg="Migration successfully executed" id="Add deleted for dashboard" duration=2.081879ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.21914354Z level=info msg="Executing migration" id="Add index for deleted" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.219883657Z level=info msg="Migration successfully executed" id="Add index for deleted" duration=739.277µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.22343089Z level=info msg="Executing migration" id="create data_source table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.224368773Z level=info msg="Migration successfully executed" id="create data_source table" duration=936.983µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.228762815Z level=info msg="Executing migration" id="add index data_source.account_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.229598076Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=834.45µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.233013896Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.233834084Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=812.409µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.237270075Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.238018183Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=747.148µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.242501488Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.243224575Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=722.377µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.246684067Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.256371974Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.682607ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.260947052Z level=info msg="Executing migration" id="create data_source table v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.261565436Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=618.165µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.265020977Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.265553339Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=530.712µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.269746668Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.270952366Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.204818ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.275679337Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.276266071Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=588.084µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.279745893Z level=info msg="Executing migration" id="Add column with_credentials" [35mpolicy-db-migrator |[0m Waiting for mariadb port 3306... [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused [35mpolicy-db-migrator |[0m Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! [35mpolicy-db-migrator |[0m 321 blocks [35mpolicy-db-migrator |[0m Preparing upgrade release version: 0800 [35mpolicy-db-migrator |[0m Preparing upgrade release version: 0900 [35mpolicy-db-migrator |[0m Preparing upgrade release version: 1000 [35mpolicy-db-migrator |[0m Preparing upgrade release version: 1100 [35mpolicy-db-migrator |[0m Preparing upgrade release version: 1200 [35mpolicy-db-migrator |[0m Preparing upgrade release version: 1300 [35mpolicy-db-migrator |[0m Done [35mpolicy-db-migrator |[0m name version [35mpolicy-db-migrator |[0m policyadmin 0 [35mpolicy-db-migrator |[0m policyadmin: upgrade available: 0 -> 1300 [35mpolicy-db-migrator |[0m upgrade: 0 -> 1300 [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0100-jpapdpgroup_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m 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) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0110-jpapdpstatistics_enginestats.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m 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) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.282040006Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.291274ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.285727634Z level=info msg="Executing migration" id="Add secure json data column" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.288039037Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.310763ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.292952063Z level=info msg="Executing migration" id="Update data_source table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.292985483Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=34.45µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.297103671Z level=info msg="Executing migration" id="Update initial version to 1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.297357247Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=256.225µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.300825078Z level=info msg="Executing migration" id="Add read_only data column" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.303172473Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.347095ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.306602223Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.306812658Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=210.475µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.311152151Z level=info msg="Executing migration" id="Update json_data with nulls" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.311323305Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=171.363µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.314806576Z level=info msg="Executing migration" id="Add uid column" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.317248904Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.441307ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.320837558Z level=info msg="Executing migration" id="Update uid value" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.321023692Z level=info msg="Migration successfully executed" id="Update uid value" duration=185.705µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.325656061Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.32647726Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=821.359µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.330019423Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.331365145Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.345332ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.335185844Z level=info msg="Executing migration" id="Add is_prunable column" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.337754815Z level=info msg="Migration successfully executed" id="Add is_prunable column" duration=2.569591ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.342378254Z level=info msg="Executing migration" id="Add api_version column" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.345322823Z level=info msg="Migration successfully executed" id="Add api_version column" duration=2.943539ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.349782768Z level=info msg="Executing migration" id="create api_key table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.350655668Z level=info msg="Migration successfully executed" id="create api_key table" duration=872.62µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.354424396Z level=info msg="Executing migration" id="add index api_key.account_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.355302407Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=878.271µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.359873344Z level=info msg="Executing migration" id="add index api_key.key" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.360788125Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=914.681µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.364329139Z level=info msg="Executing migration" id="add index api_key.account_id_name" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.365123568Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=793.859µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.368612869Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.369385837Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=772.888µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.37372222Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.374513918Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=791.588µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.378221936Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.379061115Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=838.719µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.38268354Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.389667224Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.977214ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.39460415Z level=info msg="Executing migration" id="create api_key table v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.395369328Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=782.269µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.399047724Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.399853713Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=805.749µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.404354839Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.405552207Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.197258ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.409562671Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.410885222Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.322721ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.414871336Z level=info msg="Executing migration" id="copy api_key v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.41545061Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=579.533µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.419166717Z level=info msg="Executing migration" id="Drop old table api_key_v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.41973794Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=571.054µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.424146934Z level=info msg="Executing migration" id="Update api_key table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.424181374Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=36.66µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.427968163Z level=info msg="Executing migration" id="Add expires to api_key table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.432443989Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.527026ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.436226107Z level=info msg="Executing migration" id="Add service account foreign key" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.438969511Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.742914ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.443495488Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.443667372Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=172.094µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.447141703Z level=info msg="Executing migration" id="Add last_used_at to api_key table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.450285257Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.138394ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.454035906Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.456724739Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.688413ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.461365737Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.462091765Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=728.948µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.465761371Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.466295383Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=533.712µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.469927308Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.471218489Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.290511ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.475964681Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.477897646Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.972456ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.483534088Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.484380419Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=845.381µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.487705747Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.489114279Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.408103ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.492494728Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.492598781Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=103.153µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.495761096Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.495800297Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=39.231µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.501673255Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.50490474Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.231326ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.508174867Z level=info msg="Executing migration" id="Add encrypted dashboard json column" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.511106306Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.931399ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.514233139Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.51429698Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=64.181µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.519485552Z level=info msg="Executing migration" id="create quota table v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.520274681Z level=info msg="Migration successfully executed" id="create quota table v1" duration=789.149µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.523410734Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.524723956Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.312042ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.528290069Z level=info msg="Executing migration" id="Update quota table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.52833324Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=43.701µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.531651448Z level=info msg="Executing migration" id="create plugin_setting table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.532482448Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=827.7µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.537843884Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.538884548Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.039754ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.543438285Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.548096014Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.659739ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.551118605Z level=info msg="Executing migration" id="Update plugin_setting table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.551148716Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=32.931µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.556324167Z level=info msg="Executing migration" id="create session table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.557097526Z level=info msg="Migration successfully executed" id="create session table" duration=749.818µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.56066512Z level=info msg="Executing migration" id="Drop old table playlist table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.560810623Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=146.373µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.56410765Z level=info msg="Executing migration" id="Drop old table playlist_item table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.564233893Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=126.313µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.569225861Z level=info msg="Executing migration" id="create playlist table v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.570306846Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.081045ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.57429768Z level=info msg="Executing migration" id="create playlist item table v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.576244655Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.943395ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.579880551Z level=info msg="Executing migration" id="Update playlist table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.579911422Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=31.251µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.584403177Z level=info msg="Executing migration" id="Update playlist_item table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.584434467Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=31.4µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.587991562Z level=info msg="Executing migration" id="Add playlist column created_at" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.593735447Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.739444ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.597440303Z level=info msg="Executing migration" id="Add playlist column updated_at" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.60070704Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.264587ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.604389686Z level=info msg="Executing migration" id="drop preferences table v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.604474158Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=84.302µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.608883292Z level=info msg="Executing migration" id="drop preferences table v3" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.608966574Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=84.202µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.612390644Z level=info msg="Executing migration" id="create preferences table v3" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.613657494Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.2664ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.618327613Z level=info msg="Executing migration" id="Update preferences table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.618368254Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=41.431µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.622983773Z level=info msg="Executing migration" id="Add column team_id in preferences" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.626128697Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.144524ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.629989248Z level=info msg="Executing migration" id="Update team_id column values in preferences" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.630267414Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=278.286µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.634134825Z level=info msg="Executing migration" id="Add column week_start in preferences" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.639392588Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.257293ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.644449677Z level=info msg="Executing migration" id="Add column preferences.json_data" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.649894755Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.445008ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.653553521Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.653624403Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=71.422µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.656348307Z level=info msg="Executing migration" id="Add preferences index org_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.657825441Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.476854ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.661747223Z level=info msg="Executing migration" id="Add preferences index user_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.662687035Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=940.092µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.667077209Z level=info msg="Executing migration" id="create alert table v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.668248516Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.170447ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.672072096Z level=info msg="Executing migration" id="add index alert org_id & id " [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.672985557Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=915.321µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.676694054Z level=info msg="Executing migration" id="add index alert state" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.677881183Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.186908ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.682264025Z level=info msg="Executing migration" id="add index alert dashboard_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.683065563Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=798.288µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.686522245Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.687208541Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=685.736µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.693076529Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.69399458Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=917.561µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.703640727Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.705525101Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.884464ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.709057085Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.718490446Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.434032ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.721784203Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.722279664Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=495.631µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.727262642Z 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" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.728120752Z 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=857.21µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.731320547Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.731604254Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=281.277µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.736485609Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" [35mpolicy-db-migrator |[0m > upgrade 0120-jpapdpsubgroup_policies.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m 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) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0130-jpapdpsubgroup_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m 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) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m 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) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0150-jpatoscacapabilityassignment_attributes.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m 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) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0160-jpatoscacapabilityassignment_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0180-jpatoscacapabilityassignment_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.737480492Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=993.683µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.743167525Z level=info msg="Executing migration" id="create alert_notification table v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.744903517Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.742781ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.748421949Z level=info msg="Executing migration" id="Add column is_default" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.752119925Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.696686ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.755554166Z level=info msg="Executing migration" id="Add column frequency" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.759282864Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.728348ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.764103997Z level=info msg="Executing migration" id="Add column send_reminder" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.767924507Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.819501ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.778226288Z level=info msg="Executing migration" id="Add column disable_resolve_message" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.785888658Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=7.66204ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.789459822Z level=info msg="Executing migration" id="add index alert_notification org_id & name" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.790099558Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=639.456µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.793131829Z level=info msg="Executing migration" id="Update alert table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.793153059Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=21.8µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.797384958Z level=info msg="Executing migration" id="Update alert_notification table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.797426039Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=42.561µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.801155337Z level=info msg="Executing migration" id="create notification_journal table v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.802477998Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.321911ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.806036021Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.806875232Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=838.591µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.811148532Z level=info msg="Executing migration" id="drop alert_notification_journal" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.811878868Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=729.737µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.818670718Z level=info msg="Executing migration" id="create alert_notification_state table v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.820243005Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.571757ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.829785219Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.832415411Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=2.633492ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.837186423Z level=info msg="Executing migration" id="Add for to alert table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.840298337Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.115414ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.843315327Z level=info msg="Executing migration" id="Add column uid in alert_notification" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.847533056Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.218309ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.855904793Z level=info msg="Executing migration" id="Update uid column values in alert_notification" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.856263401Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=359.239µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.861378621Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.862380334Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.000813ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.867225938Z level=info msg="Executing migration" id="Remove unique index org_id_name" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.868059039Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=832.971µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.8740742Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.877825067Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.750667ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.884972376Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.885047738Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=80.391µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.889353138Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.89029872Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=950.522µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.895932312Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.897186242Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.28147ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.903302386Z level=info msg="Executing migration" id="Drop old annotation table v4" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.903448469Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=151.094µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.906440689Z level=info msg="Executing migration" id="create annotation table v5" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.907574416Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.133217ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.910464184Z level=info msg="Executing migration" id="add index annotation 0 v3" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.91115829Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=694.096µs [35mpolicy-db-migrator |[0m > upgrade 0190-jpatoscacapabilitytype_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0200-jpatoscacapabilitytype_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0210-jpatoscadatatype_constraints.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0220-jpatoscadatatype_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0230-jpatoscadatatype_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0240-jpatoscanodetemplate_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0250-jpatoscanodetemplate_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0260-jpatoscanodetype_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0270-jpatoscanodetype_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0280-jpatoscapolicy_metadata.sql [35mpolicy-db-migrator |[0m -------------- [34mprometheus |[0m ts=2024-11-04T18:13:01.706Z caller=main.go:627 level=info msg="No time or size retention was set so using the default time retention" duration=15d [34mprometheus |[0m ts=2024-11-04T18:13:01.706Z caller=main.go:671 level=info msg="Starting Prometheus Server" mode=server version="(version=2.55.0, branch=HEAD, revision=91d80252c3e528728b0f88d254dd720f6be07cb8)" [34mprometheus |[0m ts=2024-11-04T18:13:01.706Z caller=main.go:676 level=info build_context="(go=go1.23.2, platform=linux/amd64, user=root@9fad779131cc, date=20241022-13:47:22, tags=netgo,builtinassets,stringlabels)" [34mprometheus |[0m ts=2024-11-04T18:13:01.706Z caller=main.go:677 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))" [34mprometheus |[0m ts=2024-11-04T18:13:01.706Z caller=main.go:678 level=info fd_limits="(soft=1048576, hard=1048576)" [34mprometheus |[0m ts=2024-11-04T18:13:01.706Z caller=main.go:679 level=info vm_limits="(soft=unlimited, hard=unlimited)" [34mprometheus |[0m ts=2024-11-04T18:13:01.710Z caller=web.go:585 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 [34mprometheus |[0m ts=2024-11-04T18:13:01.710Z caller=main.go:1197 level=info msg="Starting TSDB ..." [34mprometheus |[0m ts=2024-11-04T18:13:01.716Z caller=tls_config.go:348 level=info component=web msg="Listening on" address=[::]:9090 [34mprometheus |[0m ts=2024-11-04T18:13:01.716Z caller=tls_config.go:351 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 [34mprometheus |[0m ts=2024-11-04T18:13:01.744Z caller=head.go:627 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" [34mprometheus |[0m ts=2024-11-04T18:13:01.744Z caller=head.go:714 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.42µs [34mprometheus |[0m ts=2024-11-04T18:13:01.745Z caller=head.go:722 level=info component=tsdb msg="Replaying WAL, this may take a while" [34mprometheus |[0m ts=2024-11-04T18:13:01.746Z caller=head.go:794 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 [34mprometheus |[0m ts=2024-11-04T18:13:01.746Z caller=head.go:831 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=205.445µs wal_replay_duration=843.129µs wbl_replay_duration=280ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=3.42µs total_replay_duration=1.445013ms [34mprometheus |[0m ts=2024-11-04T18:13:01.753Z caller=main.go:1218 level=info fs_type=EXT4_SUPER_MAGIC [34mprometheus |[0m ts=2024-11-04T18:13:01.753Z caller=main.go:1221 level=info msg="TSDB started" [34mprometheus |[0m ts=2024-11-04T18:13:01.753Z caller=main.go:1404 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml [34mprometheus |[0m ts=2024-11-04T18:13:01.755Z caller=main.go:1441 level=info msg="updated GOGC" old=100 new=75 [34mprometheus |[0m ts=2024-11-04T18:13:01.755Z caller=main.go:1452 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.265892ms db_storage=1.86µs remote_storage=2.73µs web_handler=1.31µs query_engine=1.44µs scrape=277.887µs scrape_sd=156.263µs notify=32.071µs notify_sd=11.19µs rules=1.821µs tracing=7.19µs [34mprometheus |[0m ts=2024-11-04T18:13:01.755Z caller=main.go:1182 level=info msg="Server is ready to receive web requests." [34mprometheus |[0m ts=2024-11-04T18:13:01.755Z caller=manager.go:164 level=info component="rule manager" msg="Starting rule manager..." [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.916342532Z level=info msg="Executing migration" id="add index annotation 1 v3" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0290-jpatoscapolicy_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0300-jpatoscapolicy_targets.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0310-jpatoscapolicytype_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0320-jpatoscapolicytype_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0330-jpatoscapolicytype_targets.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0340-jpatoscapolicytype_triggers.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.917869268Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.524855ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.92135269Z level=info msg="Executing migration" id="add index annotation 2 v3" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.922912716Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.560136ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.926152432Z level=info msg="Executing migration" id="add index annotation 3 v3" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.927151216Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=997.784µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.932671856Z level=info msg="Executing migration" id="add index annotation 4 v3" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.93373092Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.057854ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.937855217Z level=info msg="Executing migration" id="Update annotation table charset" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.937882387Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=27.97µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.940341445Z level=info msg="Executing migration" id="Add column region_id to annotation table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.944415811Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.074156ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.949757237Z level=info msg="Executing migration" id="Drop category_id index" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.950652688Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=895.111µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.956796742Z level=info msg="Executing migration" id="Add column tags to annotation table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.961152955Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.356122ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.964516063Z level=info msg="Executing migration" id="Create annotation_tag table v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.965188159Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=671.586µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.970474933Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.971365354Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=890.071µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.97457023Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.975839699Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.265459ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.981363949Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:03.996095285Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.719285ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.00013182Z level=info msg="Executing migration" id="Create annotation_tag table v3" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.00143Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.29908ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.007469912Z 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" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.009178652Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.712251ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.013482443Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.01420763Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=730.488µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.01845676Z level=info msg="Executing migration" id="drop table annotation_tag_v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.019428113Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=966.883µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.025399023Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.025636849Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=238.666µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.028914826Z level=info msg="Executing migration" id="Add created time to annotation table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.033482793Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.572278ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.037993119Z level=info msg="Executing migration" id="Add updated time to annotation table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.042002093Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.006015ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.04826939Z level=info msg="Executing migration" id="Add index for created in annotation table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.050312778Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=2.047448ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.055061999Z level=info msg="Executing migration" id="Add index for updated in annotation table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.056471563Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.410804ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.062049924Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.06231693Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=266.956µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.065331771Z level=info msg="Executing migration" id="Add epoch_end column" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.069998451Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.66515ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.076109934Z level=info msg="Executing migration" id="Add index for epoch_end" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.077099987Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=983.373µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.0818934Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.082064544Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=171.184µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.086530288Z level=info msg="Executing migration" id="Move region to single row" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.086880127Z level=info msg="Migration successfully executed" id="Move region to single row" duration=349.329µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.089840897Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.090828259Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=986.912µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.096060903Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.097419504Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.357691ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.102224018Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.103608061Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.383273ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.111022945Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.112447759Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.424404ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.117087398Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.117980639Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=894.131µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.127390821Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.128781514Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.391643ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.133549956Z level=info msg="Executing migration" id="Increase tags column to length 4096" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.133630248Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=80.072µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.138950513Z level=info msg="Executing migration" id="create test_data table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.140242414Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.291711ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.151033109Z level=info msg="Executing migration" id="create dashboard_version table v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.152564074Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.532365ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.161090025Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.16254455Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.455345ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.167471885Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.168710095Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.2373ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.173927668Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.174301357Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=373.049µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.180834171Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.181395574Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=561.263µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.185417479Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.185527222Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=110.452µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.191369299Z level=info msg="Executing migration" id="create team table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.192615748Z level=info msg="Migration successfully executed" id="create team table" duration=1.245999ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.199680195Z level=info msg="Executing migration" id="add index team.org_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.201327193Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.646908ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.20839285Z level=info msg="Executing migration" id="add unique index team_org_id_name" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.20967318Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.28064ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.213355548Z level=info msg="Executing migration" id="Add column uid in team" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.218007477Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.651498ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.223873266Z level=info msg="Executing migration" id="Update uid column values in team" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.224200293Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=326.497µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.229481718Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.230514882Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.032414ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.236659516Z level=info msg="Executing migration" id="create team member table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.237946487Z level=info msg="Migration successfully executed" id="create team member table" duration=1.286191ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.24319337Z level=info msg="Executing migration" id="add index team_member.org_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.244281237Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.090996ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.251700091Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.253251148Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.549467ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.258571713Z level=info msg="Executing migration" id="add index team_member.team_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.260048798Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.476224ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.263809717Z level=info msg="Executing migration" id="Add column email to team table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.268682402Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.872305ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.27793289Z level=info msg="Executing migration" id="Add column external to team_member table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.287981836Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=10.046186ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.294158523Z level=info msg="Executing migration" id="Add column permission to team_member table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.298232508Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.073696ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.303226776Z level=info msg="Executing migration" id="add unique index team_member_user_id_org_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.304222709Z level=info msg="Migration successfully executed" id="add unique index team_member_user_id_org_id" duration=992.623µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.309962094Z level=info msg="Executing migration" id="create dashboard acl table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.310910287Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=947.293µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.317252587Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.318417104Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.164207ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.324836136Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.326001443Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.164737ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.33226538Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.333297465Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.031055ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.339844059Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.340964585Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.120036ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.346383913Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.347881969Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.496746ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.355037847Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.356090642Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.048445ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.36278772Z level=info msg="Executing migration" id="add index dashboard_permission" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.364929331Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=2.216242ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.370970863Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.371657289Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=686.906µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.378344987Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.378938031Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=607.904µs [35mpolicy-db-migrator |[0m > upgrade 0350-jpatoscaproperty_constraints.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m 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) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0360-jpatoscaproperty_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m 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) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0370-jpatoscarelationshiptype_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0380-jpatoscarelationshiptype_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0390-jpatoscarequirement_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0400-jpatoscarequirement_occurrences.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0410-jpatoscarequirement_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.384698247Z level=info msg="Executing migration" id="create tag table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.385657899Z level=info msg="Migration successfully executed" id="create tag table" duration=959.442µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.390086984Z level=info msg="Executing migration" id="add index tag.key_value" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.391011725Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=924.411µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.395747747Z level=info msg="Executing migration" id="create login attempt table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.396487114Z level=info msg="Migration successfully executed" id="create login attempt table" duration=738.517µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.402035375Z level=info msg="Executing migration" id="add index login_attempt.username" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.403872009Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.832443ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.410486564Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.412317208Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.827144ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.418607166Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.435670838Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.061852ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.441388863Z level=info msg="Executing migration" id="create login_attempt v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.442251903Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=859.69µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.452455443Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.454718847Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=2.272254ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.459417508Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.460447762Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=1.034794ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.466813982Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.467633752Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=819.2µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.47179761Z level=info msg="Executing migration" id="create user auth table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.472715071Z level=info msg="Migration successfully executed" id="create user auth table" duration=917.192µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.477986005Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.479044031Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.056926ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.483588017Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.48369034Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=101.902µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.487343546Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.494849803Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.501047ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.498863838Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.504085391Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.224843ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.511103756Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.516585306Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.48095ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.521669375Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.527035242Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.365457ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.531022016Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.532089572Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.064916ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.537069658Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.545693881Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.622743ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.549070862Z level=info msg="Executing migration" id="create server_lock table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.549703046Z level=info msg="Migration successfully executed" id="create server_lock table" duration=631.884µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.557265815Z level=info msg="Executing migration" id="add index server_lock.operation_uid" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.55876019Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.494495ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.565447737Z level=info msg="Executing migration" id="create user auth token table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.566918122Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.469175ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.571645394Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.573183619Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.537255ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.577825919Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.57914914Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.322541ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.586907213Z level=info msg="Executing migration" id="add index user_auth_token.user_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.58889773Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.989867ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.594049012Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.60288536Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.834338ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.606665819Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.608509963Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.843594ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.615081447Z level=info msg="Executing migration" id="add external_session_id to user_auth_token" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.622146504Z level=info msg="Migration successfully executed" id="add external_session_id to user_auth_token" duration=7.063887ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.627296526Z level=info msg="Executing migration" id="create cache_data table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.628409542Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.112466ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.633917321Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.634923695Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.005984ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.640778463Z level=info msg="Executing migration" id="create short_url table v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.642077054Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.298451ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.649510289Z level=info msg="Executing migration" id="add index short_url.org_id-uid" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.651434714Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.925035ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.657337603Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.657403575Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=66.692µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.663737055Z level=info msg="Executing migration" id="delete alert_definition table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.663867378Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=131.303µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.668616189Z level=info msg="Executing migration" id="recreate alert_definition table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.670030373Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.413604ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.675064182Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.676050695Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=986.253µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.680983491Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.681924253Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=939.872µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.691174251Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.691274003Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=100.442µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.695704098Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.697142301Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.437703ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.701475014Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.702870017Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.394213ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.74585682Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.747491998Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.635218ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.753953661Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.755234831Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.27997ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.761047628Z level=info msg="Executing migration" id="Add column paused in alert_definition" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.770832449Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=9.775251ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.775471258Z level=info msg="Executing migration" id="drop alert_definition table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.779298449Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=3.82541ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.786264502Z level=info msg="Executing migration" id="delete alert_definition_version table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.786648701Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=384.899µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.792294025Z level=info msg="Executing migration" id="recreate alert_definition_version table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.793814811Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.519917ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.802943046Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.805776052Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=2.830476ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.811475797Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.812562063Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.089536ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.81583563Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.815931002Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=95.682µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.821607766Z level=info msg="Executing migration" id="drop alert_definition_version table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.822546428Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=938.152µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.827151937Z level=info msg="Executing migration" id="create alert_instance table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.828523169Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.370902ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.835607876Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.837248864Z 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.645938ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.842900317Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.844045305Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.144818ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.851604543Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.857649226Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.048293ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.861904735Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.86292105Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.015665ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.868516892Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.870560029Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=2.048457ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.876950921Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.899997824Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=23.045243ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.903185699Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.933931074Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=30.727704ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.940996291Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.942634149Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.637838ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.94863246Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.949619044Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=990.544µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.954008307Z level=info msg="Executing migration" id="add current_reason column related to current_state" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.958300498Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=4.291561ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.963858469Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.967923535Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=4.066196ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.972838091Z level=info msg="Executing migration" id="create alert_rule table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.973525487Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=687.386µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.979206261Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.979917797Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=711.536µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.986834371Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.987598529Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=763.658µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.993705972Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.996032057Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.349595ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:04.999886309Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.000079823Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=193.924µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.006664168Z level=info msg="Executing migration" id="add column for to alert_rule" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.013672126Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.008318ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.01952909Z level=info msg="Executing migration" id="add column annotations to alert_rule" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.025941595Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.411725ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.029193623Z level=info msg="Executing migration" id="add column labels to alert_rule" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.035322632Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.129559ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.039624784Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.040588354Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=963.4µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.045892286Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.048107202Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=2.211967ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.052481554Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.059026833Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.545029ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.066193264Z level=info msg="Executing migration" id="add panel_id column to alert_rule" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.072249701Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.055977ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.077798548Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.078844541Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.048253ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.085403199Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.091699072Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.295703ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.098832253Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.106033044Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=7.207242ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.110142181Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.110216363Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=73.662µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.115077316Z level=info msg="Executing migration" id="create alert_rule_version table" [35mpolicy-db-migrator |[0m > upgrade 0420-jpatoscaservicetemplate_metadata.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.116200679Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.122723ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.122307518Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.123932872Z 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.624055ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.129451699Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.130873938Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.426129ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.137203843Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" [35mpolicy-db-migrator |[0m > upgrade 0430-jpatoscatopologytemplate_inputs.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.137269654Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=65.702µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.140129664Z level=info msg="Executing migration" id="add column for to alert_rule_version" [35mpolicy-db-migrator |[0m 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) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.146275204Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.14507ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.150471722Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.156669483Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.19403ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.161432333Z level=info msg="Executing migration" id="add column labels to alert_rule_version" [35mpolicy-db-migrator |[0m > upgrade 0440-pdpgroup_pdpsubgroup.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.168008662Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.575699ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.173818645Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.180018296Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.199371ms [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.185127634Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.191450997Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.320483ms [35mpolicy-db-migrator |[0m > upgrade 0450-pdpgroup.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.194413809Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.19447313Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=59.861µs [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.203557332Z level=info msg="Executing migration" id=create_alert_configuration_table [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.20488377Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.325938ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.211743055Z level=info msg="Executing migration" id="Add column default in alert_configuration" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.220365986Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.623381ms [35mpolicy-db-migrator |[0m > upgrade 0460-pdppolicystatus.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.224749719Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.224813781Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=62.112µs [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.228273653Z level=info msg="Executing migration" id="add column org_id in alert_configuration" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.234790501Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.516048ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.240774888Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.241801639Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.026611ms [35mpolicy-db-migrator |[0m > upgrade 0470-pdp.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.247768325Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.256744064Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.976129ms [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.261325211Z level=info msg="Executing migration" id=create_ngalert_configuration_table [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.262131517Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=805.096µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.269431392Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.270469083Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.036042ms [35mpolicy-db-migrator |[0m > upgrade 0480-pdpstatistics.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.275648162Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.284310384Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=8.662792ms [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.289144236Z level=info msg="Executing migration" id="create provenance_type table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.290598016Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.45279ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.296859419Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.29786272Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.002451ms [35mpolicy-db-migrator |[0m > upgrade 0490-pdpsubgroup_pdp.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.302152719Z level=info msg="Executing migration" id="create alert_image table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.30356184Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.404391ms [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.310473275Z level=info msg="Executing migration" id="add unique index on token to alert_image table" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.312078549Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.604534ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.323494749Z level=info msg="Executing migration" id="support longer URLs in alert_image table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.323596291Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=101.052µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.328583336Z level=info msg="Executing migration" id=create_alert_configuration_history_table [35mpolicy-db-migrator |[0m > upgrade 0500-pdpsubgroup.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.330043027Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.45982ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.335263036Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.33681403Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.549923ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.342132172Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.342734734Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.346072334Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" [35mpolicy-db-migrator |[0m > upgrade 0510-toscacapabilityassignment.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.346696187Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=623.053µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.350211492Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.351306504Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.095372ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.356689348Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.363201534Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.511426ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.366817001Z level=info msg="Executing migration" id="create library_element table v1" [35mpolicy-db-migrator |[0m > upgrade 0520-toscacapabilityassignments.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.367829362Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.012001ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.371566851Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.372648774Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.078374ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.378673321Z level=info msg="Executing migration" id="create library_element_connection table v1" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.38009214Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.4188ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.384251608Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" [35mpolicy-db-migrator |[0m > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.385919882Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.667694ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.389956918Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.390986709Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.029031ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.395798001Z level=info msg="Executing migration" id="increase max description length to 2048" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.395831582Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=34.841µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.399488758Z level=info msg="Executing migration" id="alter library_element model to mediumtext" [35mpolicy-db-migrator |[0m > upgrade 0540-toscacapabilitytype.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.399600631Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=112.652µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.40333447Z level=info msg="Executing migration" id="add library_element folder uid" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.414423543Z level=info msg="Migration successfully executed" id="add library_element folder uid" duration=11.088233ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.419016919Z level=info msg="Executing migration" id="populate library_element folder_uid" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.419294715Z level=info msg="Migration successfully executed" id="populate library_element folder_uid" duration=277.616µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.422560553Z level=info msg="Executing migration" id="add index library_element org_id-folder_uid-name-kind" [35mpolicy-db-migrator |[0m > upgrade 0550-toscacapabilitytypes.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.42333304Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_uid-name-kind" duration=771.477µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.427169801Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.42759534Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=422.159µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.432133546Z level=info msg="Executing migration" id="create data_keys table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.433657307Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.523031ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.440335068Z level=info msg="Executing migration" id="create secrets table" [35mpolicy-db-migrator |[0m > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.442125655Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.794087ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.446044968Z level=info msg="Executing migration" id="rename data_keys name column to id" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.48172036Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=35.676001ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.485004589Z level=info msg="Executing migration" id="add name column into data_keys" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.495896118Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=10.89668ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.501172028Z level=info msg="Executing migration" id="copy data_keys id column values into name" [35mpolicy-db-migrator |[0m > upgrade 0570-toscadatatype.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.501327722Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=155.304µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.504520379Z level=info msg="Executing migration" id="rename data_keys name column to label" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.539857253Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=35.324483ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.552263844Z level=info msg="Executing migration" id="rename data_keys id column back to name" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.586983255Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=34.719341ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.593256796Z level=info msg="Executing migration" id="create kv_store table v1" [35mpolicy-db-migrator |[0m > upgrade 0580-toscadatatypes.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.594021753Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=763.847µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.599168591Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.600337566Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.167825ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.605103576Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.605346371Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=241.405µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.610761875Z level=info msg="Executing migration" id="create permission table" [35mpolicy-db-migrator |[0m > upgrade 0590-toscadatatypes_toscadatatype.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.611602163Z level=info msg="Migration successfully executed" id="create permission table" duration=839.958µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.620539081Z level=info msg="Executing migration" id="add unique index permission.role_id" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.622517993Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.978852ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.62762077Z level=info msg="Executing migration" id="add unique index role_id_action_scope" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.629801155Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=2.185565ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.633930823Z level=info msg="Executing migration" id="create role table" [35mpolicy-db-migrator |[0m > upgrade 0600-toscanodetemplate.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.635487015Z level=info msg="Migration successfully executed" id="create role table" duration=1.555352ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.639673274Z level=info msg="Executing migration" id="add column display_name" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.650077453Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.405679ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.654888753Z level=info msg="Executing migration" id="add column group_name" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.662444383Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.55451ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.66562966Z level=info msg="Executing migration" id="add index role.org_id" [35mpolicy-db-migrator |[0m > upgrade 0610-toscanodetemplates.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.666662672Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.031282ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.672015164Z level=info msg="Executing migration" id="add unique index role_org_id_name" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.673669649Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.653545ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.679841699Z level=info msg="Executing migration" id="add index role_org_id_uid" [35mpolicy-db-migrator |[0m > upgrade 0620-toscanodetemplates_toscanodetemplate.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.681546785Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.704456ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.688417209Z level=info msg="Executing migration" id="create team role table" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.689927231Z level=info msg="Migration successfully executed" id="create team role table" duration=1.511532ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.698222646Z level=info msg="Executing migration" id="add index team_role.org_id" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.700000413Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.777207ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.706303456Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" [35mpolicy-db-migrator |[0m > upgrade 0630-toscanodetype.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.707400509Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.097063ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.713245482Z level=info msg="Executing migration" id="add index team_role.team_id" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.714956188Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.710076ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.722513757Z level=info msg="Executing migration" id="create user role table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.723810465Z level=info msg="Migration successfully executed" id="create user role table" duration=1.297458ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.728626916Z level=info msg="Executing migration" id="add index user_role.org_id" [35mpolicy-db-migrator |[0m > upgrade 0640-toscanodetypes.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.730292761Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.665175ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.734722424Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.735792877Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.070473ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.744109892Z level=info msg="Executing migration" id="add index user_role.user_id" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.745783917Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.674065ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.751372765Z level=info msg="Executing migration" id="create builtin role table" [35mpolicy-db-migrator |[0m > upgrade 0650-toscanodetypes_toscanodetype.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.752286874Z level=info msg="Migration successfully executed" id="create builtin role table" duration=910.379µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.758467494Z level=info msg="Executing migration" id="add index builtin_role.role_id" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.76019322Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.725476ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.766476002Z level=info msg="Executing migration" id="add index builtin_role.name" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.768105657Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.629095ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.772828066Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" [35mpolicy-db-migrator |[0m > upgrade 0660-toscaparameter.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.780905056Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.07521ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.785390631Z level=info msg="Executing migration" id="add index builtin_role.org_id" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.786219088Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=827.077µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.792287556Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.794214476Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.928721ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.798450166Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.799584099Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.134963ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.802986271Z level=info msg="Executing migration" id="add unique index role.uid" [35mpolicy-db-migrator |[0m > upgrade 0670-toscapolicies.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.804163686Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.176005ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.80957042Z level=info msg="Executing migration" id="create seed assignment table" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.810407897Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=836.427µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.814135436Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.815306271Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.170015ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.819024119Z level=info msg="Executing migration" id="add column hidden to role table" [35mpolicy-db-migrator |[0m > upgrade 0680-toscapolicies_toscapolicy.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.827056518Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.031929ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.832612865Z level=info msg="Executing migration" id="permission kind migration" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.840701465Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.08777ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.844007505Z level=info msg="Executing migration" id="permission attribute migration" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.852856241Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.830386ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.856925396Z level=info msg="Executing migration" id="permission identifier migration" [35mpolicy-db-migrator |[0m > upgrade 0690-toscapolicy.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.865143369Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.217593ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.870741187Z level=info msg="Executing migration" id="add permission identifier index" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.871891801Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.149754ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.876038148Z level=info msg="Executing migration" id="add permission action scope role_id index" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.877203303Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.164175ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.88085611Z level=info msg="Executing migration" id="remove permission role_id action scope index" [35mpolicy-db-migrator |[0m > upgrade 0700-toscapolicytype.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.881933902Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.077462ms [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.887276475Z level=info msg="Executing migration" id="add group mapping UID column to user_role table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.898184704Z level=info msg="Migration successfully executed" id="add group mapping UID column to user_role table" duration=10.907479ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.901395352Z level=info msg="Executing migration" id="add user_role org ID, user ID, role ID, group mapping UID index" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.902291632Z level=info msg="Migration successfully executed" id="add user_role org ID, user ID, role ID, group mapping UID index" duration=895.59µs [35mpolicy-db-migrator |[0m > upgrade 0710-toscapolicytypes.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.904692112Z level=info msg="Executing migration" id="remove user_role org ID, user ID, role ID index" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.905488719Z level=info msg="Migration successfully executed" id="remove user_role org ID, user ID, role ID index" duration=796.147µs [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.909908201Z level=info msg="Executing migration" id="create query_history table v1" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.910856782Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=947.471µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.9141272Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.915248203Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.120283ms [35mpolicy-db-migrator |[0m > upgrade 0720-toscapolicytypes_toscapolicytype.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.919978913Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.920048645Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=72.542µs [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.92365674Z level=info msg="Executing migration" id="create query_history_details table v1" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.925176583Z level=info msg="Migration successfully executed" id="create query_history_details table v1" duration=1.519413ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.930336102Z level=info msg="Executing migration" id="rbac disabled migrator" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.930436994Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=101.602µs [35mpolicy-db-migrator |[0m > upgrade 0730-toscaproperty.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.934021769Z level=info msg="Executing migration" id="teams permissions migration" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.93454103Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=518.841µs [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.939081846Z level=info msg="Executing migration" id="dashboard permissions" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.93977111Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=690.064µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.943160121Z level=info msg="Executing migration" id="dashboard permissions uid scopes" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.944471159Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.311258ms [35mpolicy-db-migrator |[0m > upgrade 0740-toscarelationshiptype.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.948114306Z level=info msg="Executing migration" id="drop managed folder create actions" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.948436422Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=321.656µs [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.952029277Z level=info msg="Executing migration" id="alerting notification permissions" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.952519549Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=490.261µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.956754107Z level=info msg="Executing migration" id="create query_history_star table v1" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.957597585Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=843.098µs [35mpolicy-db-migrator |[0m > upgrade 0750-toscarelationshiptypes.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.961490677Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.963373606Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.884599ms [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.967607816Z level=info msg="Executing migration" id="add column org_id in query_history_star" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.976225017Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.617691ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.980689771Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.980741462Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=51.331µs [35mpolicy-db-migrator |[0m > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.984086593Z level=info msg="Executing migration" id="create correlation table v1" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.984875399Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=788.266µs [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.988916935Z level=info msg="Executing migration" id="add index correlations.uid" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.990578709Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.661614ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.995592315Z level=info msg="Executing migration" id="add index correlations.source_uid" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:05.996691908Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.097113ms [35mpolicy-db-migrator |[0m > upgrade 0770-toscarequirement.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.000658092Z level=info msg="Executing migration" id="add correlation config column" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.009310121Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.651039ms [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.01359379Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.015651588Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=2.064059ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.020383578Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.021390581Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.007223ms [35mpolicy-db-migrator |[0m > upgrade 0780-toscarequirements.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.024970783Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.047631388Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.660875ms [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.051502797Z level=info msg="Executing migration" id="create correlation v2" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.052612213Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.109716ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.057597758Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0790-toscarequirements_toscarequirement.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.058635242Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.037294ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.062671026Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.06375413Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.082764ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.068012779Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.069427991Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.413922ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.074743914Z level=info msg="Executing migration" id="copy correlation v1 to v2" [35mpolicy-db-migrator |[0m > upgrade 0800-toscaservicetemplate.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.075109153Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=365.509µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.078761778Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.079490385Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=735.757µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.083227011Z level=info msg="Executing migration" id="add provisioning column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.091441151Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.21399ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.096213551Z level=info msg="Executing migration" id="add type column" [35mpolicy-db-migrator |[0m > upgrade 0810-toscatopologytemplate.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.104486173Z level=info msg="Migration successfully executed" id="add type column" duration=8.282422ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.108095496Z level=info msg="Executing migration" id="create entity_events table" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.10870346Z level=info msg="Migration successfully executed" id="create entity_events table" duration=606.464µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.11213729Z level=info msg="Executing migration" id="create dashboard public config v1" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.112830426Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=693.106µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.118127698Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" [35mpolicy-db-migrator |[0m > upgrade 0820-toscatrigger.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.118863455Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.122652002Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.123328079Z 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" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.127112776Z level=info msg="Executing migration" id="Drop old dashboard public config table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.128289473Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.176717ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.133113784Z level=info msg="Executing migration" id="recreate dashboard public config v1" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.134074736Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=960.802µs [35mpolicy-db-migrator |[0m > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.137836614Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.139146454Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.3085ms [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.1437254Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.145447059Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.721699ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.150573228Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.151578832Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.005544ms [35mpolicy-db-migrator |[0m > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.155239206Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.157026998Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.792332ms [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.162177496Z level=info msg="Executing migration" id="Drop public config table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.163381495Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.204479ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.167907289Z level=info msg="Executing migration" id="Recreate dashboard public config v2" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.169825983Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.918394ms [35mpolicy-db-migrator |[0m > upgrade 0850-FK_ToscaNodeType_requirementsName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.173549589Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.174616754Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.066915ms [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.179072367Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.180739806Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.655019ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.185073627Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.186824946Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.75095ms [35mpolicy-db-migrator |[0m > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.192440676Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.215581691Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.140865ms [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.220406253Z level=info msg="Executing migration" id="add annotations_enabled column" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.229602636Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=9.194583ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.233579068Z level=info msg="Executing migration" id="add time_selection_enabled column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.239960095Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.380637ms [35mpolicy-db-migrator |[0m > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.243866856Z level=info msg="Executing migration" id="delete orphaned public dashboards" [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.244131352Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=263.606µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.250005918Z level=info msg="Executing migration" id="add share column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.261962084Z level=info msg="Migration successfully executed" id="add share column" duration=11.957556ms [35mpolicy-db-migrator |[0m > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.265360423Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.265502856Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=142.564µs [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.268040305Z level=info msg="Executing migration" id="create file table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.269156941Z level=info msg="Migration successfully executed" id="create file table" duration=1.115696ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.274126395Z level=info msg="Executing migration" id="file table idx: path natural pk" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.275222951Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.096056ms [35mpolicy-db-migrator |[0m > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.27906717Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.280221557Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.153877ms [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.284592857Z level=info msg="Executing migration" id="create file_meta table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.285445907Z level=info msg="Migration successfully executed" id="create file_meta table" duration=852.5µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.291660801Z level=info msg="Executing migration" id="file table idx: path key" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.294084258Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.429386ms [35mpolicy-db-migrator |[0m > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.298419227Z level=info msg="Executing migration" id="set path collation in file table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.298485649Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=66.692µs [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.301782755Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.301849236Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=70.561µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.304527738Z level=info msg="Executing migration" id="managed permissions migration" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.305114242Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=586.414µs [35mpolicy-db-migrator |[0m > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.310083957Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.310405614Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=321.937µs [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.314292685Z level=info msg="Executing migration" id="RBAC action name migrator" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.316411173Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.117958ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.320445467Z level=info msg="Executing migration" id="Add UID column to playlist" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.329542027Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.097ms [35mpolicy-db-migrator |[0m > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.333025707Z level=info msg="Executing migration" id="Update uid column values in playlist" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.33315091Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=125.083µs [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.337836549Z level=info msg="Executing migration" id="Add index for uid in playlist" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.338653467Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=816.758µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.342659421Z level=info msg="Executing migration" id="update group index for alert rules" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.343306455Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=647.375µs [35mpolicy-db-migrator |[0m > upgrade 0940-PdpPolicyStatus_PdpGroup.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.347155664Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.347519603Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=363.459µs [35mpolicy-db-migrator |[0m CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.35217448Z level=info msg="Executing migration" id="admin only folder/dashboard permission" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.352670861Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=496.431µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.357310589Z level=info msg="Executing migration" id="add action column to seed_assignment" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.369554442Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.239123ms [35mpolicy-db-migrator |[0m > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.37376354Z level=info msg="Executing migration" id="add scope column to seed_assignment" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.381154921Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.390211ms [35mpolicy-db-migrator |[0m CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.385167633Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.386272759Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.104245ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.391239334Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.466781331Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=75.541327ms [35mpolicy-db-migrator |[0m > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.470478926Z level=info msg="Executing migration" id="add unique index builtin_role_name back" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.471311206Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=831.89µs [35mpolicy-db-migrator |[0m ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.475527873Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.476444585Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=921.452µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.481823269Z level=info msg="Executing migration" id="add primary key to seed_assigment" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.5082679Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.446391ms [35mpolicy-db-migrator |[0m > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.512814866Z level=info msg="Executing migration" id="add origin column to seed_assignment" [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.520044672Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.229256ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.524800973Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.525101629Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=300.596µs [35mpolicy-db-migrator |[0m > upgrade 0980-FK_ToscaNodeType_requirementsName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.528835955Z level=info msg="Executing migration" id="prevent seeding OnCall access" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.528996049Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=159.884µs [35mpolicy-db-migrator |[0m ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.533053493Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.533251908Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=198.195µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.537223589Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.537531296Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=308.357µs [35mpolicy-db-migrator |[0m > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.542971212Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.543279009Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=307.367µs [35mpolicy-db-migrator |[0m ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.546956905Z level=info msg="Executing migration" id="create folder table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.548640003Z level=info msg="Migration successfully executed" id="create folder table" duration=1.682458ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.55237158Z level=info msg="Executing migration" id="Add index for parent_uid" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.553508486Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.136556ms [35mpolicy-db-migrator |[0m > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.558709357Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.560058277Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.34758ms [35mpolicy-db-migrator |[0m ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.564428709Z level=info msg="Executing migration" id="Update folder title length" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.56446457Z level=info msg="Migration successfully executed" id="Update folder title length" duration=37.131µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.568981575Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.571093763Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.115799ms [35mpolicy-db-migrator |[0m > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.575219429Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.576362795Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.143057ms [35mpolicy-db-migrator |[0m ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.580817378Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.581919323Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.100935ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.58525945Z level=info msg="Executing migration" id="Sync dashboard and folder table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.585697941Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=438.431µs [35mpolicy-db-migrator |[0m > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.588811633Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.589067349Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=255.536µs [35mpolicy-db-migrator |[0m ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.59431767Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.595994609Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.676478ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.599665084Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.601452765Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.792651ms [35mpolicy-db-migrator |[0m > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.60470874Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.606355178Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.646038ms [35mpolicy-db-migrator |[0m ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.611548989Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.612680834Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.131165ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.616728859Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.618365016Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.628467ms [35mpolicy-db-migrator |[0m > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.621930309Z level=info msg="Executing migration" id="create anon_device table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.623340721Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.410232ms [35mpolicy-db-migrator |[0m ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.628585033Z level=info msg="Executing migration" id="add unique index anon_device.device_id" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.629646927Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.061734ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.633145658Z level=info msg="Executing migration" id="add index anon_device.updated_at" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.634639382Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.492464ms [35mpolicy-db-migrator |[0m > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.639743761Z level=info msg="Executing migration" id="create signing_key table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.641120202Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.376041ms [35mpolicy-db-migrator |[0m ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.646744432Z level=info msg="Executing migration" id="add unique index signing_key.key_id" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.647855458Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.104496ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.651645416Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.653462288Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.817502ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.657408569Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.657940981Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=533.642µs [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.6634987Z level=info msg="Executing migration" id="Add folder_uid for dashboard" [35mpolicy-db-migrator |[0m ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.673268816Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.769767ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.677077994Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.677757639Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=680.375µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.680842391Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" [35mpolicy-db-migrator |[0m > upgrade 0100-pdp.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.680861232Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=19.511µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.68558524Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" [35mpolicy-db-migrator |[0m ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.687239819Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.659069ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.690491034Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.690515345Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=25.911µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.693582495Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" [35mpolicy-db-migrator |[0m > upgrade 0110-idx_tsidx1.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.694835805Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.24772ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.699692637Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" [35mpolicy-db-migrator |[0m CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.700893365Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.200318ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.704370025Z level=info msg="Executing migration" id="create sso_setting table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.705505351Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.134426ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.708986642Z level=info msg="Executing migration" id="copy kvstore migration status to each org" [35mpolicy-db-migrator |[0m > upgrade 0120-pk_pdpstatistics.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.709740259Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=754.367µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.714554571Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics DROP PRIMARY KEY [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.714832507Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=278.866µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.71797717Z level=info msg="Executing migration" id="managed dashboard permissions annotation actions migration" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.718724697Z level=info msg="Migration successfully executed" id="managed dashboard permissions annotation actions migration" duration=746.527µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.721855899Z level=info msg="Executing migration" id="create cloud_migration table v1" [35mpolicy-db-migrator |[0m > upgrade 0130-pdpstatistics.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.723208041Z level=info msg="Migration successfully executed" id="create cloud_migration table v1" duration=1.351752ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.72708561Z level=info msg="Executing migration" id="create cloud_migration_run table v1" [35mpolicy-db-migrator |[0m 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 [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.728453992Z level=info msg="Migration successfully executed" id="create cloud_migration_run table v1" duration=1.367982ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.734045192Z level=info msg="Executing migration" id="add stack_id column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.744048493Z level=info msg="Migration successfully executed" id="add stack_id column" duration=9.99613ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.74742733Z level=info msg="Executing migration" id="add region_slug column" [35mpolicy-db-migrator |[0m > upgrade 0140-pk_pdpstatistics.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.757376301Z level=info msg="Migration successfully executed" id="add region_slug column" duration=9.948461ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.760429171Z level=info msg="Executing migration" id="add cluster_slug column" [35mpolicy-db-migrator |[0m 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 [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.772206194Z level=info msg="Migration successfully executed" id="add cluster_slug column" duration=11.776603ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.777532327Z level=info msg="Executing migration" id="add migration uid column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.792260237Z level=info msg="Migration successfully executed" id="add migration uid column" duration=14.71911ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.796525276Z level=info msg="Executing migration" id="Update uid column values for migration" [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.796727801Z level=info msg="Migration successfully executed" id="Update uid column values for migration" duration=202.435µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.802706079Z level=info msg="Executing migration" id="Add unique index migration_uid" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.804808118Z level=info msg="Migration successfully executed" id="Add unique index migration_uid" duration=2.101949ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.809272251Z level=info msg="Executing migration" id="add migration run uid column" [35mpolicy-db-migrator |[0m > upgrade 0150-pdpstatistics.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.820325196Z level=info msg="Migration successfully executed" id="add migration run uid column" duration=11.053546ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.823567352Z level=info msg="Executing migration" id="Update uid column values for migration run" [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.823741366Z level=info msg="Migration successfully executed" id="Update uid column values for migration run" duration=173.634µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.829607132Z level=info msg="Executing migration" id="Add unique index migration_run_uid" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.830542083Z level=info msg="Migration successfully executed" id="Add unique index migration_run_uid" duration=934.701µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.834397472Z level=info msg="Executing migration" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" [35mpolicy-db-migrator |[0m > upgrade 0160-jpapdpstatistics_enginestats.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.861698623Z level=info msg="Migration successfully executed" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" duration=27.301021ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.864988229Z level=info msg="Executing migration" id="create cloud_migration_session v2" [35mpolicy-db-migrator |[0m ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.865783948Z level=info msg="Migration successfully executed" id="create cloud_migration_session v2" duration=795.369µs [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.86934072Z level=info msg="Executing migration" id="create index UQE_cloud_migration_session_uid - v2" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.870265241Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_session_uid - v2" duration=924.471µs [35mpolicy-db-migrator |[0m > upgrade 0170-jpapdpstatistics_enginestats.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.875712987Z level=info msg="Executing migration" id="copy cloud_migration_session v1 to v2" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.876187068Z level=info msg="Migration successfully executed" id="copy cloud_migration_session v1 to v2" duration=473.531µs [35mpolicy-db-migrator |[0m UPDATE jpapdpstatistics_enginestats a [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.879488184Z level=info msg="Executing migration" id="drop cloud_migration_session_tmp_qwerty" [35mpolicy-db-migrator |[0m JOIN pdpstatistics b [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.880455137Z level=info msg="Migration successfully executed" id="drop cloud_migration_session_tmp_qwerty" duration=966.383µs [35mpolicy-db-migrator |[0m ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.886553618Z level=info msg="Executing migration" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" [35mpolicy-db-migrator |[0m SET a.id = b.id [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.910992734Z level=info msg="Migration successfully executed" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" duration=24.446075ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.914851262Z level=info msg="Executing migration" id="create cloud_migration_snapshot v2" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.915599849Z level=info msg="Migration successfully executed" id="create cloud_migration_snapshot v2" duration=748.067µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.919094911Z level=info msg="Executing migration" id="create index UQE_cloud_migration_snapshot_uid - v2" [35mpolicy-db-migrator |[0m > upgrade 0180-jpapdpstatistics_enginestats.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.920111724Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_snapshot_uid - v2" duration=1.016323ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.926528422Z level=info msg="Executing migration" id="copy cloud_migration_snapshot v1 to v2" [35mpolicy-db-migrator |[0m ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.927171908Z level=info msg="Migration successfully executed" id="copy cloud_migration_snapshot v1 to v2" duration=642.566µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.930953165Z level=info msg="Executing migration" id="drop cloud_migration_snapshot_tmp_qwerty" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.932436829Z level=info msg="Migration successfully executed" id="drop cloud_migration_snapshot_tmp_qwerty" duration=1.482524ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.936091574Z level=info msg="Executing migration" id="add snapshot upload_url column" [35mpolicy-db-migrator |[0m > upgrade 0190-jpapolicyaudit.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.947375945Z level=info msg="Migration successfully executed" id="add snapshot upload_url column" duration=11.284711ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.953305002Z level=info msg="Executing migration" id="add snapshot status column" [35mpolicy-db-migrator |[0m 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)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.960242902Z level=info msg="Migration successfully executed" id="add snapshot status column" duration=6.93726ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.963392185Z level=info msg="Executing migration" id="add snapshot local_directory column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.972799243Z level=info msg="Migration successfully executed" id="add snapshot local_directory column" duration=9.406388ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.976405696Z level=info msg="Executing migration" id="add snapshot gms_snapshot_uid column" [35mpolicy-db-migrator |[0m > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.985832544Z level=info msg="Migration successfully executed" id="add snapshot gms_snapshot_uid column" duration=9.426188ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:06.992050928Z level=info msg="Executing migration" id="add snapshot encryption_key column" [35mpolicy-db-migrator |[0m CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.001601259Z level=info msg="Migration successfully executed" id="add snapshot encryption_key column" duration=9.549731ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.005817236Z level=info msg="Executing migration" id="add snapshot error_string column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.013072463Z level=info msg="Migration successfully executed" id="add snapshot error_string column" duration=7.254067ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.016512392Z level=info msg="Executing migration" id="create cloud_migration_resource table v1" [35mpolicy-db-migrator |[0m > upgrade 0210-sequence.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.017526996Z level=info msg="Migration successfully executed" id="create cloud_migration_resource table v1" duration=1.014594ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.023601485Z level=info msg="Executing migration" id="delete cloud_migration_snapshot.result column" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.062368837Z level=info msg="Migration successfully executed" id="delete cloud_migration_snapshot.result column" duration=38.768802ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.065949599Z level=info msg="Executing migration" id="add cloud_migration_resource.name column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.075279064Z level=info msg="Migration successfully executed" id="add cloud_migration_resource.name column" duration=9.329545ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.078596951Z level=info msg="Executing migration" id="add cloud_migration_resource.parent_name column" [35mpolicy-db-migrator |[0m > upgrade 0220-sequence.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.085480199Z level=info msg="Migration successfully executed" id="add cloud_migration_resource.parent_name column" duration=6.882778ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.091595489Z level=info msg="Executing migration" id="alter kv_store.value to longtext" [35mpolicy-db-migrator |[0m INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.091682021Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=71.062µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.095608342Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.108548659Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=12.942467ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.111702282Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" [35mpolicy-db-migrator |[0m > upgrade 0100-jpatoscapolicy_targets.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.11899485Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=7.291468ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.122304876Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" [35mpolicy-db-migrator |[0m 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) [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.122731995Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=426.609µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.128757634Z level=info msg="Executing migration" id="managed folder permissions alerting silences actions migration" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.129254786Z level=info msg="Migration successfully executed" id="managed folder permissions alerting silences actions migration" duration=496.372µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.13288062Z level=info msg="Executing migration" id="add record column to alert_rule table" [35mpolicy-db-migrator |[0m > upgrade 0110-jpatoscapolicytype_targets.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.144549589Z level=info msg="Migration successfully executed" id="add record column to alert_rule table" duration=11.669739ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.14806629Z level=info msg="Executing migration" id="add record column to alert_rule_version table" [35mpolicy-db-migrator |[0m 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) [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.157777915Z level=info msg="Migration successfully executed" id="add record column to alert_rule_version table" duration=9.711555ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.163897506Z level=info msg="Executing migration" id="add resolved_at column to alert_instance table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.171242316Z level=info msg="Migration successfully executed" id="add resolved_at column to alert_instance table" duration=7.34463ms [35mpolicy-db-migrator |[0m > upgrade 0120-toscatrigger.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.174994983Z level=info msg="Executing migration" id="add last_sent_at column to alert_instance table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.184717977Z level=info msg="Migration successfully executed" id="add last_sent_at column to alert_instance table" duration=9.722024ms [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS toscatrigger [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.188213608Z level=info msg="Executing migration" id="Enable traceQL streaming for all Tempo datasources" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.188248789Z level=info msg="Migration successfully executed" id="Enable traceQL streaming for all Tempo datasources" duration=36.031µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.19177426Z level=info msg="Executing migration" id="Add scope to alert.notifications.receivers:read and alert.notifications.receivers.secrets:read" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.192449706Z level=info msg="Migration successfully executed" id="Add scope to alert.notifications.receivers:read and alert.notifications.receivers.secrets:read" duration=669.186µs [35mpolicy-db-migrator |[0m > upgrade 0130-jpatoscapolicytype_triggers.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.199046489Z level=info msg="Executing migration" id="add metadata column to alert_rule table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.211710281Z level=info msg="Migration successfully executed" id="add metadata column to alert_rule table" duration=12.659162ms [35mpolicy-db-migrator |[0m ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.2151257Z level=info msg="Executing migration" id="add metadata column to alert_rule_version table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.222258155Z level=info msg="Migration successfully executed" id="add metadata column to alert_rule_version table" duration=7.131455ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.225471739Z level=info msg="Executing migration" id="delete orphaned service account permissions" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.225818117Z level=info msg="Migration successfully executed" id="delete orphaned service account permissions" duration=346.208µs [35mpolicy-db-migrator |[0m > upgrade 0140-toscaparameter.sql [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.23158865Z level=info msg="Executing migration" id="adding action set permissions" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.232209675Z level=info msg="Migration successfully executed" id="adding action set permissions" duration=620.784µs [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS toscaparameter [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.235571843Z level=info msg="Executing migration" id="create user_external_session table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.236831802Z level=info msg="Migration successfully executed" id="create user_external_session table" duration=1.259119ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.240796543Z level=info msg="migrations completed" performed=608 skipped=0 duration=4.583979047s [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-04T18:13:07.24148055Z level=info msg="Unlocking database" [35mpolicy-db-migrator |[0m > upgrade 0150-toscaproperty.sql [36mgrafana |[0m logger=sqlstore t=2024-11-04T18:13:07.258794569Z level=info msg="Created default admin" user=admin [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=sqlstore t=2024-11-04T18:13:07.25925345Z level=info msg="Created default organization" [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS jpatoscaproperty_constraints [36mgrafana |[0m logger=secrets t=2024-11-04T18:13:07.264738347Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=plugin.angulardetectorsprovider.dynamic t=2024-11-04T18:13:07.329240047Z level=info msg="Restored cache from database" duration=644.044µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=plugin.store t=2024-11-04T18:13:07.330298281Z level=info msg="Loading plugins..." [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=plugins.registration t=2024-11-04T18:13:07.359515658Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered" [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS jpatoscaproperty_metadata [36mgrafana |[0m logger=plugins.initialization t=2024-11-04T18:13:07.359533318Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=local.finder t=2024-11-04T18:13:07.35962271Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=plugin.store t=2024-11-04T18:13:07.35964006Z level=info msg="Plugins loaded" count=54 duration=29.341889ms [36mgrafana |[0m logger=query_data t=2024-11-04T18:13:07.364544704Z level=info msg="Query Service initialization" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=live.push_http t=2024-11-04T18:13:07.369950569Z level=info msg="Live Push Gateway initialization" [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS toscaproperty [36mgrafana |[0m logger=ngalert.notifier.alertmanager org=1 t=2024-11-04T18:13:07.378774733Z level=info msg="Applying new configuration to Alertmanager" configHash=d2c56faca6af2a5772ff4253222f7386 [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=ngalert.state.manager t=2024-11-04T18:13:07.385908857Z level=info msg="Running in alternative execution of Error/NoData mode" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=infra.usagestats.collector t=2024-11-04T18:13:07.395014358Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=provisioning.datasources t=2024-11-04T18:13:07.398167191Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz [35mpolicy-db-migrator |[0m > upgrade 0160-jpapolicyaudit_pk.sql [36mgrafana |[0m logger=provisioning.alerting t=2024-11-04T18:13:07.418442169Z level=info msg="starting to provision alerting" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=provisioning.alerting t=2024-11-04T18:13:07.41846245Z level=info msg="finished to provision alerting" [35mpolicy-db-migrator |[0m ALTER TABLE jpapolicyaudit DROP PRIMARY KEY [36mgrafana |[0m logger=plugin.backgroundinstaller t=2024-11-04T18:13:07.418597563Z level=info msg="Installing plugin" pluginId=grafana-lokiexplore-app version= [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=http.server t=2024-11-04T18:13:07.422657876Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=ngalert.state.manager t=2024-11-04T18:13:07.422744888Z level=info msg="Warming state cache for startup" [36mgrafana |[0m logger=ngalert.multiorg.alertmanager t=2024-11-04T18:13:07.423692111Z level=info msg="Starting MultiOrg Alertmanager" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=grafanaStorageLogger t=2024-11-04T18:13:07.423728762Z level=info msg="Storage starting" [35mpolicy-db-migrator |[0m ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) [36mgrafana |[0m logger=plugins.update.checker t=2024-11-04T18:13:07.498009148Z level=info msg="Update check succeeded" duration=65.844831ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=grafana.update.checker t=2024-11-04T18:13:07.500900885Z level=info msg="Update check succeeded" duration=77.102352ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=ngalert.state.manager t=2024-11-04T18:13:07.507393056Z level=info msg="State cache has been initialized" states=0 duration=84.644568ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=ngalert.scheduler t=2024-11-04T18:13:07.507445267Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 [35mpolicy-db-migrator |[0m > upgrade 0170-pdpstatistics_pk.sql [36mgrafana |[0m logger=ticker t=2024-11-04T18:13:07.507534979Z level=info msg=starting first_tick=2024-11-04T18:13:10Z [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=plugin.angulardetectorsprovider.dynamic t=2024-11-04T18:13:07.529974757Z level=info msg="Patterns update finished" duration=110.613217ms [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics DROP PRIMARY KEY [36mgrafana |[0m logger=provisioning.dashboard t=2024-11-04T18:13:07.543330765Z level=info msg="starting to provision dashboards" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=sqlstore.transactions t=2024-11-04T18:13:07.785658187Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=sqlstore.transactions t=2024-11-04T18:13:07.851444407Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=grafana-apiserver t=2024-11-04T18:13:07.87320265Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) [36mgrafana |[0m logger=grafana-apiserver t=2024-11-04T18:13:07.873865365Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=grafana-apiserver t=2024-11-04T18:13:07.875665777Z level=info msg="Adding GroupVersion iam.grafana.app v0alpha1 to ResourceManager" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=plugin.installer t=2024-11-04T18:13:07.882645679Z level=info msg="Installing plugin" pluginId=grafana-lokiexplore-app version= [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=provisioning.dashboard t=2024-11-04T18:13:07.928433087Z level=info msg="finished to provision dashboards" [35mpolicy-db-migrator |[0m > upgrade 0180-jpatoscanodetemplate_metadata.sql [36mgrafana |[0m logger=installer.fs t=2024-11-04T18:13:08.001765022Z level=info msg="Downloaded and extracted grafana-lokiexplore-app v1.0.2 zip successfully to /var/lib/grafana/plugins/grafana-lokiexplore-app" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=plugins.registration t=2024-11-04T18:13:08.033170699Z level=info msg="Plugin registered" pluginId=grafana-lokiexplore-app [35mpolicy-db-migrator |[0m ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT [36mgrafana |[0m logger=plugin.backgroundinstaller t=2024-11-04T18:13:08.03319871Z level=info msg="Plugin successfully installed" pluginId=grafana-lokiexplore-app version= duration=614.593277ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=infra.usagestats t=2024-11-04T18:14:10.430885547Z level=info msg="Usage stats are ready to report" [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0100-upgrade.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m select 'upgrade to 1100 completed' as msg [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m msg [35mpolicy-db-migrator |[0m upgrade to 1100 completed [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0100-jpapolicyaudit_renameuser.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0110-idx_tsidx1.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m DROP INDEX IDX_TSIDX1 ON pdpstatistics [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0120-audit_sequence.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m 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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0130-statistics_sequence.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m 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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m TRUNCATE TABLE sequence [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0100-pdpstatistics.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m DROP INDEX IDXTSIDX1 ON pdpstatistics [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m DROP TABLE pdpstatistics [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0110-jpapdpstatistics_enginestats.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m DROP TABLE jpapdpstatistics_enginestats [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0120-statistics_sequence.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m DROP TABLE statistics_sequence [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m policyadmin: OK: upgrade (1300) [35mpolicy-db-migrator |[0m name version [35mpolicy-db-migrator |[0m policyadmin 1300 [35mpolicy-db-migrator |[0m ID script operation from_version to_version tag success atTime [35mpolicy-db-migrator |[0m 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:09 [35mpolicy-db-migrator |[0m 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:10 [35mpolicy-db-migrator |[0m 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 36 0450-pdpgroup.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 37 0460-pdppolicystatus.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 38 0470-pdp.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 39 0480-pdpstatistics.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 41 0500-pdpsubgroup.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 45 0540-toscacapabilitytype.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 48 0570-toscadatatype.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 49 0580-toscadatatypes.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 51 0600-toscanodetemplate.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 52 0610-toscanodetemplates.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 54 0630-toscanodetype.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 55 0640-toscanodetypes.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 57 0660-toscaparameter.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:11 [35mpolicy-db-migrator |[0m 58 0670-toscapolicies.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 60 0690-toscapolicy.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 61 0700-toscapolicytype.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 62 0710-toscapolicytypes.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 64 0730-toscaproperty.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 65 0740-toscarelationshiptype.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 68 0770-toscarequirement.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 69 0780-toscarequirements.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 71 0800-toscaservicetemplate.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 72 0810-toscatopologytemplate.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 73 0820-toscatrigger.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:12 [35mpolicy-db-migrator |[0m 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0411241813090800u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 97 0100-pdp.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 98 0110-idx_tsidx1.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 100 0130-pdpstatistics.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:13 [35mpolicy-db-migrator |[0m 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 102 0150-pdpstatistics.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 108 0210-sequence.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 109 0220-sequence.sql upgrade 0800 0900 0411241813090900u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0411241813091000u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0411241813091000u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 112 0120-toscatrigger.sql upgrade 0900 1000 0411241813091000u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0411241813091000u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 114 0140-toscaparameter.sql upgrade 0900 1000 0411241813091000u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 115 0150-toscaproperty.sql upgrade 0900 1000 0411241813091000u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0411241813091000u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0411241813091000u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0411241813091000u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 119 0100-upgrade.sql upgrade 1000 1100 0411241813091100u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0411241813091200u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 121 0110-idx_tsidx1.sql upgrade 1100 1200 0411241813091200u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 122 0120-audit_sequence.sql upgrade 1100 1200 0411241813091200u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 123 0130-statistics_sequence.sql upgrade 1100 1200 0411241813091200u 1 2024-11-04 18:13:14 [35mpolicy-db-migrator |[0m 124 0100-pdpstatistics.sql upgrade 1200 1300 0411241813091300u 1 2024-11-04 18:13:15 [35mpolicy-db-migrator |[0m 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0411241813091300u 1 2024-11-04 18:13:15 [35mpolicy-db-migrator |[0m 126 0120-statistics_sequence.sql upgrade 1200 1300 0411241813091300u 1 2024-11-04 18:13:15 [35mpolicy-db-migrator |[0m policyadmin: OK @ 1300 ++ 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 policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-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.Mj6NEhstDN ]] + rsync -av /tmp/tmp.Mj6NEhstDN/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,344,676 bytes received 95 bytes 2,689,542.00 bytes/sec total size is 1,344,030 speedup is 1.00 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2105 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! -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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17472553355134754916.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14457571867859664302.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-montreal-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-montreal-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-montreal-project-csit-api ']' + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins9296173963043180810.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ab2H from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ab2H/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10211702463237242114.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config8604584723145825508tmp 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14681186534681043645.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12897683687240927427.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ab2H from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ab2H/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16248481113074011300.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins18133635107119267692.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ab2H from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-ab2H/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins4387041500230574235.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ab2H from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ab2H/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/359 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-81588 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 900 27182 0 4084 30810 Swap: 1023 0 1023 ---> ip addr: 1: lo: <LOOPBACK,UP,LOWER_UP> 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: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:ee:05:c6 brd ff:ff:ff:ff:ff:ff inet 10.30.107.190/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 85688sec preferred_lft 85688sec inet6 fe80::f816:3eff:feee:5c6/64 scope link valid_lft forever preferred_lft forever 3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:7e:85:e8:e2 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-81588) 11/04/24 _x86_64_ (8 CPU) 18:03:45 LINUX RESTART (8 CPU) 18:04:01 tps rtps wtps bread/s bwrtn/s 18:05:02 126.46 47.50 78.96 4408.13 104448.25 18:06:01 44.16 0.00 44.16 0.00 68080.26 18:07:01 1.95 0.00 1.95 0.00 1623.33 18:08:01 1.77 0.00 1.77 0.00 20.26 18:09:01 1.42 0.00 1.42 0.00 17.06 18:10:01 1.30 0.00 1.30 0.00 16.13 18:11:01 3.58 2.53 1.05 103.05 191.30 18:12:01 370.02 50.94 319.08 2846.19 8965.17 18:13:01 219.76 13.70 206.07 2049.93 73637.19 18:14:01 265.81 9.67 256.14 413.66 6287.17 18:15:01 30.29 0.75 29.55 51.32 2399.37 Average: 97.04 11.39 85.65 898.88 24087.43 18:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:05:02 30623112 31867736 2316108 7.03 38640 1534240 1318616 3.88 646648 1416900 32 18:06:01 30624256 31868964 2314964 7.03 38728 1534228 1334740 3.93 646716 1416788 156 18:07:01 30623320 31868076 2315900 7.03 38776 1534236 1334740 3.93 647320 1416784 8 18:08:01 30622052 31866948 2317168 7.03 38872 1534240 1334740 3.93 648592 1416788 12 18:09:01 30613704 31858712 2325516 7.06 38976 1534244 1356272 3.99 657892 1416796 32 18:10:01 30612700 31857776 2326520 7.06 39016 1534252 1356272 3.99 659104 1416800 40 18:11:01 30512504 31766268 2426716 7.37 39092 1542740 1356272 3.99 750320 1423456 28 18:12:01 30001096 31692280 2938124 8.92 76476 1919152 1382028 4.07 879648 1752944 216280 18:13:01 27782944 31508808 5156276 15.65 114928 3839440 2871520 8.45 1152720 3569540 680 18:14:01 26714052 30491900 6225168 18.90 129556 3867680 4281944 12.60 2253352 3511704 228 18:15:01 27893612 31602480 5045608 15.32 129960 3807456 1440112 4.24 1171304 3440460 2436 Average: 29693032 31659086 3246188 9.86 65729 2198355 1760660 5.18 919420 2018087 19994 18:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:05:02 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 18:05:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:02 ens3 194.10 121.16 578.88 27.39 0.00 0.00 0.00 0.00 18:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:06:01 ens3 0.39 0.34 0.07 0.40 0.00 0.00 0.00 0.00 18:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:07:01 ens3 0.18 0.08 0.06 0.16 0.00 0.00 0.00 0.00 18:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:08:01 ens3 0.32 0.18 0.07 0.02 0.00 0.00 0.00 0.00 18:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:09:01 ens3 1.75 0.90 2.44 1.18 0.00 0.00 0.00 0.00 18:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:10:01 ens3 0.47 0.38 0.20 0.41 0.00 0.00 0.00 0.00 18:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:11:01 ens3 59.56 25.71 109.72 14.93 0.00 0.00 0.00 0.00 18:12:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 18:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:01 ens3 150.84 106.98 1096.18 36.90 0.00 0.00 0.00 0.00 18:13:01 veth82dbe81 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 vethc86bdd2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 br-51ee82b3d019 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 lo 9.20 9.20 0.85 0.85 0.00 0.00 0.00 0.00 18:14:01 vethca615cd 124.83 105.55 41.25 113.93 0.00 0.00 0.00 0.01 18:14:01 br-51ee82b3d019 7.35 9.92 6.54 140.46 0.00 0.00 0.00 0.00 18:14:01 lo 8.45 8.45 8.44 8.44 0.00 0.00 0.00 0.00 18:14:01 veth6c73556 4.28 6.63 0.48 138.25 0.00 0.00 0.00 0.01 18:15:01 lo 9.62 9.62 0.75 0.75 0.00 0.00 0.00 0.00 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 ens3 829.81 534.84 12442.93 135.78 0.00 0.00 0.00 0.00 Average: lo 2.76 2.76 0.94 0.94 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 75.04 48.17 1132.36 12.30 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-81588) 11/04/24 _x86_64_ (8 CPU) 18:03:45 LINUX RESTART (8 CPU) 18:04:01 CPU %user %nice %system %iowait %steal %idle 18:05:02 all 2.59 0.00 0.61 2.98 0.02 93.80 18:05:02 0 3.47 0.00 0.32 0.42 0.00 95.80 18:05:02 1 3.55 0.00 0.37 0.93 0.00 95.15 18:05:02 2 1.42 0.00 0.37 0.78 0.03 97.40 18:05:02 3 1.67 0.00 1.52 0.07 0.02 96.72 18:05:02 4 2.27 0.00 0.53 0.17 0.02 97.01 18:05:02 5 4.10 0.00 0.45 1.65 0.02 93.78 18:05:02 6 1.73 0.00 0.60 0.98 0.00 96.68 18:05:02 7 2.54 0.00 0.67 18.88 0.03 77.87 18:06:01 all 0.04 0.00 0.01 2.18 0.01 97.77 18:06:01 0 0.03 0.00 0.00 0.00 0.02 99.95 18:06:01 1 0.00 0.00 0.02 0.00 0.00 99.98 18:06:01 2 0.02 0.00 0.02 0.00 0.02 99.95 18:06:01 3 0.02 0.00 0.02 0.00 0.02 99.95 18:06:01 4 0.03 0.00 0.03 0.00 0.02 99.92 18:06:01 5 0.03 0.00 0.00 0.00 0.00 99.97 18:06:01 6 0.12 0.00 0.02 0.10 0.02 99.75 18:06:01 7 0.03 0.00 0.02 17.33 0.02 82.60 18:07:01 all 0.02 0.00 0.00 0.04 0.00 99.94 18:07:01 0 0.03 0.00 0.00 0.00 0.00 99.97 18:07:01 1 0.02 0.00 0.00 0.00 0.00 99.98 18:07:01 2 0.02 0.00 0.03 0.02 0.03 99.90 18:07:01 3 0.02 0.00 0.00 0.00 0.00 99.98 18:07:01 4 0.03 0.00 0.02 0.00 0.00 99.95 18:07:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:07:01 6 0.03 0.00 0.00 0.02 0.00 99.95 18:07:01 7 0.00 0.00 0.02 0.27 0.00 99.72 18:08:01 all 0.02 0.00 0.01 0.01 0.01 99.96 18:08:01 0 0.03 0.00 0.00 0.00 0.00 99.97 18:08:01 1 0.02 0.00 0.00 0.00 0.00 99.98 18:08:01 2 0.00 0.00 0.02 0.03 0.02 99.93 18:08:01 3 0.05 0.00 0.00 0.00 0.00 99.95 18:08:01 4 0.02 0.00 0.02 0.03 0.00 99.93 18:08:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:08:01 6 0.00 0.00 0.00 0.00 0.00 100.00 18:08:01 7 0.03 0.00 0.00 0.00 0.00 99.97 18:09:01 all 0.05 0.00 0.01 0.01 0.00 99.93 18:09:01 0 0.10 0.00 0.00 0.00 0.00 99.90 18:09:01 1 0.02 0.00 0.02 0.00 0.00 99.97 18:09:01 2 0.05 0.00 0.02 0.02 0.00 99.92 18:09:01 3 0.02 0.00 0.02 0.00 0.02 99.95 18:09:01 4 0.10 0.00 0.02 0.03 0.02 99.83 18:09:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:09:01 6 0.02 0.00 0.00 0.00 0.00 99.98 18:09:01 7 0.12 0.00 0.00 0.00 0.02 99.87 18:10:01 all 0.26 0.00 0.01 0.00 0.00 99.73 18:10:01 0 0.00 0.00 0.02 0.00 0.00 99.98 18:10:01 1 0.00 0.00 0.02 0.00 0.00 99.98 18:10:01 2 0.00 0.00 0.00 0.03 0.02 99.95 18:10:01 3 0.00 0.00 0.00 0.00 0.00 100.00 18:10:01 4 1.97 0.00 0.00 0.00 0.02 98.01 18:10:01 5 0.00 0.00 0.02 0.00 0.00 99.98 18:10:01 6 0.00 0.00 0.02 0.00 0.02 99.97 18:10:01 7 0.02 0.00 0.00 0.00 0.00 99.98 18:11:01 all 0.79 0.00 0.04 0.01 0.01 99.14 18:11:01 0 0.15 0.00 0.02 0.02 0.00 99.82 18:11:01 1 0.77 0.00 0.05 0.00 0.00 99.18 18:11:01 2 0.22 0.00 0.05 0.03 0.00 99.70 18:11:01 3 0.27 0.00 0.02 0.02 0.02 99.68 18:11:01 4 2.79 0.00 0.10 0.08 0.03 96.99 18:11:01 5 1.00 0.00 0.00 0.00 0.00 99.00 18:11:01 6 0.35 0.00 0.02 0.00 0.00 99.63 18:11:01 7 0.82 0.00 0.07 0.00 0.00 99.12 18:12:01 all 10.58 0.00 0.95 1.51 0.04 86.92 18:12:01 0 1.46 0.00 0.32 0.08 0.02 98.12 18:12:01 1 17.68 0.00 1.30 0.68 0.03 80.30 18:12:01 2 2.16 0.00 0.77 6.06 0.03 90.98 18:12:01 3 22.72 0.00 1.58 0.68 0.03 74.98 18:12:01 4 20.06 0.00 1.07 0.50 0.05 78.32 18:12:01 5 3.38 0.00 1.10 3.50 0.08 91.94 18:12:01 6 13.52 0.00 1.08 0.50 0.03 84.86 18:12:01 7 3.59 0.00 0.38 0.08 0.02 95.93 18:13:01 all 11.93 0.00 3.20 1.97 0.05 82.85 18:13:01 0 10.56 0.00 2.46 0.12 0.05 86.81 18:13:01 1 15.29 0.00 3.71 1.66 0.05 79.28 18:13:01 2 7.05 0.00 2.42 1.14 0.03 89.35 18:13:01 3 7.15 0.00 2.78 0.54 0.03 89.50 18:13:01 4 22.62 0.00 3.48 0.52 0.05 73.33 18:13:01 5 12.91 0.00 4.11 11.22 0.05 71.70 18:13:01 6 12.08 0.00 3.80 0.57 0.03 83.52 18:13:01 7 7.81 0.00 2.82 0.05 0.03 89.28 18:14:01 all 15.76 0.00 2.12 1.22 0.05 80.85 18:14:01 0 13.47 0.00 1.61 0.27 0.07 84.58 18:14:01 1 10.18 0.00 1.46 0.82 0.05 87.49 18:14:01 2 19.32 0.00 2.59 1.79 0.05 76.25 18:14:01 3 13.72 0.00 2.14 1.30 0.05 82.79 18:14:01 4 24.11 0.00 3.05 1.19 0.07 71.58 18:14:01 5 13.50 0.00 1.74 2.97 0.05 81.74 18:14:01 6 17.93 0.00 2.51 0.99 0.08 78.48 18:14:01 7 13.82 0.00 1.81 0.40 0.05 83.93 18:15:01 all 1.24 0.00 0.38 0.16 0.03 98.18 18:15:01 0 0.95 0.00 0.49 0.02 0.02 98.53 18:15:01 1 0.82 0.00 0.45 0.30 0.02 98.42 18:15:01 2 1.22 0.00 0.30 0.13 0.03 98.31 18:15:01 3 0.73 0.00 0.35 0.05 0.02 98.85 18:15:01 4 1.20 0.00 0.28 0.02 0.00 98.50 18:15:01 5 1.49 0.00 0.47 0.13 0.07 97.85 18:15:01 6 1.62 0.00 0.52 0.13 0.03 97.70 18:15:01 7 1.94 0.00 0.28 0.55 0.03 97.20 Average: CPU %user %nice %system %iowait %steal %idle Average: all 3.93 0.00 0.67 0.91 0.02 94.47 Average: 0 2.74 0.00 0.47 0.08 0.02 96.69 Average: 1 4.39 0.00 0.67 0.40 0.01 94.53 Average: 2 2.86 0.00 0.60 0.91 0.02 95.61 Average: 3 4.22 0.00 0.77 0.24 0.02 94.75 Average: 4 6.82 0.00 0.78 0.23 0.02 92.15 Average: 5 3.30 0.00 0.71 1.76 0.02 94.21 Average: 6 4.30 0.00 0.78 0.30 0.02 94.60 Average: 7 2.79 0.00 0.55 3.39 0.02 93.25