Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-83988 (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-Fgwfvjlp60sN/agent.2051 SSH_AGENT_PID=2053 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_8515745345601326470.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_8515745345601326470.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/jenkins1474231273475821141.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-zP2b 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-zP2b/bin to PATH Generating Requirements File Python 3.10.6 pip 24.3.1 from /tmp/venv-zP2b/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.62 botocore==1.35.62 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.6 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.15 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.36.0 httplib2==0.22.0 identify==2.6.2 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.4.0 packaging==24.2 pbr==6.1.0 platformdirs==4.3.6 prettytable==3.12.0 psutil==6.1.0 pyasn1==0.6.1 pyasn1_modules==0.4.1 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.5.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.21.0 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.67.0 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/jenkins4830647190506721623.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/jenkins5076356226425655639.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.ZX3H4E1Gdd ++ echo ROBOT_VENV=/tmp/tmp.ZX3H4E1Gdd +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.ZX3H4E1Gdd ++ source /tmp/tmp.ZX3H4E1Gdd/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.ZX3H4E1Gdd +++ 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.ZX3H4E1Gdd/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.ZX3H4E1Gdd) ' '!=' x ']' +++ PS1='(tmp.ZX3H4E1Gdd) ' +++ 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.ZX3H4E1Gdd/src/onap ++ rm -rf /tmp/tmp.ZX3H4E1Gdd/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.ZX3H4E1Gdd/bin/activate + '[' -z /tmp/tmp.ZX3H4E1Gdd/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.ZX3H4E1Gdd/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.ZX3H4E1Gdd ++ 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.ZX3H4E1Gdd/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.ZX3H4E1Gdd) ' ++ '[' 'x(tmp.ZX3H4E1Gdd) ' '!=' x ']' ++ PS1='(tmp.ZX3H4E1Gdd) (tmp.ZX3H4E1Gdd) ' ++ 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.L4wDjqLW0I + cd /tmp/tmp.L4wDjqLW0I + 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:3b9b2a15d376334da8c286d995777d3b9315aa666d2311170ada6059a517b74f 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:784ae5030ff79566797e8776d91996bd5d9d84ae4d0646ae24f905978606281b 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 prometheus Up 13 seconds mariadb Up 11 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 17 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-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 ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:14:40 up 3 min, 0 users, load average: 2.42, 0.97, 0.37 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.0 us, 2.2 sy, 0.0 ni, 83.3 id, 3.3 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.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 prometheus Up 29 seconds mariadb Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS c88895d2a862 policy-api 0.10% 537.4MiB / 31.41GiB 1.67% 999kB / 737kB 0B / 0B 54 ddb3c37589cb grafana 0.03% 61.49MiB / 31.41GiB 0.19% 8.47MB / 33kB 0B / 27MB 14 1f223c060739 prometheus 0.27% 19.86MiB / 31.41GiB 0.06% 27.8kB / 1.07kB 4.1kB / 0B 13 1d819ef28274 mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 985kB / 1.18MB 11.1MB / 67.8MB 26 + echo + cd /tmp/tmp.L4wDjqLW0I + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + 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.L4wDjqLW0I/output.xml Log: /tmp/tmp.L4wDjqLW0I/log.html Report: /tmp/tmp.L4wDjqLW0I/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 prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:15:51 up 4 min, 0 users, load average: 0.87, 0.82, 0.36 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.2 us, 1.7 sy, 0.0 ni, 86.4 id, 2.6 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS c88895d2a862 policy-api 0.13% 857.3MiB / 31.41GiB 2.67% 7.01MB / 2.57MB 0B / 0B 55 ddb3c37589cb grafana 0.50% 66.64MiB / 31.41GiB 0.21% 8.47MB / 35.6kB 0B / 27MB 14 1f223c060739 prometheus 0.00% 24.88MiB / 31.41GiB 0.08% 81.8kB / 7.61kB 4.1kB / 0B 13 1d819ef28274 mariadb 0.02% 101.8MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.1MB / 68.1MB 18 + 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, prometheus, mariadb [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902228328Z level=info msg="Starting Grafana" version=11.3.0+security-01 commit=5ddc329279bb66e3fd584812b8a4e16751eeecd0 branch=HEAD compiled=2024-11-15T18:14:11Z [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902790495Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902803265Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902810345Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902814685Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902827075Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902831045Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902834655Z level=info msg="Config overridden from command line" arg="default.log.mode=console" [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902838545Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902842845Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902852226Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902856126Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902860076Z level=info msg=Target target=[all] [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902866876Z level=info msg="Path Home" path=/usr/share/grafana [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902870656Z level=info msg="Path Data" path=/var/lib/grafana [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902874296Z level=info msg="Path Logs" path=/var/log/grafana [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902878826Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902898156Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning [36mgrafana |[0m logger=settings t=2024-11-15T18:14:11.902901896Z level=info msg="App mode production" [36mgrafana |[0m logger=featuremgmt t=2024-11-15T18:14:11.903514713Z level=info msg=FeatureToggles openSearchBackendFlowEnabled=true lokiStructuredMetadata=true formatString=true transformationsRedesign=true alertingInsights=true recoveryThreshold=true exploreMetrics=true dataplaneFrontendFallback=true logRowsPopoverMenu=true angularDeprecationUI=true cloudWatchCrossAccountQuerying=true transformationsVariableSupport=true kubernetesPlaylists=true prometheusMetricEncyclopedia=true influxdbBackendMigration=true ssoSettingsApi=true topnav=true dashboardSceneSolo=true accessControlOnCall=true cloudWatchNewLabelParsing=true alertingNoDataErrorExecution=true promQLScope=true awsAsyncQueryCaching=true prometheusAzureOverrideAudience=true logsInfiniteScrolling=true autoMigrateXYChartPanel=true lokiQuerySplitting=true lokiQueryHints=true addFieldFromCalculationStatFunctions=true annotationPermissionUpdate=true correlations=true logsExploreTableVisualisation=true notificationBanner=true publicDashboards=true managedPluginsInstall=true cloudWatchRoundUpEndTime=true tlsMemcached=true prometheusConfigOverhaulAuth=true logsContextDatasourceUi=true pinNavItems=true nestedFolders=true dashgpt=true panelMonitoring=true alertingSimplifiedRouting=true recordedQueriesMulti=true publicDashboardsScene=true dashboardSceneForViewers=true groupToNestedTableTransformation=true dashboardScene=true lokiMetricDataplane=true [36mgrafana |[0m logger=sqlstore t=2024-11-15T18:14:11.903667816Z level=info msg="Connecting to DB" dbtype=sqlite3 [36mgrafana |[0m logger=sqlstore t=2024-11-15T18:14:11.903706717Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.905533548Z level=info msg="Locking database" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.905542418Z level=info msg="Starting DB migrations" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.906177826Z level=info msg="Executing migration" id="create migration_log table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.907543473Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.360507ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.921905936Z level=info msg="Executing migration" id="create user table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.923537116Z level=info msg="Migration successfully executed" id="create user table" duration=1.63682ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.927795607Z level=info msg="Executing migration" id="add unique index user.login" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.929057233Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.261706ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.932768188Z level=info msg="Executing migration" id="add unique index user.email" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.933509676Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=741.028µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.938971802Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.940098107Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.126325ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.943939903Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.945033446Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.092773ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.948791632Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.951200501Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.408299ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.956289982Z level=info msg="Executing migration" id="create user table v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.957164183Z level=info msg="Migration successfully executed" id="create user table v2" duration=873.811µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.960602094Z level=info msg="Executing migration" id="create index UQE_user_login - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.961385743Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=783.309µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.965056528Z level=info msg="Executing migration" id="create index UQE_user_email - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.966274553Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.217805ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.97183908Z level=info msg="Executing migration" id="copy data_source v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.972528208Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=689.298µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.976065271Z level=info msg="Executing migration" id="Drop old table user_v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.976977842Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=909.841µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.980589036Z level=info msg="Executing migration" id="Add column help_flags1 to user table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.981881391Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.291945ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.985467465Z level=info msg="Executing migration" id="Update user table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.985551216Z level=info msg="Migration successfully executed" id="Update user table charset" duration=83.341µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.990584297Z level=info msg="Executing migration" id="Add last_seen_at column to user" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.992445549Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.860802ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.995924921Z level=info msg="Executing migration" id="Add missing user data" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.996381917Z level=info msg="Migration successfully executed" id="Add missing user data" duration=456.576µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:11.9999839Z level=info msg="Executing migration" id="Add is_disabled column to user" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.001096183Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.111473ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.004440999Z level=info msg="Executing migration" id="Add index user.login/user.email" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.005280382Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=839.223µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.010465107Z level=info msg="Executing migration" id="Add is_service_account column to user" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.011632926Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.166979ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.015197612Z level=info msg="Executing migration" id="Update is_service_account column to nullable" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.025055037Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.854575ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.029002396Z level=info msg="Executing migration" id="Add uid column to user" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.029871503Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=868.567µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.035877658Z level=info msg="Executing migration" id="Update uid column values for users" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.036301601Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=423.463µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.040463882Z level=info msg="Executing migration" id="Add unique index user_uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.041695502Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.23208ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.045904463Z 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-15T18:14:12.046495158Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=589.785µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.050538678Z level=info msg="Executing migration" id="update login and email fields to lowercase" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.051041382Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase" duration=502.484µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.056596324Z level=info msg="Executing migration" id="update login and email fields to lowercase2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.056956486Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase2" duration=358.282µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.06140429Z level=info msg="Executing migration" id="create temp user table v1-7" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.0627458Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.34061ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.066238937Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.067292244Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.053657ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.072883716Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.073642822Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=758.785µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.076938396Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.077691632Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=752.636µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.081034567Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.081814913Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=781.536µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.087194143Z level=info msg="Executing migration" id="Update temp_user table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.087219004Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=25.301µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.090606489Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.091303935Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=697.506µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.094596389Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.095721027Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.087098ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.099232544Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.100399183Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.163789ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.105834044Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.106517649Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=683.615µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.110009975Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.1147282Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.715935ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.118366547Z level=info msg="Executing migration" id="create temp_user v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.119579927Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.21354ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.124988788Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.125769923Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=780.475µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.130056965Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.130836872Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=779.177µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.134047006Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.134834581Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=787.095µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.140185291Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.141001287Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=815.996µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.144408923Z level=info msg="Executing migration" id="copy temp_user v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.145184859Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=775.316µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.148697125Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.149616162Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=919.297µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.155263514Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.155725409Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=460.635µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.159008133Z level=info msg="Executing migration" id="create star table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.159738898Z level=info msg="Migration successfully executed" id="create star table" duration=761.535µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.163123844Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.164472694Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.348051ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.168135071Z level=info msg="Executing migration" id="create org table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.169635932Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.500271ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.175253904Z level=info msg="Executing migration" id="create index UQE_org_name - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.176088841Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=835.217µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.179404856Z level=info msg="Executing migration" id="create org_user table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.180178382Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=773.735µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.183511096Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.184862337Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.344001ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.188380173Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.189210329Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=829.616µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.195056464Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.19588181Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=824.646µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.199517947Z level=info msg="Executing migration" id="Update org table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.199556577Z level=info msg="Migration successfully executed" id="Update org table charset" duration=39.98µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.203170744Z level=info msg="Executing migration" id="Update org_user table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.203209754Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=40.14µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.206903183Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.207317376Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=413.403µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.212864717Z level=info msg="Executing migration" id="create dashboard table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.214100656Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.234019ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.217452102Z level=info msg="Executing migration" id="add index dashboard.account_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.218272668Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=821.196µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.221507812Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.222378948Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=870.456µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.225679893Z level=info msg="Executing migration" id="create dashboard_tag table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.226390959Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=708.646µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.231523608Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.232550235Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.025437ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.236192372Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.237402812Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.21196ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.240931538Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.245765615Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.833107ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.250990034Z level=info msg="Executing migration" id="create dashboard v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.25186715Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=876.236µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.255475057Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.256282842Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=807.515µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.260130292Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.261730413Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.604231ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.265481612Z level=info msg="Executing migration" id="copy dashboard v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.265998135Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=513.903µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.269495731Z level=info msg="Executing migration" id="drop table dashboard_v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.270718161Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.22086ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.275268384Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.275332574Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=64.5µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.278568958Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.280348012Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.779033ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.283375054Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.285121007Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.745113ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.290332176Z level=info msg="Executing migration" id="Add column gnetId in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.292113738Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.778882ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.295532674Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.296801594Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.267ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.300551351Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.303432572Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.880801ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.308578851Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.309481927Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=899.296µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.313048204Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.314274133Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.225819ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.317883379Z level=info msg="Executing migration" id="Update dashboard table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.317921419Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=37.28µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.322956797Z level=info msg="Executing migration" id="Update dashboard_tag table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.322984127Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=28.16µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.326235281Z level=info msg="Executing migration" id="Add column folder_id in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.328067915Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.831454ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.33152783Z level=info msg="Executing migration" id="Add column isFolder in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.333529755Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.003055ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.338424622Z level=info msg="Executing migration" id="Add column has_acl in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.340289835Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.864823ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.343462449Z level=info msg="Executing migration" id="Add column uid in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.345328182Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.863903ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.348665837Z level=info msg="Executing migration" id="Update uid column values in dashboard" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.348934729Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=267.852µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.352087293Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.352831068Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=743.145µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.357715455Z level=info msg="Executing migration" id="Remove unique index org_id_slug" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.358764192Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.048287ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.36254906Z level=info msg="Executing migration" id="Update dashboard title length" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.36260143Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=54.28µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.366092697Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.367326956Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.231629ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.372760926Z level=info msg="Executing migration" id="create dashboard_provisioning" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.373809213Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.048467ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.3773818Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.382853521Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.470591ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.386711279Z level=info msg="Executing migration" id="create dashboard_provisioning v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.387414364Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=703.225µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.393099166Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.394427296Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.32846ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.398738188Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.400113709Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.374531ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.404127958Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.40443441Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=307.222µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.409320767Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.40982561Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=504.574µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.413454408Z level=info msg="Executing migration" id="Add check_sum column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.416580911Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.126283ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.420044066Z level=info msg="Executing migration" id="Add index for dashboard_title" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.420840602Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=797.446µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.426226151Z level=info msg="Executing migration" id="delete tags for deleted dashboards" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.426486373Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=261.212µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.430016949Z level=info msg="Executing migration" id="delete stars for deleted dashboards" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.430277282Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=260.983µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.433983619Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.434784975Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=802.666µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.437869348Z level=info msg="Executing migration" id="Add isPublic for dashboard" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.439950663Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.080875ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.444786329Z level=info msg="Executing migration" id="Add deleted for dashboard" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.446882314Z level=info msg="Migration successfully executed" id="Add deleted for dashboard" duration=2.092855ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.450538872Z level=info msg="Executing migration" id="Add index for deleted" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.451280417Z level=info msg="Migration successfully executed" id="Add index for deleted" duration=743.485µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.455109225Z level=info msg="Executing migration" id="create data_source table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.456018772Z level=info msg="Migration successfully executed" id="create data_source table" duration=909.417µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.460707846Z level=info msg="Executing migration" id="add index data_source.account_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.461956626Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.24887ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.466351828Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.467571518Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.21941ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.471582407Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.472317104Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=734.287µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.476817236Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.477913185Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.094449ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.48269418Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.489654411Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.960742ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.494272035Z level=info msg="Executing migration" id="create data_source table v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.495114472Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=843.067µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.498792859Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.499594114Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=800.705µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.50303417Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.503905857Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=869.647µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.508279549Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.508812054Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=531.605µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.51235079Z level=info msg="Executing migration" id="Add column with_credentials" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.514598926Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.247376ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.51782989Z level=info msg="Executing migration" id="Add secure json data column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.520050317Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.219747ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.524979312Z level=info msg="Executing migration" id="Update data_source table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.525021463Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=44.011µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.529009533Z level=info msg="Executing migration" id="Update initial version to 1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.529318215Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=309.702µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.533157883Z level=info msg="Executing migration" id="Add read_only data column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.5367425Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.584927ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.54079156Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.541214353Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=422.033µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.545664136Z level=info msg="Executing migration" id="Update json_data with nulls" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.545844718Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=180.882µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.549349343Z level=info msg="Executing migration" id="Add uid column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.5515636Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.215537ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.554992015Z level=info msg="Executing migration" id="Update uid value" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.555164836Z level=info msg="Migration successfully executed" id="Update uid value" duration=172.641µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.592970237Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.593733622Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=762.995µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.598276825Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.599454504Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.177729ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.603409583Z level=info msg="Executing migration" id="Add is_prunable column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.606850389Z level=info msg="Migration successfully executed" id="Add is_prunable column" duration=3.441396ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.610547916Z level=info msg="Executing migration" id="Add api_version column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.614604176Z level=info msg="Migration successfully executed" id="Add api_version column" duration=4.05699ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.619008579Z level=info msg="Executing migration" id="create api_key table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.619746064Z level=info msg="Migration successfully executed" id="create api_key table" duration=736.985µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.623542313Z level=info msg="Executing migration" id="add index api_key.account_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.624296008Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=751.465µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.627636743Z level=info msg="Executing migration" id="add index api_key.key" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.628456379Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=819.436µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.632889992Z level=info msg="Executing migration" id="add index api_key.account_id_name" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.634633714Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.742992ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.638855796Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.640181875Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.326689ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.644413437Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.645667216Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.253799ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.650951995Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.652272335Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.31934ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.656510857Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.663607109Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=7.097053ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.668446285Z level=info msg="Executing migration" id="create api_key table v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.669257591Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=810.466µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.672895648Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.673738614Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=844.476µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.677449782Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.678803831Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.353669ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.684222211Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.685706063Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.484502ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.689634672Z level=info msg="Executing migration" id="copy api_key v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.690151385Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=517.223µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.693737163Z level=info msg="Executing migration" id="Drop old table api_key_v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.694239636Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=502.733µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.698385227Z level=info msg="Executing migration" id="Update api_key table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.698411347Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=25.391µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.701668671Z level=info msg="Executing migration" id="Add expires to api_key table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.705998483Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.328872ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.709842851Z level=info msg="Executing migration" id="Add service account foreign key" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.713132545Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.290374ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.717471668Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.717626899Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=154.561µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.72053375Z level=info msg="Executing migration" id="Add last_used_at to api_key table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.723037759Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.503729ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.726339923Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.728835192Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.494299ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.733091314Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.733790959Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=700.145µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.737301895Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.737947329Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=642.084µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.741248214Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.742207341Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=957.007µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.746849276Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.747618601Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=768.565µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.752291825Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.753158902Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=863.857µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.756605907Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.757521374Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=915.417µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.762060798Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.762165929Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=106.061µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.765952787Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.766003017Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=50.1µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.771115185Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.774941354Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.826759ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.778208868Z level=info msg="Executing migration" id="Add encrypted dashboard json column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.780815097Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.605659ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.785510721Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.785574702Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=64.451µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.790561169Z level=info msg="Executing migration" id="create quota table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.791637377Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.077268ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.794927732Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.796159861Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.234239ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.799506825Z level=info msg="Executing migration" id="Update quota table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.799531525Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=23.13µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.802676688Z level=info msg="Executing migration" id="create plugin_setting table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.803402285Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=727.087µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.808517463Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.809820152Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.301889ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.813408308Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.817855321Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.446373ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.82306345Z level=info msg="Executing migration" id="Update plugin_setting table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.82308675Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.03µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.826466755Z level=info msg="Executing migration" id="create session table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.82718313Z level=info msg="Migration successfully executed" id="create session table" duration=716.045µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.830634115Z level=info msg="Executing migration" id="Drop old table playlist table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.830712626Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=79.231µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.83384214Z level=info msg="Executing migration" id="Drop old table playlist_item table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.833955321Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=110.811µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.839371971Z level=info msg="Executing migration" id="create playlist table v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.84059221Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.219499ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.846340852Z level=info msg="Executing migration" id="create playlist item table v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.8475378Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.196118ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.851239318Z level=info msg="Executing migration" id="Update playlist table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.851276139Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=38.141µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.854570243Z level=info msg="Executing migration" id="Update playlist_item table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.854594063Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=26.33µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.860660138Z level=info msg="Executing migration" id="Add playlist column created_at" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.864654568Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.99265ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.868462376Z level=info msg="Executing migration" id="Add playlist column updated_at" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.872155443Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.686327ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.875592748Z level=info msg="Executing migration" id="drop preferences table v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.875771491Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=178.012µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.881661994Z level=info msg="Executing migration" id="drop preferences table v3" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.881819005Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=156.591µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.884270873Z level=info msg="Executing migration" id="create preferences table v3" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.885140739Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=868.846µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.888974947Z level=info msg="Executing migration" id="Update preferences table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.889013328Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=39.851µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.894522978Z level=info msg="Executing migration" id="Add column team_id in preferences" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.899345084Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.820676ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.902880091Z level=info msg="Executing migration" id="Update team_id column values in preferences" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.903108862Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=229.991µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.906170345Z level=info msg="Executing migration" id="Add column week_start in preferences" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.909239087Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.068072ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.912591993Z level=info msg="Executing migration" id="Add column preferences.json_data" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.915571095Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=2.978552ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.92035563Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.92041805Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=68.931µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.923840216Z level=info msg="Executing migration" id="Add preferences index org_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.924609981Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=769.305µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.927637814Z level=info msg="Executing migration" id="Add preferences index user_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.928425379Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=787.365µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.933427306Z level=info msg="Executing migration" id="create alert table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.934416213Z level=info msg="Migration successfully executed" id="create alert table v1" duration=989.967µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.937974921Z level=info msg="Executing migration" id="add index alert org_id & id " [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.939142319Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.165858ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.942714655Z level=info msg="Executing migration" id="add index alert state" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.943981755Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.26614ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.949048163Z level=info msg="Executing migration" id="add index alert dashboard_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.949825508Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=776.935µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.953405104Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.954006989Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=604.125µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.957432195Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.958752634Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.319239ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.963661301Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.964870039Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.210918ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.968516857Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.980069852Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=11.550455ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.983751979Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.984217123Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=464.824µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.988892178Z 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-15T18:14:12.989486462Z 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=594.074µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.993049618Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.993499042Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=449.164µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.997160459Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:12.997965574Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=801.415µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.002954481Z level=info msg="Executing migration" id="create alert_notification table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.004653844Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.698583ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.008839923Z level=info msg="Executing migration" id="Add column is_default" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.012322618Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.482685ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.015948485Z level=info msg="Executing migration" id="Add column frequency" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.019379599Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.430914ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.025892385Z level=info msg="Executing migration" id="Add column send_reminder" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.02935454Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.461995ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.032775975Z level=info msg="Executing migration" id="Add column disable_resolve_message" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.03623056Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.454195ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.04057848Z level=info msg="Executing migration" id="add index alert_notification org_id & name" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.041403517Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=824.417µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.045671347Z level=info msg="Executing migration" id="Update alert table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.045696087Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=25.53µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.049318903Z level=info msg="Executing migration" id="Update alert_notification table charset" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.049342933Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=24.9µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.054189457Z level=info msg="Executing migration" id="create notification_journal table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.055268286Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.079519ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.063209821Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.064580241Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.37014ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.068526229Z level=info msg="Executing migration" id="drop alert_notification_journal" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.069337296Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=816.987µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.074712894Z level=info msg="Executing migration" id="create alert_notification_state table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.075381189Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=670.605µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.07835268Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.079221666Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=868.006µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.088107659Z level=info msg="Executing migration" id="Add for to alert table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.091828856Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.720717ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.096374248Z level=info msg="Executing migration" id="Add column uid in alert_notification" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.102463331Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=6.095943ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.106034137Z level=info msg="Executing migration" id="Update uid column values in alert_notification" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.106259789Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=222.252µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.109419051Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.110282747Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=863.656µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.117860471Z level=info msg="Executing migration" id="Remove unique index org_id_name" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.118794207Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=933.736µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.130831484Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.13442882Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.597406ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.141356738Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.141406269Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=47.561µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.149015663Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.150441024Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.426611ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.162328238Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.163205354Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=879.036µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.168755014Z level=info msg="Executing migration" id="Drop old annotation table v4" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.168838804Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=83.85µs [33mmariadb |[0m 2024-11-15 18:14:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. [35mpolicy-db-migrator |[0m Waiting for mariadb port 3306... [34mprometheus |[0m time=2024-11-15T18:14:11.020Z level=INFO source=main.go:642 msg="No time or size retention was set so using the default time retention" duration=15d [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.175139219Z level=info msg="Executing migration" id="create annotation table v5" [33mmariadb |[0m 2024-11-15 18:14:13+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused [32mpolicy-api |[0m Waiting for mariadb port 3306... [34mprometheus |[0m time=2024-11-15T18:14:11.020Z level=INFO source=main.go:689 msg="Starting Prometheus Server" mode=server version="(version=3.0.0, branch=HEAD, revision=c5d009d57fcccb7247e1191a0b10d74b06295388)" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.176471399Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.33467ms [33mmariadb |[0m 2024-11-15 18:14:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused [32mpolicy-api |[0m mariadb (172.17.0.3:3306) open [34mprometheus |[0m time=2024-11-15T18:14:11.020Z level=INFO source=main.go:694 msg="operational information" build_context="(go=go1.23.3, platform=linux/amd64, user=root@aa286d0eb00a, date=20241114-16:40:43, tags=netgo,builtinassets,stringlabels)" host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.181818347Z level=info msg="Executing migration" id="add index annotation 0 v3" [33mmariadb |[0m 2024-11-15 18:14:13+00:00 [Note] [Entrypoint]: Initializing database files [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused [32mpolicy-api |[0m Waiting for policy-db-migrator port 6824... [34mprometheus |[0m time=2024-11-15T18:14:11.023Z level=INFO source=main.go:770 msg="Leaving GOMAXPROCS=8: CPU quota undefined" component=automaxprocs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.182638073Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=829.206µs [33mmariadb |[0m 2024-11-15 18:14:13 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused [32mpolicy-api |[0m policy-db-migrator (172.17.0.5:6824) open [34mprometheus |[0m time=2024-11-15T18:14:11.027Z level=INFO source=web.go:650 msg="Start listening for connections" component=web address=0.0.0.0:9090 [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.1892986Z level=info msg="Executing migration" id="add index annotation 1 v3" [33mmariadb |[0m 2024-11-15 18:14:13 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused [32mpolicy-api |[0m Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml [34mprometheus |[0m time=2024-11-15T18:14:11.027Z level=INFO source=main.go:1239 msg="Starting TSDB ..." [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.19058787Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.28888ms [33mmariadb |[0m 2024-11-15 18:14:13 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused [32mpolicy-api |[0m [34mprometheus |[0m time=2024-11-15T18:14:11.030Z level=INFO source=tls_config.go:347 msg="Listening on" component=web address=[::]:9090 [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.193936023Z level=info msg="Executing migration" id="add index annotation 2 v3" [35mpolicy-db-migrator |[0m Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! [32mpolicy-api |[0m . ____ _ __ _ _ [34mprometheus |[0m time=2024-11-15T18:14:11.030Z level=INFO source=tls_config.go:350 msg="TLS is disabled." component=web http2=false address=[::]:9090 [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.195341524Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.405101ms [35mpolicy-db-migrator |[0m 321 blocks [32mpolicy-api |[0m /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ [34mprometheus |[0m time=2024-11-15T18:14:11.036Z level=INFO source=head.go:628 msg="Replaying on-disk memory mappable chunks if any" component=tsdb [33mmariadb |[0m PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.198734078Z level=info msg="Executing migration" id="add index annotation 3 v3" [35mpolicy-db-migrator |[0m Preparing upgrade release version: 0800 [32mpolicy-api |[0m ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ [34mprometheus |[0m time=2024-11-15T18:14:11.036Z level=INFO source=head.go:715 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=2.61µs [33mmariadb |[0m To do so, start the server, then issue the following command: [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.200210828Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.46904ms [35mpolicy-db-migrator |[0m Preparing upgrade release version: 0900 [32mpolicy-api |[0m \\/ ___)| |_)| | | | | || (_| | ) ) ) ) [34mprometheus |[0m time=2024-11-15T18:14:11.036Z level=INFO source=head.go:723 msg="Replaying WAL, this may take a while" component=tsdb [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.206597654Z level=info msg="Executing migration" id="add index annotation 4 v3" [35mpolicy-db-migrator |[0m Preparing upgrade release version: 1000 [32mpolicy-api |[0m ' |____| .__|_| |_|_| |_\__, | / / / / [34mprometheus |[0m time=2024-11-15T18:14:11.037Z level=INFO source=head.go:795 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 [33mmariadb |[0m '/usr/bin/mysql_secure_installation' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.208068244Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.46978ms [35mpolicy-db-migrator |[0m Preparing upgrade release version: 1100 [32mpolicy-api |[0m =========|_|==============|___/=/_/_/_/ [34mprometheus |[0m time=2024-11-15T18:14:11.037Z level=INFO source=head.go:832 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=31.82µs wal_replay_duration=860.01µs wbl_replay_duration=320ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=2.61µs total_replay_duration=965.041µs [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.213548673Z level=info msg="Executing migration" id="Update annotation table charset" [35mpolicy-db-migrator |[0m Preparing upgrade release version: 1200 [32mpolicy-api |[0m :: Spring Boot :: (v3.1.4) [34mprometheus |[0m time=2024-11-15T18:14:11.040Z level=INFO source=main.go:1260 msg="filesystem information" fs_type=EXT4_SUPER_MAGIC [33mmariadb |[0m which will also give you the option of removing the test [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.213604433Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=52.72µs [35mpolicy-db-migrator |[0m Preparing upgrade release version: 1300 [32mpolicy-api |[0m [34mprometheus |[0m time=2024-11-15T18:14:11.040Z level=INFO source=main.go:1263 msg="TSDB started" [33mmariadb |[0m databases and anonymous user created by default. This is [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.219499115Z level=info msg="Executing migration" id="Add column region_id to annotation table" [35mpolicy-db-migrator |[0m Done [32mpolicy-api |[0m [2024-11-15T18:14:27.365+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) [34mprometheus |[0m time=2024-11-15T18:14:11.040Z level=INFO source=main.go:1446 msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml [33mmariadb |[0m strongly recommended for production servers. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.223410954Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.911359ms [35mpolicy-db-migrator |[0m name version [32mpolicy-api |[0m [2024-11-15T18:14:27.366+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" [34mprometheus |[0m time=2024-11-15T18:14:11.041Z level=INFO source=main.go:1485 msg="updated GOGC" old=100 new=75 [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.226783428Z level=info msg="Executing migration" id="Drop category_id index" [35mpolicy-db-migrator |[0m policyadmin 0 [32mpolicy-api |[0m [2024-11-15T18:14:29.061+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. [34mprometheus |[0m time=2024-11-15T18:14:11.041Z level=INFO source=main.go:1495 msg="Completed loading of configuration file" db_storage=2.32µs remote_storage=2.45µs web_handler=750ns query_engine=1.52µs scrape=228.082µs scrape_sd=200.413µs notify=198.762µs notify_sd=23.86µs rules=2.25µs tracing=7.98µs filename=/etc/prometheus/prometheus.yml totalDuration=1.268116ms [33mmariadb |[0m See the MariaDB Knowledgebase at https://mariadb.com/kb [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.227574263Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=795.175µs [35mpolicy-db-migrator |[0m policyadmin: upgrade available: 0 -> 1300 [32mpolicy-api |[0m [2024-11-15T18:14:29.160+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 90 ms. Found 6 JPA repository interfaces. [34mprometheus |[0m time=2024-11-15T18:14:11.041Z level=INFO source=main.go:1224 msg="Server is ready to receive web requests." [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.265422303Z level=info msg="Executing migration" id="Add column tags to annotation table" [35mpolicy-db-migrator |[0m upgrade: 0 -> 1300 [32mpolicy-api |[0m [2024-11-15T18:14:29.581+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 [34mprometheus |[0m time=2024-11-15T18:14:11.041Z level=INFO source=manager.go:168 msg="Starting rule manager..." component="rule manager" [33mmariadb |[0m Please report any problems at https://mariadb.org/jira [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.271886279Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.467056ms [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [2024-11-15T18:14:29.581+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 [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.280962123Z level=info msg="Executing migration" id="Create annotation_tag table v2" [35mpolicy-db-migrator |[0m > upgrade 0100-jpapdpgroup_properties.sql [32mpolicy-api |[0m [2024-11-15T18:14:30.252+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) [33mmariadb |[0m The latest information about MariaDB is available at https://mariadb.org/. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.282199183Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.24189ms [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:30.261+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.285724198Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" [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) [32mpolicy-api |[0m [2024-11-15T18:14:30.263+00:00|INFO|StandardService|main] Starting service [Tomcat] [33mmariadb |[0m Consider joining MariaDB's strong and vibrant community: [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.287168887Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.409429ms [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:30.263+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] [33mmariadb |[0m https://mariadb.org/get-involved/ [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.291144056Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [2024-11-15T18:14:30.347+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.292103753Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=960.337µs [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [2024-11-15T18:14:30.347+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2912 ms [33mmariadb |[0m 2024-11-15 18:14:15+00:00 [Note] [Entrypoint]: Database files initialized [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.30004552Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" [35mpolicy-db-migrator |[0m > upgrade 0110-jpapdpstatistics_enginestats.sql [32mpolicy-api |[0m [2024-11-15T18:14:30.760+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] [33mmariadb |[0m 2024-11-15 18:14:15+00:00 [Note] [Entrypoint]: Starting temporary server [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.312537128Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=12.491368ms [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:30.855+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 [33mmariadb |[0m 2024-11-15 18:14:15+00:00 [Note] [Entrypoint]: Waiting for server startup [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.318018807Z level=info msg="Executing migration" id="Create annotation_tag table v3" [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) [32mpolicy-api |[0m [2024-11-15T18:14:30.858+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 94 ... [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.318523542Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=504.485µs [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:30.901+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.321725984Z 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" [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [2024-11-15T18:14:31.266+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] InnoDB: Number of transaction pools: 1 [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.322686141Z 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=958.287µs [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [2024-11-15T18:14:31.290+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.326382717Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" [35mpolicy-db-migrator |[0m > upgrade 0120-jpapdpsubgroup_policies.sql [32mpolicy-api |[0m [2024-11-15T18:14:31.388+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@7636823f [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.32679364Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=411.153µs [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:31.391+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. [33mmariadb |[0m 2024-11-15 18:14:15 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.331826116Z level=info msg="Executing migration" id="drop table annotation_tag_v2" [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) [32mpolicy-api |[0m [2024-11-15T18:14:31.419+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) [33mmariadb |[0m 2024-11-15 18:14:15 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.333149726Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.33083ms [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:31.421+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.338386633Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [2024-11-15T18:14:33.520+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] InnoDB: Completed initialization of buffer pool [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.338748216Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=362.353µs [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [2024-11-15T18:14:33.525+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.345752435Z level=info msg="Executing migration" id="Add created time to annotation table" [35mpolicy-db-migrator |[0m > upgrade 0130-jpapdpsubgroup_properties.sql [32mpolicy-api |[0m [2024-11-15T18:14:34.962+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] InnoDB: 128 rollback segments are active. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.350062406Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.310521ms [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:35.788+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.353869313Z level=info msg="Executing migration" id="Add updated time to annotation table" [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) [32mpolicy-api |[0m [2024-11-15T18:14:36.968+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 [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.356808674Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=2.939861ms [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:37.202+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@59171a5d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6f286e1d, org.springframework.security.web.context.SecurityContextHolderFilter@453ef145, org.springframework.security.web.header.HeaderWriterFilter@4b7feb38, org.springframework.security.web.authentication.logout.LogoutFilter@3532f633, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@69765d94, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3edd135d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5f6b6f2, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@46ae1e6b, org.springframework.security.web.access.ExceptionTranslationFilter@31829b82, org.springframework.security.web.access.intercept.AuthorizationFilter@63f95ac1] [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] InnoDB: log sequence number 46590; transaction id 14 [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.360236548Z level=info msg="Executing migration" id="Add index for created in annotation table" [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [2024-11-15T18:14:38.148+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] Plugin 'FEEDBACK' is disabled. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.361034974Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=798.656µs [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [2024-11-15T18:14:38.223+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] [33mmariadb |[0m 2024-11-15 18:14:15 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.365850818Z level=info msg="Executing migration" id="Add index for updated in annotation table" [35mpolicy-db-migrator |[0m > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql [32mpolicy-api |[0m [2024-11-15T18:14:38.263+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' [33mmariadb |[0m 2024-11-15 18:14:15 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.366715635Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=864.547µs [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:38.282+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.659 seconds (process running for 12.401) [33mmariadb |[0m 2024-11-15 18:14:15 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.37031868Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" [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) [32mpolicy-api |[0m [2024-11-15T18:14:39.979+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' [33mmariadb |[0m 2024-11-15 18:14:15 0 [Note] mariadbd: ready for connections. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.370702993Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=384.243µs [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:39.979+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' [33mmariadb |[0m Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.374687812Z level=info msg="Executing migration" id="Add epoch_end column" [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [2024-11-15T18:14:39.981+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 1 ms [33mmariadb |[0m 2024-11-15 18:14:16+00:00 [Note] [Entrypoint]: Temporary server started. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.380249071Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.562289ms [32mpolicy-api |[0m [2024-11-15T18:14:45.760+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: [33mmariadb |[0m 2024-11-15 18:14:17+00:00 [Note] [Entrypoint]: Creating user policy_user [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.384008668Z level=info msg="Executing migration" id="Add index for epoch_end" [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [] [33mmariadb |[0m 2024-11-15 18:14:17+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.384932774Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=924.236µs [35mpolicy-db-migrator |[0m > upgrade 0150-jpatoscacapabilityassignment_attributes.sql [32mpolicy-api |[0m [2024-11-15T18:14:45.911+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.391327661Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:46.185+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes [33mmariadb |[0m 2024-11-15 18:14:17+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.391517592Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=191.672µs [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) [32mpolicy-api |[0m [2024-11-15T18:14:47.344+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.397224142Z level=info msg="Executing migration" id="Move region to single row" [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:49.263+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 [33mmariadb |[0m 2024-11-15 18:14:17+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.397834776Z level=info msg="Migration successfully executed" id="Move region to single row" duration=610.144µs [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [2024-11-15T18:14:49.571+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 [33mmariadb |[0m #!/bin/bash -xv [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.401721944Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" [35mpolicy-db-migrator |[0m [32mpolicy-api |[0m [2024-11-15T18:14:49.795+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 [33mmariadb |[0m # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved [35mpolicy-db-migrator |[0m > upgrade 0160-jpatoscacapabilityassignment_metadata.sql [32mpolicy-api |[0m [2024-11-15T18:14:50.039+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 [33mmariadb |[0m # Modifications Copyright (c) 2022 Nordix Foundation. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.403019493Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.297539ms [35mpolicy-db-migrator |[0m -------------- [32mpolicy-api |[0m [2024-11-15T18:14:50.261+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 [33mmariadb |[0m # [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.40817256Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" [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) [32mpolicy-api |[0m [2024-11-15T18:14:50.467+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 [33mmariadb |[0m # Licensed under the Apache License, Version 2.0 (the "License"); [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.408973806Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=795.106µs [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m # you may not use this file except in compliance with the License. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.414643156Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" [35mpolicy-db-migrator |[0m [33mmariadb |[0m # You may obtain a copy of the License at [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.416046216Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.40249ms [35mpolicy-db-migrator |[0m [33mmariadb |[0m # [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.419910174Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" [35mpolicy-db-migrator |[0m > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql [33mmariadb |[0m # http://www.apache.org/licenses/LICENSE-2.0 [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.421234483Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.323569ms [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m # [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.42767493Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) [33mmariadb |[0m # Unless required by applicable law or agreed to in writing, software [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.428935628Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.258778ms [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m # distributed under the License is distributed on an "AS IS" BASIS, [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.439875926Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" [35mpolicy-db-migrator |[0m [33mmariadb |[0m # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.441236315Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.359319ms [35mpolicy-db-migrator |[0m [33mmariadb |[0m # See the License for the specific language governing permissions and [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.447503541Z level=info msg="Executing migration" id="Increase tags column to length 4096" [35mpolicy-db-migrator |[0m > upgrade 0180-jpatoscacapabilityassignment_properties.sql [33mmariadb |[0m # limitations under the License. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.447601861Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=98.96µs [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.454198018Z level=info msg="Executing migration" id="create test_data table" [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) [33mmariadb |[0m for db in migration pooling policyadmin operationshistory clampacm policyclamp [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.455436546Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.238418ms [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m do [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.462295146Z level=info msg="Executing migration" id="create dashboard_version table v1" [35mpolicy-db-migrator |[0m [33mmariadb |[0m mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.463159852Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=861.416µs [33mmariadb |[0m mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.467836135Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" [35mpolicy-db-migrator |[0m [33mmariadb |[0m done [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.469263625Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.42761ms [35mpolicy-db-migrator |[0m > upgrade 0190-jpatoscacapabilitytype_metadata.sql [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.474745944Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.476132544Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.38635ms [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) [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.482765631Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.483091354Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=326.443µs [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.487214084Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" [35mpolicy-db-migrator |[0m > upgrade 0200-jpatoscacapabilitytype_properties.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.487779908Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=566.263µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.492778933Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" [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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.492838653Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=60.36µs [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.499971774Z level=info msg="Executing migration" id="create team table" [35mpolicy-db-migrator |[0m [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.501026262Z level=info msg="Migration successfully executed" id="create team table" duration=1.053188ms [35mpolicy-db-migrator |[0m [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.5078478Z level=info msg="Executing migration" id="add index team.org_id" [35mpolicy-db-migrator |[0m > upgrade 0210-jpatoscadatatype_constraints.sql [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.509229351Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.381461ms [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.51341161Z level=info msg="Executing migration" id="add unique index team_org_id_name" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.514954951Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.543811ms [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.520120278Z level=info msg="Executing migration" id="Add column uid in team" [35mpolicy-db-migrator |[0m [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.525030223Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.911285ms [35mpolicy-db-migrator |[0m [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.531275978Z level=info msg="Executing migration" id="Update uid column values in team" [35mpolicy-db-migrator |[0m > upgrade 0220-jpatoscadatatype_metadata.sql [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.531448369Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=172.841µs [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.536079641Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" [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) [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.536959678Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=879.997µs [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.543037702Z level=info msg="Executing migration" id="create team member table" [35mpolicy-db-migrator |[0m [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.54431872Z level=info msg="Migration successfully executed" id="create team member table" duration=1.280588ms [35mpolicy-db-migrator |[0m [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.551004228Z level=info msg="Executing migration" id="add index team_member.org_id" [35mpolicy-db-migrator |[0m > upgrade 0230-jpatoscadatatype_properties.sql [33mmariadb |[0m mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.551970415Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=965.687µs [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.557948437Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" [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) [33mmariadb |[0m mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.55960234Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.653283ms [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m + mysql -upolicy_user -ppolicy_user -f policyclamp [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.56393894Z level=info msg="Executing migration" id="add index team_member.team_id" [35mpolicy-db-migrator |[0m [33mmariadb |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.564899227Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=958.327µs [35mpolicy-db-migrator |[0m [33mmariadb |[0m 2024-11-15 18:14:18+00:00 [Note] [Entrypoint]: Stopping temporary server [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.57234773Z level=info msg="Executing migration" id="Add column email to team table" [35mpolicy-db-migrator |[0m > upgrade 0240-jpatoscanodetemplate_metadata.sql [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] mariadbd (initiated by: unknown): Normal shutdown [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.579681023Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.331433ms [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] InnoDB: FTS optimize thread exiting. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.585856046Z level=info msg="Executing migration" id="Add column external to team_member table" [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) [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] InnoDB: Starting shutdown... [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.589094739Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.238243ms [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.592492173Z level=info msg="Executing migration" id="Add column permission to team_member table" [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.597180507Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.689354ms [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] InnoDB: Buffer pool(s) dump completed at 241115 18:14:18 [35mpolicy-db-migrator |[0m > upgrade 0250-jpatoscanodetemplate_properties.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.601460358Z level=info msg="Executing migration" id="add unique index team_member_user_id_org_id" [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.602386594Z level=info msg="Migration successfully executed" id="add unique index team_member_user_id_org_id" duration=926.326µs [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] InnoDB: Shutdown completed; log sequence number 324003; transaction id 298 [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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.616124362Z level=info msg="Executing migration" id="create dashboard acl table" [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] mariadbd: Shutdown complete [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.617664893Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.544941ms [33mmariadb |[0m [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.622158115Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" [33mmariadb |[0m 2024-11-15 18:14:18+00:00 [Note] [Entrypoint]: Temporary server stopped [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.624028418Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.870593ms [33mmariadb |[0m [35mpolicy-db-migrator |[0m > upgrade 0260-jpatoscanodetype_metadata.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.630352603Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" [33mmariadb |[0m 2024-11-15 18:14:18+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.63125256Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=899.667µs [33mmariadb |[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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.637582555Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.639131806Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.548621ms [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.64536008Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] InnoDB: Number of transaction pools: 1 [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.646254387Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=894.227µs [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions [35mpolicy-db-migrator |[0m > upgrade 0270-jpatoscanodetype_properties.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.649867283Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.651040831Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.171938ms [33mmariadb |[0m 2024-11-15 18:14:18 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) [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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.658517974Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" [33mmariadb |[0m 2024-11-15 18:14:18 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.660536129Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=2.016705ms [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.666435031Z level=info msg="Executing migration" id="add index dashboard_permission" [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] InnoDB: Completed initialization of buffer pool [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.668032212Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.597791ms [33mmariadb |[0m 2024-11-15 18:14:18 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) [35mpolicy-db-migrator |[0m > upgrade 0280-jpatoscapolicy_metadata.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.672462884Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" [33mmariadb |[0m 2024-11-15 18:14:19 0 [Note] InnoDB: 128 rollback segments are active. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.672925817Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=460.283µs [33mmariadb |[0m 2024-11-15 18:14:19 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.679379612Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m 2024-11-15 18:14:19 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.679612795Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=233.463µs [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) [33mmariadb |[0m 2024-11-15 18:14:19 0 [Note] InnoDB: log sequence number 324003; transaction id 299 [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.685221185Z level=info msg="Executing migration" id="create tag table" [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m 2024-11-15 18:14:19 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.686398053Z level=info msg="Migration successfully executed" id="create tag table" duration=1.175658ms [35mpolicy-db-migrator |[0m [33mmariadb |[0m 2024-11-15 18:14:19 0 [Note] Plugin 'FEEDBACK' is disabled. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.693538383Z level=info msg="Executing migration" id="add index tag.key_value" [35mpolicy-db-migrator |[0m [33mmariadb |[0m 2024-11-15 18:14:19 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.694495921Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=957.018µs [35mpolicy-db-migrator |[0m > upgrade 0290-jpatoscapolicy_properties.sql [33mmariadb |[0m 2024-11-15 18:14:19 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.699731638Z level=info msg="Executing migration" id="create login attempt table" [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m 2024-11-15 18:14:19 0 [Note] Server socket created on IP: '0.0.0.0'. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.701262758Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.53071ms [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) [33mmariadb |[0m 2024-11-15 18:14:19 0 [Note] Server socket created on IP: '::'. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.706294795Z level=info msg="Executing migration" id="add index login_attempt.username" [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m 2024-11-15 18:14:19 0 [Note] mariadbd: ready for connections. [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.707871916Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.646772ms [35mpolicy-db-migrator |[0m [33mmariadb |[0m Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.712885671Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" [35mpolicy-db-migrator |[0m [33mmariadb |[0m 2024-11-15 18:14:19 0 [Note] InnoDB: Buffer pool(s) load completed at 241115 18:14:19 [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.713815878Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=930.497µs [35mpolicy-db-migrator |[0m > upgrade 0300-jpatoscapolicy_targets.sql [33mmariadb |[0m 2024-11-15 18:14:19 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.719905692Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" [35mpolicy-db-migrator |[0m -------------- [33mmariadb |[0m 2024-11-15 18:14:19 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-15T18:14:13.736000866Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=16.096794ms [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.740243726Z level=info msg="Executing migration" id="create login_attempt v2" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.74075892Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=515.164µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.747110556Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.748506255Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.395819ms [35mpolicy-db-migrator |[0m > upgrade 0310-jpatoscapolicytype_metadata.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.755169832Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.755594516Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=425.144µs [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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.760665862Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.762186063Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.518481ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.767045998Z level=info msg="Executing migration" id="create user auth table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.768362267Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.316309ms [35mpolicy-db-migrator |[0m > upgrade 0320-jpatoscapolicytype_properties.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.773857386Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.774800222Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=942.456µs [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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.780651485Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.780751846Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=101.671µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.787305612Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.796297416Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.990904ms [35mpolicy-db-migrator |[0m > upgrade 0330-jpatoscapolicytype_targets.sql [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.800794808Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.804620965Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.825717ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.810330616Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.815543983Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.212247ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.822364021Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" [35mpolicy-db-migrator |[0m > upgrade 0340-jpatoscapolicytype_triggers.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.829057679Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.714888ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.833822234Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.83471599Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=893.766µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.839795026Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.844831641Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.036525ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.848211066Z level=info msg="Executing migration" id="create server_lock table" [35mpolicy-db-migrator |[0m > upgrade 0350-jpatoscaproperty_constraints.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.848981321Z level=info msg="Migration successfully executed" id="create server_lock table" duration=770.445µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.85445388Z level=info msg="Executing migration" id="add index server_lock.operation_uid" [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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.856298964Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.844314ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.862028425Z level=info msg="Executing migration" id="create user auth token table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.862916471Z level=info msg="Migration successfully executed" id="create user auth token table" duration=889.396µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.867432153Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" [35mpolicy-db-migrator |[0m > upgrade 0360-jpatoscaproperty_metadata.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.868338269Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=906.236µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.871678013Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" [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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.872808201Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.128938ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.878042488Z level=info msg="Executing migration" id="add index user_auth_token.user_id" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.879007696Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=962.378µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.882359349Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" [35mpolicy-db-migrator |[0m > upgrade 0370-jpatoscarelationshiptype_metadata.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.88801563Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.655431ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.894246874Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" [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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.895675265Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.427521ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.933290222Z level=info msg="Executing migration" id="add external_session_id to user_auth_token" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.943971618Z level=info msg="Migration successfully executed" id="add external_session_id to user_auth_token" duration=10.675426ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.950453854Z level=info msg="Executing migration" id="create cache_data table" [35mpolicy-db-migrator |[0m > upgrade 0380-jpatoscarelationshiptype_properties.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.951126779Z level=info msg="Migration successfully executed" id="create cache_data table" duration=673.055µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.954388533Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" [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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.955485161Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.096728ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.964425374Z level=info msg="Executing migration" id="create short_url table v1" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.965415872Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=989.608µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.990103207Z level=info msg="Executing migration" id="add index short_url.org_id-uid" [35mpolicy-db-migrator |[0m > upgrade 0390-jpatoscarequirement_metadata.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.992132002Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=2.028365ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.997143707Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" [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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:13.997243948Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=100.941µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.004037817Z level=info msg="Executing migration" id="delete alert_definition table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.004137108Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=100.051µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.010403022Z level=info msg="Executing migration" id="recreate alert_definition table" [35mpolicy-db-migrator |[0m > upgrade 0400-jpatoscarequirement_occurrences.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.011274659Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=871.897µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.015963264Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.017011683Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.047469ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.021974909Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.022960618Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=985.769µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.031889691Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" [35mpolicy-db-migrator |[0m > upgrade 0410-jpatoscarequirement_properties.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.031998012Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=107.671µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.037059289Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" [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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.038615884Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.554695ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.044018524Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.045501528Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.482424ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.054703193Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" [35mpolicy-db-migrator |[0m > upgrade 0420-jpatoscaservicetemplate_metadata.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.056708842Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=2.010439ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.063672557Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid 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-15T18:14:14.064875818Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.203141ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.070863043Z level=info msg="Executing migration" id="Add column paused in alert_definition" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.076840939Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.977796ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.081874646Z level=info msg="Executing migration" id="drop alert_definition table" [35mpolicy-db-migrator |[0m > upgrade 0430-jpatoscatopologytemplate_inputs.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.083634353Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.760117ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.092226092Z level=info msg="Executing migration" id="delete alert_definition_version table" [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-15T18:14:14.092378164Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=175.732µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.098531941Z level=info msg="Executing migration" id="recreate alert_definition_version table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.100067896Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.535385ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.10489283Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" [35mpolicy-db-migrator |[0m > upgrade 0440-pdpgroup_pdpsubgroup.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.106394194Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.502414ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.112607402Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" [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-15T18:14:14.113702111Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.098289ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.119232443Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.119331934Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=100.681µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.124686924Z level=info msg="Executing migration" id="drop alert_definition_version table" [35mpolicy-db-migrator |[0m > upgrade 0450-pdpgroup.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.125603343Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=916.169µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.131878321Z level=info msg="Executing migration" id="create alert_instance table" [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-15T18:14:14.132551587Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=673.166µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.136833347Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.137541874Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=708.087µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.143054275Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" [35mpolicy-db-migrator |[0m > upgrade 0460-pdppolicystatus.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.143751331Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=697.186µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.149903708Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" [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-15T18:14:14.158949813Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.052105ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.162188683Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.162846369Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=657.776µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.16722503Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" [35mpolicy-db-migrator |[0m > upgrade 0470-pdp.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.168121938Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=897.168µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.173606149Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" [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-15T18:14:14.203101353Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=29.490664ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.208759035Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.234619077Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=25.868812ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.239543502Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" [35mpolicy-db-migrator |[0m > upgrade 0480-pdpstatistics.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.240990696Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.446853ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.247323394Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" [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-15T18:14:14.248335494Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.01182ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.25437629Z level=info msg="Executing migration" id="add current_reason column related to current_state" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.263187072Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.812482ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.268615743Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" [35mpolicy-db-migrator |[0m > upgrade 0490-pdpsubgroup_pdp.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.273798141Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.181709ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.27808112Z level=info msg="Executing migration" id="create alert_rule table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.279026919Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=945.569µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.28347722Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.285002155Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.524295ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.291218173Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.292276872Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.058379ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.29853558Z 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-15T18:14:14.299727402Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.195502ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.304583907Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.304648938Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=70.921µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.309418701Z level=info msg="Executing migration" id="add column for to alert_rule" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.315396097Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.977266ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.322293841Z level=info msg="Executing migration" id="add column annotations to alert_rule" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.328306477Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.011866ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.333144342Z level=info msg="Executing migration" id="add column labels to alert_rule" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.338924376Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.784364ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.344015284Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.345120554Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.104919ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.35120009Z 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-15T18:14:14.35218044Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=979.53µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.357196375Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.3652365Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.040655ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.370111206Z level=info msg="Executing migration" id="add panel_id column to alert_rule" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.375858229Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.746723ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.38022233Z 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-15T18:14:14.381176719Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=953.509µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.387964722Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.397199298Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.232996ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.403465746Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.409775385Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.307189ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.414784001Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.414845262Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=61.861µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.421876387Z level=info msg="Executing migration" id="create alert_rule_version table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.423385711Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.508194ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.429296276Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.430609609Z 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.318043ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.436697815Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.438058437Z 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.367002ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.444096913Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.444157604Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=61.411µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.449935968Z level=info msg="Executing migration" id="add column for to alert_rule_version" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.456257887Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.321679ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.462928449Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.469244377Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.318988ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.474109963Z level=info msg="Executing migration" id="add column labels to alert_rule_version" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.480494282Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.384609ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.4856051Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.490091012Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=4.485202ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.496865054Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.503259064Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.39531ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.508472402Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.508539113Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=64.891µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.512244438Z level=info msg="Executing migration" id=create_alert_configuration_table [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.513418738Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.17402ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.517694848Z level=info msg="Executing migration" id="Add column default in alert_configuration" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.527417308Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.72292ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.535220251Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.535335122Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=115.761µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.5404932Z level=info msg="Executing migration" id="add column org_id in alert_configuration" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.547219162Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.727432ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.553728604Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.554706142Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=977.448µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.562332104Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.57162628Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.299537ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.630418496Z level=info msg="Executing migration" id=create_ngalert_configuration_table [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.631650477Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.233161ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.638418361Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.639983335Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.564324ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.646168183Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.652668463Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.50234ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.657577489Z level=info msg="Executing migration" id="create provenance_type table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.658469777Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=892.328µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.663981768Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.665031838Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.04984ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.669891283Z level=info msg="Executing migration" id="create alert_image table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.671361837Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.470664ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.676277892Z level=info msg="Executing migration" id="add unique index on token to alert_image table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.677737716Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.459764ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.682218207Z level=info msg="Executing migration" id="support longer URLs in alert_image table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.682295098Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=77.611µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.688427516Z level=info msg="Executing migration" id=create_alert_configuration_history_table [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.689414385Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=987.619µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.695967195Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.697133447Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.166622ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.702292135Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.703027951Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.708637764Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.709228239Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=590.535µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.712764062Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.713750262Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=981.72µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.723458212Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.731401966Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.944724ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.73723454Z level=info msg="Executing migration" id="create library_element table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.73835946Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.12496ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.743097325Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.744976862Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.883997ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.748544335Z level=info msg="Executing migration" id="create library_element_connection table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.749347442Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=803.027µs [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0500-pdpsubgroup.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0510-toscacapabilityassignment.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0520-toscacapabilityassignments.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0540-toscacapabilitytype.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0550-toscacapabilitytypes.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.753833315Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.754824873Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=993.778µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.758487208Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.75980197Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.318542ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.764301603Z level=info msg="Executing migration" id="increase max description length to 2048" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.764341083Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=40.49µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.768128948Z level=info msg="Executing migration" id="alter library_element model to mediumtext" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.768228729Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=100.891µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.771981053Z level=info msg="Executing migration" id="add library_element folder uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.783640403Z level=info msg="Migration successfully executed" id="add library_element folder uid" duration=11.6606ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.786924023Z level=info msg="Executing migration" id="populate library_element folder_uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.787188256Z level=info msg="Migration successfully executed" id="populate library_element folder_uid" duration=264.073µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.791042901Z level=info msg="Executing migration" id="add index library_element org_id-folder_uid-name-kind" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.792095382Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_uid-name-kind" duration=1.051431ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.795590114Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.795893467Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=303.153µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.800182587Z level=info msg="Executing migration" id="create data_keys table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.801761841Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.579164ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.809280951Z level=info msg="Executing migration" id="create secrets table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.810698934Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.417913ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.814231268Z level=info msg="Executing migration" id="rename data_keys name column to id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.846836751Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=32.605743ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.850312033Z level=info msg="Executing migration" id="add name column into data_keys" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.855412751Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.100328ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.85957424Z level=info msg="Executing migration" id="copy data_keys id column values into name" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.859740831Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=166.541µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.867294691Z level=info msg="Executing migration" id="rename data_keys name column to label" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.89925552Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=31.964439ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.902989694Z level=info msg="Executing migration" id="rename data_keys id column back to name" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.932087236Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=29.097692ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.937501836Z level=info msg="Executing migration" id="create kv_store table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.938153192Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=650.986µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.948044364Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.949832581Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.787257ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.964320036Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.964704819Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=384.743µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.97548674Z level=info msg="Executing migration" id="create permission table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.976812482Z level=info msg="Migration successfully executed" id="create permission table" duration=1.325412ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.986494052Z level=info msg="Executing migration" id="add unique index permission.role_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.988193069Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.698787ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:14.998749296Z level=info msg="Executing migration" id="add unique index role_id_action_scope" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.000590324Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.840718ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.011768021Z level=info msg="Executing migration" id="create role table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.013151357Z level=info msg="Migration successfully executed" id="create role table" duration=1.387967ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.024530888Z level=info msg="Executing migration" id="add column display_name" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.03604576Z level=info msg="Migration successfully executed" id="add column display_name" duration=11.516562ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.045656779Z level=info msg="Executing migration" id="add column group_name" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.054927255Z level=info msg="Migration successfully executed" id="add column group_name" duration=9.271066ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.060727152Z level=info msg="Executing migration" id="add index role.org_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.061776564Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.048762ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.067511359Z level=info msg="Executing migration" id="add unique index role_org_id_name" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.069028346Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.515817ms [35mpolicy-db-migrator |[0m > upgrade 0570-toscadatatype.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0580-toscadatatypes.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0590-toscadatatypes_toscadatatype.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0600-toscanodetemplate.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0610-toscanodetemplates.sql [35mpolicy-db-migrator |[0m -------------- [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 [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0620-toscanodetemplates_toscanodetemplate.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0630-toscanodetype.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0640-toscanodetypes.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0650-toscanodetypes_toscanodetype.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0660-toscaparameter.sql [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.073005142Z level=info msg="Executing migration" id="add index role_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.074985055Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.974863ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.07978617Z level=info msg="Executing migration" id="create team role table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.080685781Z level=info msg="Migration successfully executed" id="create team role table" duration=898.82µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.085130251Z level=info msg="Executing migration" id="add index team_role.org_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.086900091Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.76963ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.090672264Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.092461095Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.788411ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.096946716Z level=info msg="Executing migration" id="add index team_role.team_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.097985798Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.038952ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.103482401Z level=info msg="Executing migration" id="create user role table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.104931447Z level=info msg="Migration successfully executed" id="create user role table" duration=1.448286ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.109714172Z level=info msg="Executing migration" id="add index user_role.org_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.111535204Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.820541ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.117101317Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.118849407Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.75107ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.124620483Z level=info msg="Executing migration" id="add index user_role.user_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.125696826Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.075992ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.130031215Z level=info msg="Executing migration" id="create builtin role table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.130986426Z level=info msg="Migration successfully executed" id="create builtin role table" duration=954.691µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.134969351Z level=info msg="Executing migration" id="add index builtin_role.role_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.136436379Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.465918ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.141458115Z level=info msg="Executing migration" id="add index builtin_role.name" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.143118555Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.65953ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.148381725Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.155950562Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.567827ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.162078952Z level=info msg="Executing migration" id="add index builtin_role.org_id" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.163240625Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.158683ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.169616497Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.17155281Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.935553ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.177078483Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.178074474Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=995.351µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.184908223Z level=info msg="Executing migration" id="add unique index role.uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.185977645Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.068582ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.192001654Z level=info msg="Executing migration" id="create seed assignment table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.193266319Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.263705ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.197933302Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.199715112Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.781521ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.204252714Z level=info msg="Executing migration" id="add column hidden to role table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.212184465Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.932101ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.217567097Z level=info msg="Executing migration" id="permission kind migration" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.224024891Z level=info msg="Migration successfully executed" id="permission kind migration" duration=6.456274ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.229415342Z level=info msg="Executing migration" id="permission attribute migration" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.2370935Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.677818ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.241014285Z level=info msg="Executing migration" id="permission identifier migration" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.247106865Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=6.09225ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.251645028Z level=info msg="Executing migration" id="add permission identifier index" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.25269606Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.050972ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.256415912Z level=info msg="Executing migration" id="add permission action scope role_id index" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.257534976Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.118994ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.261058356Z level=info msg="Executing migration" id="remove permission role_id action scope index" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.262054907Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=994.331µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.266586289Z level=info msg="Executing migration" id="add group mapping UID column to user_role table" [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0670-toscapolicies.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0680-toscapolicies_toscapolicy.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0690-toscapolicy.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0700-toscapolicytype.sql [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0710-toscapolicytypes.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0720-toscapolicytypes_toscapolicytype.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0730-toscaproperty.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0740-toscarelationshiptype.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0750-toscarelationshiptypes.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0770-toscarequirement.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0780-toscarequirements.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.274378739Z level=info msg="Migration successfully executed" id="add group mapping UID column to user_role table" duration=7.7896ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.310936489Z level=info msg="Executing migration" id="add user_role org ID, user ID, role ID, group mapping UID index" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.312107062Z level=info msg="Migration successfully executed" id="add user_role org ID, user ID, role ID, group mapping UID index" duration=1.169903ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.315764425Z level=info msg="Executing migration" id="remove user_role org ID, user ID, role ID index" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.316762266Z level=info msg="Migration successfully executed" id="remove user_role org ID, user ID, role ID index" duration=997.811µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.321195438Z level=info msg="Executing migration" id="create query_history table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.322017947Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=822.249µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.326752231Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.328432741Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.68299ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.332298785Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.332393416Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=96.021µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.336920739Z level=info msg="Executing migration" id="create query_history_details table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.337717067Z level=info msg="Migration successfully executed" id="create query_history_details table v1" duration=796.278µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.343404463Z level=info msg="Executing migration" id="rbac disabled migrator" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.343449483Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=46.4µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.347316328Z level=info msg="Executing migration" id="teams permissions migration" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.347952035Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=636.027µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.352739791Z level=info msg="Executing migration" id="dashboard permissions" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.35353202Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=791.289µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.357280173Z level=info msg="Executing migration" id="dashboard permissions uid scopes" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.358251694Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=971.951µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.361777655Z level=info msg="Executing migration" id="drop managed folder create actions" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.361968417Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=190.822µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.365562938Z level=info msg="Executing migration" id="alerting notification permissions" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.365985153Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=422.015µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.370696227Z level=info msg="Executing migration" id="create query_history_star table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.371958122Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.261065ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.375769626Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.377417345Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.647069ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.381214808Z level=info msg="Executing migration" id="add column org_id in query_history_star" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.391512387Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.298179ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.395956628Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.396017209Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=60.271µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.399507189Z level=info msg="Executing migration" id="create correlation table v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.400520761Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.014412ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.404283124Z level=info msg="Executing migration" id="add index correlations.uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.405931113Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.644009ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.410615236Z level=info msg="Executing migration" id="add index correlations.source_uid" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.412374367Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.759281ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.416258601Z level=info msg="Executing migration" id="add correlation config column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.42744369Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.186669ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.431000082Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.431986883Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=987.101µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.436368184Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.437337474Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=969.52µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.440582922Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.462778987Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.196205ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.467054747Z level=info msg="Executing migration" id="create correlation v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.469196141Z level=info msg="Migration successfully executed" id="create correlation v2" duration=2.126714ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.47608063Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.477201983Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.119703ms [35mpolicy-db-migrator |[0m > upgrade 0790-toscarequirements_toscarequirement.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0800-toscaservicetemplate.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0810-toscatopologytemplate.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.480603502Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.481745606Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.141864ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.485191735Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.486286837Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.094522ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.490520356Z level=info msg="Executing migration" id="copy correlation v1 to v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.490754399Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=241.083µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.494207599Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.495071669Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=863.65µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.498353587Z level=info msg="Executing migration" id="add provisioning column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.509071821Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.719973ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.513244368Z level=info msg="Executing migration" id="add type column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.521179909Z level=info msg="Migration successfully executed" id="add type column" duration=7.928521ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.524440387Z level=info msg="Executing migration" id="create entity_events table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.525050094Z level=info msg="Migration successfully executed" id="create entity_events table" duration=609.397µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.528070878Z level=info msg="Executing migration" id="create dashboard public config v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.528773617Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=702.289µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.532733412Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.533482401Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.537072063Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.537817141Z 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" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.541275831Z level=info msg="Executing migration" id="Drop old dashboard public config table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.542001669Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=725.178µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.546481861Z level=info msg="Executing migration" id="recreate dashboard public config v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.547722134Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.238133ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.551764512Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.553598822Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.83458ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.557102793Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.558224256Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.121313ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.562475055Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.56381657Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.339555ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.567526392Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.569392754Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.866002ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.573098606Z level=info msg="Executing migration" id="Drop public config table" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.573859586Z level=info msg="Migration successfully executed" id="Drop public config table" duration=760.37µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.578457988Z level=info msg="Executing migration" id="Recreate dashboard public config v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.579850675Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.388157ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.583460226Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.585172556Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.71187ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.589790309Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.590865132Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.074213ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.594320101Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.595411833Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.090722ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.601024798Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.623781331Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=22.756313ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.628290472Z level=info msg="Executing migration" id="add annotations_enabled column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.635478815Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.186843ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.63938387Z level=info msg="Executing migration" id="add time_selection_enabled column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.64807879Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.69447ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.651870904Z level=info msg="Executing migration" id="delete orphaned public dashboards" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.652035876Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=164.332µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.656627658Z level=info msg="Executing migration" id="add share column" [35mpolicy-db-migrator |[0m > upgrade 0820-toscatrigger.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0850-FK_ToscaNodeType_requirementsName.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0940-PdpPolicyStatus_PdpGroup.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.668630907Z level=info msg="Migration successfully executed" id="add share column" duration=12.009819ms [35mpolicy-db-migrator |[0m > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.672677653Z 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-15T18:14:15.672806674Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=129.061µ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-15T18:14:15.676326735Z level=info msg="Executing migration" id="create file table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.677319867Z level=info msg="Migration successfully executed" id="create file table" duration=993.842µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.681872288Z level=info msg="Executing migration" id="file table idx: path natural pk" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.682967412Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.094354ms [35mpolicy-db-migrator |[0m > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.686839426Z 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-15T18:14:15.688580097Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.74075ms [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 [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.692620132Z level=info msg="Executing migration" id="create file_meta table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.693436792Z level=info msg="Migration successfully executed" id="create file_meta table" duration=815.92µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.697361477Z level=info msg="Executing migration" id="file table idx: path key" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.698441159Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.079092ms [35mpolicy-db-migrator |[0m > upgrade 0980-FK_ToscaNodeType_requirementsName.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.703467127Z level=info msg="Executing migration" id="set path collation in file table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.703534598Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=67.461µ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-15T18:14:15.707328911Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.707444723Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=116.332µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.711604851Z level=info msg="Executing migration" id="managed permissions migration" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.71243699Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=832.099µs [35mpolicy-db-migrator |[0m > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.716959483Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.717164055Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=204.812µ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-15T18:14:15.720594964Z level=info msg="Executing migration" id="RBAC action name migrator" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.72191259Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.316576ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.725682653Z level=info msg="Executing migration" id="Add UID column to playlist" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.735435755Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.754832ms [35mpolicy-db-migrator |[0m > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.739000887Z level=info msg="Executing migration" id="Update uid column values in playlist" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.739116028Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=115.761µs [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-15T18:14:15.743279885Z level=info msg="Executing migration" id="Add index for uid in playlist" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.744194936Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=914.14µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.748057681Z level=info msg="Executing migration" id="update group index for alert rules" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.748729608Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=672.097µs [35mpolicy-db-migrator |[0m > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.752327709Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.752653384Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=325.915µs [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-15T18:14:15.756219865Z level=info msg="Executing migration" id="admin only folder/dashboard permission" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.75672818Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=508.215µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.761193632Z level=info msg="Executing migration" id="add action column to seed_assignment" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.770937364Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.743002ms [35mpolicy-db-migrator |[0m > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.779991758Z level=info msg="Executing migration" id="add scope column to seed_assignment" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.786303761Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.311763ms [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-15T18:14:15.789096973Z 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-15T18:14:15.789848312Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=750.669µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.793566174Z 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-15T18:14:15.865981298Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=72.412774ms [35mpolicy-db-migrator |[0m > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.86964123Z level=info msg="Executing migration" id="add unique index builtin_role_name back" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.870769043Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.128964ms [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-15T18:14:15.874101751Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.875283325Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.181474ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.879410363Z level=info msg="Executing migration" id="add primary key to seed_assigment" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.904666273Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=25.25601ms [35mpolicy-db-migrator |[0m > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.908189014Z level=info msg="Executing migration" id="add origin column to seed_assignment" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.915966653Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.776569ms [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 [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.919977579Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.920277832Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=297.723µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.92349203Z level=info msg="Executing migration" id="prevent seeding OnCall access" [35mpolicy-db-migrator |[0m > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.923651392Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=157.362µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.926763108Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" [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-15T18:14:15.92696226Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=198.812µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.93140306Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.931739414Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=336.284µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.935217505Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.935517458Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=299.823µs [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.939068139Z level=info msg="Executing migration" id="create folder table" [35mpolicy-db-migrator |[0m > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.940558406Z level=info msg="Migration successfully executed" id="create folder table" duration=1.489937ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.944919436Z level=info msg="Executing migration" id="Add index for parent_uid" [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-15T18:14:15.94604826Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.127784ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.980629077Z 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-15T18:14:15.982344778Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.715961ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.986266152Z level=info msg="Executing migration" id="Update folder title length" [35mpolicy-db-migrator |[0m > upgrade 0100-pdp.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.986294953Z level=info msg="Migration successfully executed" id="Update folder title length" duration=29.651µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.989638901Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" [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-15T18:14:15.990826125Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.186904ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:15.995432697Z 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-15T18:14:15.997101067Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.6702ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.00086668Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" [35mpolicy-db-migrator |[0m > upgrade 0110-idx_tsidx1.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.002596821Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.729121ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.007150976Z level=info msg="Executing migration" id="Sync dashboard and folder table" [35mpolicy-db-migrator |[0m CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.007550301Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=401.495µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.010874136Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.011114848Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=240.952µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.014962018Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" [35mpolicy-db-migrator |[0m > upgrade 0120-pk_pdpstatistics.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.016587125Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.624997ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.020115371Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics DROP PRIMARY KEY [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.021185692Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.069841ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.025351276Z 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-15T18:14:16.026361696Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.01031ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.029541469Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" [35mpolicy-db-migrator |[0m > upgrade 0130-pdpstatistics.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.030625611Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.083542ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.034775103Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" [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-15T18:14:16.035834755Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.055792ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.038948947Z level=info msg="Executing migration" id="create anon_device table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.039835396Z level=info msg="Migration successfully executed" id="create anon_device table" duration=886.249µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.043571194Z level=info msg="Executing migration" id="add unique index anon_device.device_id" [35mpolicy-db-migrator |[0m > upgrade 0140-pk_pdpstatistics.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.044665456Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.094332ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.048788939Z level=info msg="Executing migration" id="add index anon_device.updated_at" [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-15T18:14:16.049849Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.059922ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.055195066Z level=info msg="Executing migration" id="create signing_key table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.056541769Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.346263ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.060305888Z level=info msg="Executing migration" id="add unique index signing_key.key_id" [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.062018996Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.712558ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.066496683Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.067651104Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.154441ms [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0150-pdpstatistics.sql [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.070951088Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.071245881Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=296.863µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.074993541Z level=info msg="Executing migration" id="Add folder_uid for dashboard" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.085718211Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.72568ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.089724583Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" [35mpolicy-db-migrator |[0m > upgrade 0160-jpapdpstatistics_enginestats.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.090202498Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=478.565µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.093417531Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" [35mpolicy-db-migrator |[0m ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.093433602Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=16.051µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.096111909Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.097743097Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.630668ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.101475395Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" [35mpolicy-db-migrator |[0m > upgrade 0170-jpapdpstatistics_enginestats.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.101499875Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=25.88µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.106968432Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" [35mpolicy-db-migrator |[0m UPDATE jpapdpstatistics_enginestats a [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.108122194Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.153482ms [35mpolicy-db-migrator |[0m JOIN pdpstatistics b [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.111707401Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" [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-15T18:14:16.113467709Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.759818ms [35mpolicy-db-migrator |[0m SET a.id = b.id [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.118197338Z level=info msg="Executing migration" id="create sso_setting table" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.12038413Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=2.187312ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.124426582Z level=info msg="Executing migration" id="copy kvstore migration status to each org" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.125237091Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=811.139µs [35mpolicy-db-migrator |[0m > upgrade 0180-jpapdpstatistics_enginestats.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.132206712Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.132801778Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=595.456µs [35mpolicy-db-migrator |[0m ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.137684259Z level=info msg="Executing migration" id="managed dashboard permissions annotation actions migration" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.13880899Z level=info msg="Migration successfully executed" id="managed dashboard permissions annotation actions migration" duration=1.124901ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.144815083Z level=info msg="Executing migration" id="create cloud_migration table v1" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.145656281Z level=info msg="Migration successfully executed" id="create cloud_migration table v1" duration=841.458µs [35mpolicy-db-migrator |[0m > upgrade 0190-jpapolicyaudit.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.148850554Z level=info msg="Executing migration" id="create cloud_migration_run table v1" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.149677792Z level=info msg="Migration successfully executed" id="create cloud_migration_run table v1" duration=827.198µs [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-15T18:14:16.152918495Z level=info msg="Executing migration" id="add stack_id column" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.16206923Z level=info msg="Migration successfully executed" id="add stack_id column" duration=9.150435ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.165274693Z level=info msg="Executing migration" id="add region_slug column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.172127294Z level=info msg="Migration successfully executed" id="add region_slug column" duration=6.851871ms [35mpolicy-db-migrator |[0m > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.176739771Z level=info msg="Executing migration" id="add cluster_slug column" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.185840165Z level=info msg="Migration successfully executed" id="add cluster_slug column" duration=9.100114ms [35mpolicy-db-migrator |[0m CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.189033038Z level=info msg="Executing migration" id="add migration uid column" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.195762878Z level=info msg="Migration successfully executed" id="add migration uid column" duration=6.72946ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.198979501Z level=info msg="Executing migration" id="Update uid column values for migration" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.199138452Z level=info msg="Migration successfully executed" id="Update uid column values for migration" duration=158.901µs [35mpolicy-db-migrator |[0m > upgrade 0210-sequence.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.203357656Z level=info msg="Executing migration" id="Add unique index migration_uid" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.204543028Z level=info msg="Migration successfully executed" id="Add unique index migration_uid" duration=1.184872ms [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-15T18:14:16.207957383Z level=info msg="Executing migration" id="add migration run uid column" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.22024964Z level=info msg="Migration successfully executed" id="add migration run uid column" duration=12.292447ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.223603345Z level=info msg="Executing migration" id="Update uid column values for migration run" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.223795247Z level=info msg="Migration successfully executed" id="Update uid column values for migration run" duration=189.372µs [35mpolicy-db-migrator |[0m > upgrade 0220-sequence.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.227808508Z level=info msg="Executing migration" id="Add unique index migration_run_uid" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.22890902Z level=info msg="Migration successfully executed" id="Add unique index migration_run_uid" duration=1.097602ms [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-15T18:14:16.232004201Z level=info msg="Executing migration" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.25513706Z level=info msg="Migration successfully executed" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" duration=23.133129ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.25813306Z level=info msg="Executing migration" id="create cloud_migration_session v2" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.258834527Z level=info msg="Migration successfully executed" id="create cloud_migration_session v2" duration=701.237µs [35mpolicy-db-migrator |[0m > upgrade 0100-jpatoscapolicy_targets.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.263248143Z level=info msg="Executing migration" id="create index UQE_cloud_migration_session_uid - v2" [35mpolicy-db-migrator |[0m -------------- [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-15T18:14:16.264417865Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_session_uid - v2" duration=1.169142ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.26785642Z level=info msg="Executing migration" id="copy cloud_migration_session v1 to v2" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.268394327Z level=info msg="Migration successfully executed" id="copy cloud_migration_session v1 to v2" duration=537.436µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.273054694Z level=info msg="Executing migration" id="drop cloud_migration_session_tmp_qwerty" [35mpolicy-db-migrator |[0m > upgrade 0110-jpatoscapolicytype_targets.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.274334308Z level=info msg="Migration successfully executed" id="drop cloud_migration_session_tmp_qwerty" duration=1.279274ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.279002415Z level=info msg="Executing migration" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" [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) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.30272746Z level=info msg="Migration successfully executed" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" duration=23.722655ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.306337407Z level=info msg="Executing migration" id="create cloud_migration_snapshot v2" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.307003874Z level=info msg="Migration successfully executed" id="create cloud_migration_snapshot v2" duration=669.337µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.310008875Z level=info msg="Executing migration" id="create index UQE_cloud_migration_snapshot_uid - v2" [35mpolicy-db-migrator |[0m > upgrade 0120-toscatrigger.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.310871414Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_snapshot_uid - v2" duration=862.019µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.322971099Z level=info msg="Executing migration" id="copy cloud_migration_snapshot v1 to v2" [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS toscatrigger [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.323437983Z level=info msg="Migration successfully executed" id="copy cloud_migration_snapshot v1 to v2" duration=472.064µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.328880999Z level=info msg="Executing migration" id="drop cloud_migration_snapshot_tmp_qwerty" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.329792469Z level=info msg="Migration successfully executed" id="drop cloud_migration_snapshot_tmp_qwerty" duration=911.59µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.333445367Z level=info msg="Executing migration" id="add snapshot upload_url column" [35mpolicy-db-migrator |[0m > upgrade 0130-jpatoscapolicytype_triggers.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.345522421Z level=info msg="Migration successfully executed" id="add snapshot upload_url column" duration=12.077014ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.348657463Z level=info msg="Executing migration" id="add snapshot status column" [35mpolicy-db-migrator |[0m ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.356901558Z level=info msg="Migration successfully executed" id="add snapshot status column" duration=8.242945ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.362453756Z level=info msg="Executing migration" id="add snapshot local_directory column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.3715784Z level=info msg="Migration successfully executed" id="add snapshot local_directory column" duration=9.124904ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.375029416Z level=info msg="Executing migration" id="add snapshot gms_snapshot_uid column" [35mpolicy-db-migrator |[0m > upgrade 0140-toscaparameter.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.384096129Z level=info msg="Migration successfully executed" id="add snapshot gms_snapshot_uid column" duration=9.066273ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.387361463Z level=info msg="Executing migration" id="add snapshot encryption_key column" [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS toscaparameter [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.39399644Z level=info msg="Migration successfully executed" id="add snapshot encryption_key column" duration=6.634917ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.399636709Z level=info msg="Executing migration" id="add snapshot error_string column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.408859934Z level=info msg="Migration successfully executed" id="add snapshot error_string column" duration=9.223205ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.412765794Z level=info msg="Executing migration" id="create cloud_migration_resource table v1" [35mpolicy-db-migrator |[0m > upgrade 0150-toscaproperty.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.414330561Z level=info msg="Migration successfully executed" id="create cloud_migration_resource table v1" duration=1.565327ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.418000018Z level=info msg="Executing migration" id="delete cloud_migration_snapshot.result column" [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS jpatoscaproperty_constraints [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.454901529Z level=info msg="Migration successfully executed" id="delete cloud_migration_snapshot.result column" duration=36.903491ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.461431347Z level=info msg="Executing migration" id="add cloud_migration_resource.name column" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.472085645Z level=info msg="Migration successfully executed" id="add cloud_migration_resource.name column" duration=10.649009ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.4773569Z level=info msg="Executing migration" id="add cloud_migration_resource.parent_name column" [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS jpatoscaproperty_metadata [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.485893118Z level=info msg="Migration successfully executed" id="add cloud_migration_resource.parent_name column" duration=8.538128ms [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.490033671Z level=info msg="Executing migration" id="add cloud_migration_session.org_id column" [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.502836752Z level=info msg="Migration successfully executed" id="add cloud_migration_session.org_id column" duration=12.805041ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.505951654Z level=info msg="Executing migration" id="alter kv_store.value to longtext" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.505997475Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=46.251µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.511484891Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS toscaproperty [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.521890149Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=10.404708ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.525306514Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.533479078Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=8.171654ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.537591681Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" [35mpolicy-db-migrator |[0m > upgrade 0160-jpapolicyaudit_pk.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.537955665Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=365.954µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.541452151Z level=info msg="Executing migration" id="managed folder permissions alerting silences actions migration" [35mpolicy-db-migrator |[0m ALTER TABLE jpapolicyaudit DROP PRIMARY KEY [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.541656183Z level=info msg="Migration successfully executed" id="managed folder permissions alerting silences actions migration" duration=201.992µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.546323481Z level=info msg="Executing migration" id="add record column to alert_rule table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.559041982Z level=info msg="Migration successfully executed" id="add record column to alert_rule table" duration=12.718661ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.562769681Z level=info msg="Executing migration" id="add record column to alert_rule_version table" [35mpolicy-db-migrator |[0m ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.571712243Z level=info msg="Migration successfully executed" id="add record column to alert_rule_version table" duration=8.941492ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.575634453Z level=info msg="Executing migration" id="add resolved_at column to alert_instance table" [35mpolicy-db-migrator |[0m > upgrade 0170-pdpstatistics_pk.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.587138771Z level=info msg="Migration successfully executed" id="add resolved_at column to alert_instance table" duration=11.503668ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.591672869Z level=info msg="Executing migration" id="add last_sent_at column to alert_instance table" [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics DROP PRIMARY KEY [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.600913424Z level=info msg="Migration successfully executed" id="add last_sent_at column to alert_instance table" duration=9.240014ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.604690953Z level=info msg="Executing migration" id="Enable traceQL streaming for all Tempo datasources" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.604711623Z level=info msg="Migration successfully executed" id="Enable traceQL streaming for all Tempo datasources" duration=21.59µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.609442771Z level=info msg="Executing migration" id="Add scope to alert.notifications.receivers:read and alert.notifications.receivers.secrets:read" [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.610150849Z level=info msg="Migration successfully executed" id="Add scope to alert.notifications.receivers:read and alert.notifications.receivers.secrets:read" duration=707.778µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.614050859Z level=info msg="Executing migration" id="add metadata column to alert_rule table" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.627204345Z level=info msg="Migration successfully executed" id="add metadata column to alert_rule table" duration=13.154236ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.655331315Z level=info msg="Executing migration" id="add metadata column to alert_rule_version table" [35mpolicy-db-migrator |[0m > upgrade 0180-jpatoscanodetemplate_metadata.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.666203237Z level=info msg="Migration successfully executed" id="add metadata column to alert_rule_version table" duration=10.872622ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.672918166Z level=info msg="Executing migration" id="delete orphaned service account permissions" [35mpolicy-db-migrator |[0m ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.673160338Z level=info msg="Migration successfully executed" id="delete orphaned service account permissions" duration=241.352µs [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.676883336Z level=info msg="Executing migration" id="adding action set permissions" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.677362482Z level=info msg="Migration successfully executed" id="adding action set permissions" duration=479.006µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.682560815Z level=info msg="Executing migration" id="create user_external_session table" [35mpolicy-db-migrator |[0m > upgrade 0100-upgrade.sql [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.683597816Z level=info msg="Migration successfully executed" id="create user_external_session table" duration=1.036841ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.687402975Z level=info msg="migrations completed" performed=609 skipped=0 duration=4.7812505s [35mpolicy-db-migrator |[0m select 'upgrade to 1100 completed' as msg [36mgrafana |[0m logger=migrator t=2024-11-15T18:14:16.688349125Z level=info msg="Unlocking database" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=sqlstore t=2024-11-15T18:14:16.707153138Z level=info msg="Created default admin" user=admin [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=sqlstore t=2024-11-15T18:14:16.70734877Z level=info msg="Created default organization" [35mpolicy-db-migrator |[0m msg [36mgrafana |[0m logger=secrets t=2024-11-15T18:14:16.712204611Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 [35mpolicy-db-migrator |[0m upgrade to 1100 completed [36mgrafana |[0m logger=plugin.angulardetectorsprovider.dynamic t=2024-11-15T18:14:16.760848282Z level=info msg="Restored cache from database" duration=417.864µs [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=plugin.store t=2024-11-15T18:14:16.761764452Z level=info msg="Loading plugins..." [35mpolicy-db-migrator |[0m > upgrade 0100-jpapolicyaudit_renameuser.sql [36mgrafana |[0m logger=plugins.registration t=2024-11-15T18:14:16.790815961Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=plugins.initialization t=2024-11-15T18:14:16.790835561Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered" [35mpolicy-db-migrator |[0m ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME [36mgrafana |[0m logger=local.finder t=2024-11-15T18:14:16.790908332Z 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-15T18:14:16.790920842Z level=info msg="Plugins loaded" count=54 duration=29.15739ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=query_data t=2024-11-15T18:14:16.795455759Z level=info msg="Query Service initialization" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=live.push_http t=2024-11-15T18:14:16.800813854Z level=info msg="Live Push Gateway initialization" [35mpolicy-db-migrator |[0m > upgrade 0110-idx_tsidx1.sql [36mgrafana |[0m logger=ngalert.notifier.alertmanager org=1 t=2024-11-15T18:14:16.807044518Z level=info msg="Applying new configuration to Alertmanager" configHash=d2c56faca6af2a5772ff4253222f7386 [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=ngalert.state.manager t=2024-11-15T18:14:16.816685287Z level=info msg="Running in alternative execution of Error/NoData mode" [35mpolicy-db-migrator |[0m DROP INDEX IDX_TSIDX1 ON pdpstatistics [36mgrafana |[0m logger=infra.usagestats.collector t=2024-11-15T18:14:16.820385096Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=provisioning.datasources t=2024-11-15T18:14:16.822419697Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=provisioning.alerting t=2024-11-15T18:14:16.84214821Z level=info msg="starting to provision alerting" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=provisioning.alerting t=2024-11-15T18:14:16.84216748Z level=info msg="finished to provision alerting" [35mpolicy-db-migrator |[0m CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) [36mgrafana |[0m logger=plugin.backgroundinstaller t=2024-11-15T18:14:16.842328052Z level=info msg="Installing plugin" pluginId=grafana-lokiexplore-app version= [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=grafanaStorageLogger t=2024-11-15T18:14:16.842508374Z level=info msg="Storage starting" [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=http.server t=2024-11-15T18:14:16.84599005Z 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-15T18:14:16.846078221Z level=info msg="Warming state cache for startup" [35mpolicy-db-migrator |[0m > upgrade 0120-audit_sequence.sql [36mgrafana |[0m logger=ngalert.multiorg.alertmanager t=2024-11-15T18:14:16.852738669Z level=info msg="Starting MultiOrg Alertmanager" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=ngalert.state.manager t=2024-11-15T18:14:16.921377567Z level=info msg="State cache has been initialized" states=0 duration=75.295646ms [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)) [36mgrafana |[0m logger=ngalert.scheduler t=2024-11-15T18:14:16.921431138Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=ticker t=2024-11-15T18:14:16.921500428Z level=info msg=starting first_tick=2024-11-15T18:14:20Z [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=provisioning.dashboard t=2024-11-15T18:14:16.940075199Z level=info msg="starting to provision dashboards" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=provisioning.dashboard t=2024-11-15T18:14:17.257880732Z level=info msg="finished to provision dashboards" [35mpolicy-db-migrator |[0m INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) [36mgrafana |[0m logger=plugins.update.checker t=2024-11-15T18:14:17.271095085Z level=info msg="Update check succeeded" duration=427.562331ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=grafana.update.checker t=2024-11-15T18:14:17.272582602Z level=info msg="Update check succeeded" duration=430.014507ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=plugin.angulardetectorsprovider.dynamic t=2024-11-15T18:14:17.336764977Z level=info msg="Patterns update finished" duration=485.24091ms [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=grafana-apiserver t=2024-11-15T18:14:17.54026157Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" [35mpolicy-db-migrator |[0m > upgrade 0130-statistics_sequence.sql [36mgrafana |[0m logger=grafana-apiserver t=2024-11-15T18:14:17.540804206Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=grafana-apiserver t=2024-11-15T18:14:17.542151582Z level=info msg="Adding GroupVersion iam.grafana.app v0alpha1 to ResourceManager" [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 -------------- [36mgrafana |[0m logger=plugin.installer t=2024-11-15T18:14:17.552096008Z level=info msg="Installing plugin" pluginId=grafana-lokiexplore-app version= [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=installer.fs t=2024-11-15T18:14:17.681130376Z 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-15T18:14:17.711300416Z level=info msg="Plugin registered" pluginId=grafana-lokiexplore-app [35mpolicy-db-migrator |[0m INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) [36mgrafana |[0m logger=plugin.backgroundinstaller t=2024-11-15T18:14:17.711322267Z level=info msg="Plugin successfully installed" pluginId=grafana-lokiexplore-app version= duration=868.983494ms [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=infra.usagestats t=2024-11-15T18:15:20.854260079Z level=info msg="Usage stats are ready to report" [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 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:20 [35mpolicy-db-migrator |[0m 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 36 0450-pdpgroup.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 37 0460-pdppolicystatus.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 38 0470-pdp.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 39 0480-pdpstatistics.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 41 0500-pdpsubgroup.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 45 0540-toscacapabilitytype.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:21 [35mpolicy-db-migrator |[0m 48 0570-toscadatatype.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 49 0580-toscadatatypes.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 51 0600-toscanodetemplate.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 52 0610-toscanodetemplates.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 54 0630-toscanodetype.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 55 0640-toscanodetypes.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 57 0660-toscaparameter.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 58 0670-toscapolicies.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 60 0690-toscapolicy.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 61 0700-toscapolicytype.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 62 0710-toscapolicytypes.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 64 0730-toscaproperty.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 65 0740-toscarelationshiptype.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 68 0770-toscarequirement.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 69 0780-toscarequirements.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 71 0800-toscaservicetemplate.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 72 0810-toscatopologytemplate.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 73 0820-toscatrigger.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:22 [35mpolicy-db-migrator |[0m 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:23 [35mpolicy-db-migrator |[0m 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1511241814200800u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 97 0100-pdp.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 98 0110-idx_tsidx1.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 100 0130-pdpstatistics.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 102 0150-pdpstatistics.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 108 0210-sequence.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 109 0220-sequence.sql upgrade 0800 0900 1511241814200900u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1511241814201000u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1511241814201000u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 112 0120-toscatrigger.sql upgrade 0900 1000 1511241814201000u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1511241814201000u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 114 0140-toscaparameter.sql upgrade 0900 1000 1511241814201000u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 115 0150-toscaproperty.sql upgrade 0900 1000 1511241814201000u 1 2024-11-15 18:14:24 [35mpolicy-db-migrator |[0m 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1511241814201000u 1 2024-11-15 18:14:25 [35mpolicy-db-migrator |[0m 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1511241814201000u 1 2024-11-15 18:14:25 [35mpolicy-db-migrator |[0m 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1511241814201000u 1 2024-11-15 18:14:25 [35mpolicy-db-migrator |[0m 119 0100-upgrade.sql upgrade 1000 1100 1511241814201100u 1 2024-11-15 18:14:25 [35mpolicy-db-migrator |[0m 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1511241814201200u 1 2024-11-15 18:14:25 [35mpolicy-db-migrator |[0m 121 0110-idx_tsidx1.sql upgrade 1100 1200 1511241814201200u 1 2024-11-15 18:14:25 [35mpolicy-db-migrator |[0m 122 0120-audit_sequence.sql upgrade 1100 1200 1511241814201200u 1 2024-11-15 18:14:25 [35mpolicy-db-migrator |[0m 123 0130-statistics_sequence.sql upgrade 1100 1200 1511241814201200u 1 2024-11-15 18:14:25 [35mpolicy-db-migrator |[0m 124 0100-pdpstatistics.sql upgrade 1200 1300 1511241814201300u 1 2024-11-15 18:14:25 [35mpolicy-db-migrator |[0m 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1511241814201300u 1 2024-11-15 18:14:25 [35mpolicy-db-migrator |[0m 126 0120-statistics_sequence.sql upgrade 1200 1300 1511241814201300u 1 2024-11-15 18:14:25 [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 prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... 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.L4wDjqLW0I ]] + rsync -av /tmp/tmp.L4wDjqLW0I/ /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,345,660 bytes received 95 bytes 2,691,510.00 bytes/sec total size is 1,345,010 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 2053 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/jenkins15716217750800022815.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17799751219504967136.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/jenkins5105518913550219597.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-zP2b from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-zP2b/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins9186637479774181903.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config10448601262020599041tmp 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/jenkins11637940096193663002.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2481942423017414818.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-zP2b from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-zP2b/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1131240042022758509.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins18024689136239507044.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-zP2b 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-zP2b/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/jenkins7825315029485702746.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-zP2b from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-zP2b/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/370 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-83988 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 863 27217 0 4086 30848 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:cf:59:fb brd ff:ff:ff:ff:ff:ff inet 10.30.107.133/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86080sec preferred_lft 86080sec inet6 fe80::f816:3eff:fecf:59fb/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:59:5a:5f:85 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-83988) 11/15/24 _x86_64_ (8 CPU) 18:11:26 LINUX RESTART (8 CPU) 18:12:02 tps rtps wtps bread/s bwrtn/s 18:13:01 322.61 36.91 285.70 1721.47 20916.73 18:14:01 170.92 23.01 147.91 2760.34 42037.53 18:15:01 342.01 13.23 328.78 816.66 61652.36 18:16:01 32.19 0.28 31.91 9.60 13494.47 Average: 216.49 18.28 198.21 1325.37 34582.20 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30076600 31729568 2862620 8.69 75044 1883284 1376436 4.05 842720 1720224 220448 18:14:01 27931412 31645580 5007808 15.20 114112 3830776 1408560 4.14 1017240 3569408 1293636 18:15:01 26785652 30564692 6153568 18.68 128908 3871752 4230264 12.45 2180780 3516624 88 18:16:01 26951884 30746580 5987336 18.18 129244 3890584 2688716 7.91 2023972 3520788 240 Average: 27936387 31171605 5002833 15.19 111827 3369099 2425994 7.14 1516178 3081761 378603 18:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 lo 1.42 1.42 0.15 0.15 0.00 0.00 0.00 0.00 18:13:01 ens3 116.62 84.41 1096.53 29.61 0.00 0.00 0.00 0.00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 lo 9.27 9.27 0.85 0.85 0.00 0.00 0.00 0.00 18:14:01 ens3 364.59 232.14 10467.53 20.67 0.00 0.00 0.00 0.00 18:14:01 br-8d208f379f31 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 veth1115427 130.64 159.79 114.57 38.95 0.00 0.00 0.00 0.01 18:15:01 vethf08fdfd 0.17 0.47 0.02 0.45 0.00 0.00 0.00 0.00 18:15:01 veth465b1af 124.78 105.38 41.05 113.92 0.00 0.00 0.00 0.01 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 veth465b1af 1.25 1.40 0.83 0.10 0.00 0.00 0.00 0.00 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 lo 32.83 32.83 10.54 10.54 0.00 0.00 0.00 0.00 18:16:01 ens3 774.24 519.36 12415.58 106.57 0.00 0.00 0.00 0.00 Average: veth465b1af 31.64 26.81 10.52 28.62 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 7.27 7.27 2.56 2.56 0.00 0.00 0.00 0.00 Average: ens3 128.89 86.07 2937.28 14.69 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-83988) 11/15/24 _x86_64_ (8 CPU) 18:11:26 LINUX RESTART (8 CPU) 18:12:02 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 9.86 0.00 0.84 2.38 0.04 86.89 18:13:01 0 15.59 0.00 0.97 0.46 0.03 82.95 18:13:01 1 3.11 0.00 0.56 0.32 0.03 95.97 18:13:01 2 7.66 0.00 0.54 5.30 0.03 86.46 18:13:01 3 1.56 0.00 0.31 0.32 0.02 97.80 18:13:01 4 0.34 0.00 0.46 5.97 0.07 93.16 18:13:01 5 4.94 0.00 0.41 1.03 0.02 93.61 18:13:01 6 1.37 0.00 1.12 3.06 0.03 94.42 18:13:01 7 44.32 0.00 2.38 2.55 0.07 50.69 18:14:01 all 11.91 0.00 2.89 2.61 0.05 82.54 18:14:01 0 6.68 0.00 3.24 0.10 0.05 89.93 18:14:01 1 6.73 0.00 2.44 0.25 0.03 90.55 18:14:01 2 19.12 0.00 3.53 2.85 0.07 74.44 18:14:01 3 29.95 0.00 3.00 2.09 0.07 64.88 18:14:01 4 13.71 0.00 3.10 1.02 0.03 82.13 18:14:01 5 3.04 0.00 1.46 5.47 0.03 90.00 18:14:01 6 7.77 0.00 2.99 8.77 0.10 80.37 18:14:01 7 8.34 0.00 3.31 0.37 0.05 87.92 18:15:01 all 16.17 0.00 2.21 3.68 0.06 77.89 18:15:01 0 12.08 0.00 1.57 1.20 0.05 85.09 18:15:01 1 22.43 0.00 3.36 2.05 0.05 72.12 18:15:01 2 20.83 0.00 2.39 0.77 0.05 75.95 18:15:01 3 14.36 0.00 2.18 1.89 0.05 81.53 18:15:01 4 9.13 0.00 1.17 0.73 0.05 88.93 18:15:01 5 16.47 0.00 2.34 1.91 0.07 79.21 18:15:01 6 22.30 0.00 3.03 16.50 0.07 58.10 18:15:01 7 11.86 0.00 1.64 4.47 0.05 81.98 18:16:01 all 0.88 0.00 0.29 0.84 0.03 97.96 18:16:01 0 0.37 0.00 0.38 0.43 0.03 98.78 18:16:01 1 0.53 0.00 0.28 0.37 0.05 98.77 18:16:01 2 0.65 0.00 0.40 0.38 0.02 98.55 18:16:01 3 2.10 0.00 0.33 0.47 0.05 97.04 18:16:01 4 1.08 0.00 0.28 0.03 0.02 98.58 18:16:01 5 1.07 0.00 0.17 0.00 0.02 98.75 18:16:01 6 0.40 0.00 0.18 0.05 0.02 99.35 18:16:01 7 0.87 0.00 0.25 5.00 0.02 93.86 Average: all 9.70 0.00 1.56 2.38 0.04 86.33 Average: 0 8.65 0.00 1.54 0.55 0.04 89.22 Average: 1 8.21 0.00 1.66 0.75 0.04 89.34 Average: 2 12.07 0.00 1.72 2.31 0.04 83.85 Average: 3 11.99 0.00 1.45 1.19 0.05 85.32 Average: 4 6.09 0.00 1.26 1.92 0.04 90.70 Average: 5 6.38 0.00 1.09 2.10 0.03 90.39 Average: 6 7.97 0.00 1.83 7.09 0.05 83.05 Average: 7 16.23 0.00 1.89 3.10 0.05 78.72