Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-77498 (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-Jxor0Uf4Ga1o/agent.2077 SSH_AGENT_PID=2079 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_10410829906221554429.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_10410829906221554429.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/jenkins114434507889739718.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-cElj 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-cElj/bin to PATH Generating Requirements File Python 3.10.6 pip 24.2 from /tmp/venv-cElj/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.42 botocore==1.35.42 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.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.9 dnspython==2.7.0 docker==4.2.2 dogpile.cache==1.3.3 durationpy==0.9 email_validator==2.2.0 filelock==3.16.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.35.0 httplib2==0.22.0 identify==2.6.1 idna==3.10 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2024.10.1 keystoneauth1==5.8.0 kubernetes==31.0.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==3.0.1 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.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.6.0 oslo.context==5.6.0 oslo.i18n==6.4.0 oslo.log==6.1.2 oslo.serialization==5.5.0 oslo.utils==7.3.0 packaging==24.1 pbr==6.1.0 platformdirs==4.3.6 prettytable==3.11.0 pyasn1==0.6.1 pyasn1_modules==0.4.1 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.4.0 PyJWT==2.9.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.6.0 python-dateutil==2.9.0.post0 python-heatclient==4.0.0 python-jenkins==1.8.2 python-keystoneclient==5.5.0 python-magnumclient==4.7.0 python-openstackclient==7.1.3 python-swiftclient==4.6.0 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.20.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.3 simplejson==3.19.3 six==1.16.0 smmap==5.0.1 soupsieve==2.6 stevedore==5.3.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.66.5 typing_extensions==4.12.2 tzdata==2024.2 urllib3==1.26.20 virtualenv==20.26.6 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/jenkins9624570011705584892.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/jenkins1478254564882867968.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.bqLzUuCG7T ++ echo ROBOT_VENV=/tmp/tmp.bqLzUuCG7T +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.bqLzUuCG7T ++ source /tmp/tmp.bqLzUuCG7T/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.bqLzUuCG7T +++ 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.bqLzUuCG7T/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.bqLzUuCG7T) ' '!=' x ']' +++ PS1='(tmp.bqLzUuCG7T) ' +++ 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.8 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.bqLzUuCG7T/src/onap ++ rm -rf /tmp/tmp.bqLzUuCG7T/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.8 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.bqLzUuCG7T/bin/activate + '[' -z /tmp/tmp.bqLzUuCG7T/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.bqLzUuCG7T/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.bqLzUuCG7T ++ 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.bqLzUuCG7T/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.bqLzUuCG7T) ' ++ '[' 'x(tmp.bqLzUuCG7T) ' '!=' x ']' ++ PS1='(tmp.bqLzUuCG7T) (tmp.bqLzUuCG7T) ' ++ 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.mfiW5w0h4P + cd /tmp/tmp.mfiW5w0h4P + 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:f6639335d34a77d9d9db382b92eeb7fc00934be8eae81dbc03b31cfe90411a94 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:408afb9726de5122b00a2576763a8a57a3c86d5b0eff5305bc994ceb3eb96c3f Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... 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 grafana Up 10 seconds policy-api Up 12 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 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:47 up 3 min, 0 users, load average: 1.89, 0.85, 0.34 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.5 us, 2.1 sy, 0.0 ni, 83.0 id, 4.3 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS fff12e83a25b grafana 0.03% 58.26MiB / 31.41GiB 0.18% 24kB / 4.28kB 0B / 26.6MB 20 98608573a2ce policy-api 0.11% 570.6MiB / 31.41GiB 1.77% 999kB / 710kB 0B / 0B 55 52e2aabdfc94 mariadb 0.01% 101.2MiB / 31.41GiB 0.31% 985kB / 1.18MB 11MB / 54MB 28 7335add3f5e0 prometheus 0.00% 19.21MiB / 31.41GiB 0.06% 920B / 158B 201kB / 0B 13 + echo + cd /tmp/tmp.mfiW5w0h4P + echo 'Reading the testplan:' Reading the testplan: + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.mfiW5w0h4P/output.xml Log: /tmp/tmp.mfiW5w0h4P/log.html Report: /tmp/tmp.mfiW5w0h4P/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 grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:15:58 up 4 min, 0 users, load average: 0.93, 0.82, 0.36 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.9 us, 1.7 sy, 0.0 ni, 85.6 id, 3.8 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.7G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS fff12e83a25b grafana 0.04% 59.03MiB / 31.41GiB 0.18% 24.8kB / 4.93kB 0B / 26.6MB 20 98608573a2ce policy-api 0.23% 739.6MiB / 31.41GiB 2.30% 7.01MB / 2.55MB 0B / 0B 54 52e2aabdfc94 mariadb 0.02% 102.2MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 54.3MB 18 7335add3f5e0 prometheus 0.00% 24.91MiB / 31.41GiB 0.08% 55kB / 6.57kB 201kB / 0B 13 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus [33mmariadb |[0m 2024-10-17 18:14:22+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. [33mmariadb |[0m 2024-10-17 18:14:23+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' [33mmariadb |[0m 2024-10-17 18:14:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. [33mmariadb |[0m 2024-10-17 18:14:23+00:00 [Note] [Entrypoint]: Initializing database files [33mmariadb |[0m 2024-10-17 18:14:23 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) [33mmariadb |[0m 2024-10-17 18:14:23 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF [33mmariadb |[0m 2024-10-17 18:14:23 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. [33mmariadb |[0m [33mmariadb |[0m [33mmariadb |[0m PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! [33mmariadb |[0m To do so, start the server, then issue the following command: [33mmariadb |[0m [33mmariadb |[0m '/usr/bin/mysql_secure_installation' [33mmariadb |[0m [33mmariadb |[0m which will also give you the option of removing the test [33mmariadb |[0m databases and anonymous user created by default. This is [33mmariadb |[0m strongly recommended for production servers. [33mmariadb |[0m [33mmariadb |[0m See the MariaDB Knowledgebase at https://mariadb.com/kb [33mmariadb |[0m [33mmariadb |[0m Please report any problems at https://mariadb.org/jira [33mmariadb |[0m [33mmariadb |[0m The latest information about MariaDB is available at https://mariadb.org/. [33mmariadb |[0m [33mmariadb |[0m Consider joining MariaDB's strong and vibrant community: [33mmariadb |[0m https://mariadb.org/get-involved/ [33mmariadb |[0m [33mmariadb |[0m 2024-10-17 18:14:24+00:00 [Note] [Entrypoint]: Database files initialized [33mmariadb |[0m 2024-10-17 18:14:24+00:00 [Note] [Entrypoint]: Starting temporary server [33mmariadb |[0m 2024-10-17 18:14:24+00:00 [Note] [Entrypoint]: Waiting for server startup [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] InnoDB: Number of transaction pools: 1 [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) [33mmariadb |[0m 2024-10-17 18:14:24 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) [33mmariadb |[0m 2024-10-17 18:14:24 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] InnoDB: Completed initialization of buffer pool [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] InnoDB: 128 rollback segments are active. [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] InnoDB: log sequence number 45452; transaction id 14 [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] Plugin 'FEEDBACK' is disabled. [33mmariadb |[0m 2024-10-17 18:14:24 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. [33mmariadb |[0m 2024-10-17 18:14:24 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. [33mmariadb |[0m 2024-10-17 18:14:24 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. [33mmariadb |[0m 2024-10-17 18:14:24 0 [Note] mariadbd: ready for connections. [33mmariadb |[0m Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution [33mmariadb |[0m 2024-10-17 18:14:25+00:00 [Note] [Entrypoint]: Temporary server started. [33mmariadb |[0m 2024-10-17 18:14:27+00:00 [Note] [Entrypoint]: Creating user policy_user [33mmariadb |[0m 2024-10-17 18:14:27+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) [33mmariadb |[0m [33mmariadb |[0m 2024-10-17 18:14:27+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf [32mpolicy-api |[0m Waiting for mariadb port 3306... [32mpolicy-api |[0m mariadb (172.17.0.2:3306) open [32mpolicy-api |[0m Waiting for policy-db-migrator port 6824... [32mpolicy-api |[0m policy-db-migrator (172.17.0.4:6824) open [32mpolicy-api |[0m Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml [32mpolicy-api |[0m [32mpolicy-api |[0m . ____ _ __ _ _ [32mpolicy-api |[0m /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ [32mpolicy-api |[0m ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ [32mpolicy-api |[0m \\/ ___)| |_)| | | | | || (_| | ) ) ) ) [32mpolicy-api |[0m ' |____| .__|_| |_|_| |_\__, | / / / / [32mpolicy-api |[0m =========|_|==============|___/=/_/_/_/ [32mpolicy-api |[0m :: Spring Boot :: (v3.1.4) [32mpolicy-api |[0m [32mpolicy-api |[0m [2024-10-17T18:14:37.028+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) [32mpolicy-api |[0m [2024-10-17T18:14:37.029+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" [32mpolicy-api |[0m [2024-10-17T18:14:38.679+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. [32mpolicy-api |[0m [2024-10-17T18:14:38.765+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. [32mpolicy-api |[0m [2024-10-17T18:14:39.161+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler [32mpolicy-api |[0m [2024-10-17T18:14:39.162+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler [32mpolicy-api |[0m [2024-10-17T18:14:39.810+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) [32mpolicy-api |[0m [2024-10-17T18:14:39.819+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] [32mpolicy-api |[0m [2024-10-17T18:14:39.821+00:00|INFO|StandardService|main] Starting service [Tomcat] [32mpolicy-api |[0m [2024-10-17T18:14:39.821+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] [32mpolicy-api |[0m [2024-10-17T18:14:39.905+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext [32mpolicy-api |[0m [2024-10-17T18:14:39.905+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2808 ms [32mpolicy-api |[0m [2024-10-17T18:14:40.297+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] [32mpolicy-api |[0m [2024-10-17T18:14:40.369+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 [32mpolicy-api |[0m [2024-10-17T18:14:40.372+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer [32mpolicy-api |[0m [2024-10-17T18:14:40.415+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled [32mpolicy-api |[0m [2024-10-17T18:14:40.754+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer [32mpolicy-api |[0m [2024-10-17T18:14:40.772+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... [32mpolicy-api |[0m [2024-10-17T18:14:40.867+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 [32mpolicy-api |[0m [2024-10-17T18:14:40.869+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. [32mpolicy-api |[0m [2024-10-17T18:14:40.898+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) [32mpolicy-api |[0m [2024-10-17T18:14:40.899+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead [32mpolicy-api |[0m [2024-10-17T18:14:42.705+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) [32mpolicy-api |[0m [2024-10-17T18:14:42.708+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' [32mpolicy-api |[0m [2024-10-17T18:14:43.976+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml [32mpolicy-api |[0m [2024-10-17T18:14:44.728+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] [32mpolicy-api |[0m [2024-10-17T18:14:45.724+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning [32mpolicy-api |[0m [2024-10-17T18:14:45.942+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@58a01e47, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6149184e, org.springframework.security.web.context.SecurityContextHolderFilter@234a08ea, org.springframework.security.web.header.HeaderWriterFilter@2e26841f, org.springframework.security.web.authentication.logout.LogoutFilter@c7a7d3, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@3413effc, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@56d3e4a9, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2542d320, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6f3a8d5e, org.springframework.security.web.access.ExceptionTranslationFilter@19bd1f98, org.springframework.security.web.access.intercept.AuthorizationFilter@729f8c5d] [32mpolicy-api |[0m [2024-10-17T18:14:46.761+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' [32mpolicy-api |[0m [2024-10-17T18:14:46.816+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] [32mpolicy-api |[0m [2024-10-17T18:14:46.835+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' [32mpolicy-api |[0m [2024-10-17T18:14:46.855+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.553 seconds (process running for 11.141) [32mpolicy-api |[0m [2024-10-17T18:14:50.515+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' [32mpolicy-api |[0m [2024-10-17T18:14:50.515+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' [32mpolicy-api |[0m [2024-10-17T18:14:50.517+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms [32mpolicy-api |[0m [2024-10-17T18:14:53.427+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: [32mpolicy-api |[0m [] [32mpolicy-api |[0m [2024-10-17T18:14:53.547+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes [32mpolicy-api |[0m [2024-10-17T18:14:53.807+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes [32mpolicy-api |[0m [2024-10-17T18:14:54.946+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policies [32mpolicy-api |[0m [2024-10-17T18:14:56.844+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 [32mpolicy-api |[0m [2024-10-17T18:14:57.153+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 [32mpolicy-api |[0m [2024-10-17T18:14:57.384+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 [32mpolicy-api |[0m [2024-10-17T18:14:57.615+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 [32mpolicy-api |[0m [2024-10-17T18:14:57.844+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 [32mpolicy-api |[0m [2024-10-17T18:14:58.064+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 [33mmariadb |[0m [33mmariadb |[0m 2024-10-17 18:14:27+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh [33mmariadb |[0m #!/bin/bash -xv [33mmariadb |[0m # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved [33mmariadb |[0m # Modifications Copyright (c) 2022 Nordix Foundation. [33mmariadb |[0m # [33mmariadb |[0m # Licensed under the Apache License, Version 2.0 (the "License"); [33mmariadb |[0m # you may not use this file except in compliance with the License. [33mmariadb |[0m # You may obtain a copy of the License at [33mmariadb |[0m # [33mmariadb |[0m # http://www.apache.org/licenses/LICENSE-2.0 [33mmariadb |[0m # [33mmariadb |[0m # Unless required by applicable law or agreed to in writing, software [33mmariadb |[0m # distributed under the License is distributed on an "AS IS" BASIS, [33mmariadb |[0m # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. [33mmariadb |[0m # See the License for the specific language governing permissions and [33mmariadb |[0m # limitations under the License. [33mmariadb |[0m [33mmariadb |[0m for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m do [33mmariadb |[0m mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" [33mmariadb |[0m mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" [33mmariadb |[0m done [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' [33mmariadb |[0m + for db in migration pooling policyadmin operationshistory clampacm policyclamp [33mmariadb |[0m + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' [33mmariadb |[0m + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' [33mmariadb |[0m [33mmariadb |[0m mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" [33mmariadb |[0m + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' [33mmariadb |[0m mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql [33mmariadb |[0m + mysql -upolicy_user -ppolicy_user -f policyclamp [33mmariadb |[0m [33mmariadb |[0m 2024-10-17 18:14:28+00:00 [Note] [Entrypoint]: Stopping temporary server [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] mariadbd (initiated by: unknown): Normal shutdown [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: FTS optimize thread exiting. [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Starting shutdown... [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Buffer pool(s) dump completed at 241017 18:14:28 [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Shutdown completed; log sequence number 332040; transaction id 298 [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] mariadbd: Shutdown complete [33mmariadb |[0m [33mmariadb |[0m 2024-10-17 18:14:28+00:00 [Note] [Entrypoint]: Temporary server stopped [33mmariadb |[0m [33mmariadb |[0m 2024-10-17 18:14:28+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. [33mmariadb |[0m [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Number of transaction pools: 1 [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) [33mmariadb |[0m 2024-10-17 18:14:28 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) [33mmariadb |[0m 2024-10-17 18:14:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Completed initialization of buffer pool [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: 128 rollback segments are active. [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: log sequence number 332040; transaction id 299 [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] Plugin 'FEEDBACK' is disabled. [33mmariadb |[0m 2024-10-17 18:14:28 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. [33mmariadb |[0m 2024-10-17 18:14:28 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] Server socket created on IP: '0.0.0.0'. [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] Server socket created on IP: '::'. [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] mariadbd: ready for connections. [33mmariadb |[0m Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution [33mmariadb |[0m 2024-10-17 18:14:28 0 [Note] InnoDB: Buffer pool(s) load completed at 241017 18:14:28 [33mmariadb |[0m 2024-10-17 18:14:28 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) [33mmariadb |[0m 2024-10-17 18:14:29 51 [Warning] Aborted connection 51 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.212650681Z level=info msg="Starting Grafana" version=11.2.0 commit=2a88694fd3ced0335bf3726cc5d0adc2d1858855 branch=v11.2.x compiled=2024-10-17T18:14:27Z [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213487729Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213513529Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213523739Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.21353823Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213699471Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213713731Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213722331Z level=info msg="Config overridden from command line" arg="default.log.mode=console" [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213730012Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213738442Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213746232Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213759442Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213811442Z level=info msg=Target target=[all] [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213845163Z level=info msg="Path Home" path=/usr/share/grafana [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213854173Z level=info msg="Path Data" path=/var/lib/grafana [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213871333Z level=info msg="Path Logs" path=/var/log/grafana [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.213879563Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.214006624Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning [36mgrafana |[0m logger=settings t=2024-10-17T18:14:27.214040395Z level=info msg="App mode production" [36mgrafana |[0m logger=featuremgmt t=2024-10-17T18:14:27.215076936Z level=info msg=FeatureToggles awsAsyncQueryCaching=true transformationsVariableSupport=true logsExploreTableVisualisation=true kubernetesPlaylists=true formatString=true alertingInsights=true logRowsPopoverMenu=true cloudWatchRoundUpEndTime=true nestedFolders=true cloudWatchNewLabelParsing=true recoveryThreshold=true dataplaneFrontendFallback=true annotationPermissionUpdate=true prometheusAzureOverrideAudience=true topnav=true cloudWatchCrossAccountQuerying=true transformationsRedesign=true angularDeprecationUI=true alertingNoDataErrorExecution=true ssoSettingsApi=true publicDashboards=true recordedQueriesMulti=true tlsMemcached=true addFieldFromCalculationStatFunctions=true alertingSimplifiedRouting=true logsContextDatasourceUi=true managedPluginsInstall=true lokiMetricDataplane=true correlations=true groupToNestedTableTransformation=true prometheusMetricEncyclopedia=true prometheusDataplane=true logsInfiniteScrolling=true panelMonitoring=true lokiQueryHints=true lokiStructuredMetadata=true influxdbBackendMigration=true dashgpt=true exploreMetrics=true autoMigrateXYChartPanel=true lokiQuerySplitting=true prometheusConfigOverhaulAuth=true [36mgrafana |[0m logger=sqlstore t=2024-10-17T18:14:27.215202677Z level=info msg="Connecting to DB" dbtype=sqlite3 [36mgrafana |[0m logger=sqlstore t=2024-10-17T18:14:27.215342499Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.219000157Z level=info msg="Locking database" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.219022477Z level=info msg="Starting DB migrations" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.220508322Z level=info msg="Executing migration" id="create migration_log table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.221386702Z level=info msg="Migration successfully executed" id="create migration_log table" duration=878.11µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.233696961Z level=info msg="Executing migration" id="create user table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.235051756Z level=info msg="Migration successfully executed" id="create user table" duration=1.354595ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.240208999Z level=info msg="Executing migration" id="add unique index user.login" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.241057808Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=848.719µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.245605405Z level=info msg="Executing migration" id="add unique index user.email" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.246441375Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=835.16µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.249039692Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.249723159Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=681.887µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.254910254Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" [34mprometheus |[0m ts=2024-10-17T18:14:26.087Z caller=main.go:601 level=info msg="No time or size retention was set so using the default time retention" duration=15d [34mprometheus |[0m ts=2024-10-17T18:14:26.087Z caller=main.go:645 level=info msg="Starting Prometheus Server" mode=server version="(version=2.54.1, branch=HEAD, revision=e6cfa720fbe6280153fab13090a483dbd40bece3)" [34mprometheus |[0m ts=2024-10-17T18:14:26.087Z caller=main.go:650 level=info build_context="(go=go1.22.6, platform=linux/amd64, user=root@812ffd741951, date=20240827-10:56:41, tags=netgo,builtinassets,stringlabels)" [34mprometheus |[0m ts=2024-10-17T18:14:26.087Z caller=main.go:651 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" [34mprometheus |[0m ts=2024-10-17T18:14:26.087Z caller=main.go:652 level=info fd_limits="(soft=1048576, hard=1048576)" [34mprometheus |[0m ts=2024-10-17T18:14:26.088Z caller=main.go:653 level=info vm_limits="(soft=unlimited, hard=unlimited)" [34mprometheus |[0m ts=2024-10-17T18:14:26.090Z caller=web.go:571 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 [34mprometheus |[0m ts=2024-10-17T18:14:26.091Z caller=main.go:1160 level=info msg="Starting TSDB ..." [34mprometheus |[0m ts=2024-10-17T18:14:26.093Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 [34mprometheus |[0m ts=2024-10-17T18:14:26.093Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 [34mprometheus |[0m ts=2024-10-17T18:14:26.099Z caller=head.go:626 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" [34mprometheus |[0m ts=2024-10-17T18:14:26.099Z caller=head.go:713 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.371µs [34mprometheus |[0m ts=2024-10-17T18:14:26.100Z caller=head.go:721 level=info component=tsdb msg="Replaying WAL, this may take a while" [34mprometheus |[0m ts=2024-10-17T18:14:26.100Z caller=head.go:793 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 [34mprometheus |[0m ts=2024-10-17T18:14:26.100Z caller=head.go:830 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=67.321µs wal_replay_duration=438.796µs wbl_replay_duration=230ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=2.371µs total_replay_duration=685.64µs [34mprometheus |[0m ts=2024-10-17T18:14:26.103Z caller=main.go:1181 level=info fs_type=EXT4_SUPER_MAGIC [34mprometheus |[0m ts=2024-10-17T18:14:26.103Z caller=main.go:1184 level=info msg="TSDB started" [34mprometheus |[0m ts=2024-10-17T18:14:26.103Z caller=main.go:1367 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml [34mprometheus |[0m ts=2024-10-17T18:14:26.104Z caller=main.go:1404 level=info msg="updated GOGC" old=100 new=75 [34mprometheus |[0m ts=2024-10-17T18:14:26.104Z caller=main.go:1415 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.068683ms db_storage=1.41µs remote_storage=1.57µs web_handler=750ns query_engine=3.82µs scrape=215.263µs scrape_sd=152.572µs notify=27.4µs notify_sd=10.2µs rules=1.85µs tracing=5.59µs [34mprometheus |[0m ts=2024-10-17T18:14:26.104Z caller=main.go:1145 level=info msg="Server is ready to receive web requests." [34mprometheus |[0m ts=2024-10-17T18:14:26.104Z caller=manager.go:164 level=info component="rule manager" msg="Starting rule manager..." [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.25552312Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=612.516µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.257480851Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.259733834Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.250653ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.262333141Z level=info msg="Executing migration" id="create user table v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.26315602Z level=info msg="Migration successfully executed" id="create user table v2" duration=823.289µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.268455976Z level=info msg="Executing migration" id="create index UQE_user_login - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.269141073Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=684.687µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.272401437Z level=info msg="Executing migration" id="create index UQE_user_email - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.273090044Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=687.547µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.275715222Z level=info msg="Executing migration" id="copy data_source v1 to v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.276083445Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=368.233µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.279623263Z level=info msg="Executing migration" id="Drop old table user_v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.280103938Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=480.635µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.284342222Z level=info msg="Executing migration" id="Add column help_flags1 to user table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.285372803Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.029051ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.288190923Z level=info msg="Executing migration" id="Update user table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.288286664Z level=info msg="Migration successfully executed" id="Update user table charset" duration=96.901µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.291604369Z level=info msg="Executing migration" id="Add last_seen_at column to user" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.29268239Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.07718ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.297222408Z level=info msg="Executing migration" id="Add missing user data" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.297777973Z level=info msg="Migration successfully executed" id="Add missing user data" duration=555.236µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.301037267Z level=info msg="Executing migration" id="Add is_disabled column to user" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.302144939Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.107342ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.304800877Z level=info msg="Executing migration" id="Add index user.login/user.email" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.305542065Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=739.918µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.308085482Z level=info msg="Executing migration" id="Add is_service_account column to user" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.309355894Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.269422ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.314366927Z level=info msg="Executing migration" id="Update is_service_account column to nullable" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.321601844Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.235747ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.323981168Z level=info msg="Executing migration" id="Add uid column to user" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.324827937Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=848.489µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.327019459Z level=info msg="Executing migration" id="Update uid column values for users" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.327220842Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=201.373µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.329622607Z level=info msg="Executing migration" id="Add unique index user_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.330137303Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=514.336µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.334786271Z 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-10-17T18:14:27.335109424Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=323.703µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.337939764Z level=info msg="Executing migration" id="update login and email fields to lowercase" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.338332219Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase" duration=394.305µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.341232499Z level=info msg="Executing migration" id="update login and email fields to lowercase2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.341594053Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase2" duration=360.814µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.347389434Z level=info msg="Executing migration" id="create temp user table v1-7" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.348205682Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=816.538µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.350779629Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.351452086Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=672.277µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.354182495Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.355000343Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=817.128µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.357954475Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.358787173Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=833.498µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.363199719Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.363921837Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=721.658µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.366500084Z level=info msg="Executing migration" id="Update temp_user table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.366534635Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=35.301µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.369272074Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.370077352Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=804.498µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.374397307Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.375171105Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=774.639µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.377960245Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.378739823Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=777.687µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.381568522Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.38232145Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=753.048µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.386603645Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.389621497Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.017582ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.393043412Z level=info msg="Executing migration" id="create temp_user v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.39388224Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=838.708µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.396351486Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.397199016Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=846.82µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.401974915Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.402708814Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=734.509µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.4053022Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.406067229Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=765.099µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.408917779Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.409659516Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=741.017µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.414865511Z level=info msg="Executing migration" id="copy temp_user v1 to v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.415266325Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=400.784µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.421802903Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.422285588Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=480.705µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.4272354Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.427933898Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=704.688µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.433700178Z level=info msg="Executing migration" id="create star table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.434702099Z level=info msg="Migration successfully executed" id="create star table" duration=1.001451ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.440623071Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.441804463Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.180822ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.448556934Z level=info msg="Executing migration" id="create org table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.449304282Z level=info msg="Migration successfully executed" id="create org table v1" duration=747.318µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.454067682Z level=info msg="Executing migration" id="create index UQE_org_name - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.455169493Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.098461ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.46064563Z level=info msg="Executing migration" id="create org_user table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.461731502Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.086132ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.470937358Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.47204888Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.111002ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.477876371Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.479099154Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.222363ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.523928453Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.525509729Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.581466ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.529105028Z level=info msg="Executing migration" id="Update org table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.529147158Z level=info msg="Migration successfully executed" id="Update org table charset" duration=43.12µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.536266372Z level=info msg="Executing migration" id="Update org_user table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.536294473Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=27.041µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.543040744Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.543321167Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=280.843µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.550147308Z level=info msg="Executing migration" id="create dashboard table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.55127372Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.126182ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.5561186Z level=info msg="Executing migration" id="add index dashboard.account_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.557337384Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.219264ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.563446927Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.564415627Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=967.87µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.567923604Z level=info msg="Executing migration" id="create dashboard_tag table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.568934555Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.010421ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.575009028Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.576551495Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.540827ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.584826382Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.585532799Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=706.447µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.589987695Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.597555955Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.5666ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.605468488Z level=info msg="Executing migration" id="create dashboard v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.606001323Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=533.885µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.610846854Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.611970615Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.125991ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.621076711Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.622472216Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.395395ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.629741552Z level=info msg="Executing migration" id="copy dashboard v1 to v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.630327388Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=586.866µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.635093507Z level=info msg="Executing migration" id="drop table dashboard_v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.63626418Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.168133ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.644162493Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.644224884Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=63.041µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.649318657Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.652013145Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.694368ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.660755277Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.662562316Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.808039ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.672305088Z level=info msg="Executing migration" id="Add column gnetId in dashboard" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.674815034Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.505406ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.680600805Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.681643665Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.04359ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.686458336Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.688478518Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.017322ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.697086618Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.69824446Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.155532ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.704846178Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.705866689Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.021151ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.711299566Z level=info msg="Executing migration" id="Update dashboard table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.711326797Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=29.481µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.718479371Z level=info msg="Executing migration" id="Update dashboard_tag table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.718534752Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=54.131µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.729712209Z level=info msg="Executing migration" id="Add column folder_id in dashboard" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.733008253Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.296644ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.739255759Z level=info msg="Executing migration" id="Add column isFolder in dashboard" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.74217579Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.918971ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.745826858Z level=info msg="Executing migration" id="Add column has_acl in dashboard" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.74791397Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.085772ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.755988525Z level=info msg="Executing migration" id="Add column uid in dashboard" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.758136227Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.147052ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.765669746Z level=info msg="Executing migration" id="Update uid column values in dashboard" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.76602934Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=358.834µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.771215144Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.772044402Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=831.078µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.77560063Z level=info msg="Executing migration" id="Remove unique index org_id_slug" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.776392108Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=789.198µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.781482072Z level=info msg="Executing migration" id="Update dashboard title length" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.781501922Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=20.84µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.790505156Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.791234964Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=729.737µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.798404709Z level=info msg="Executing migration" id="create dashboard_provisioning" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.799673602Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.265593ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.807370543Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.816539288Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.137525ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.820628732Z level=info msg="Executing migration" id="create dashboard_provisioning v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.82143695Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=782.548µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.825080508Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.826230331Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.149783ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.829872639Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.831098181Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.225082ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.836407787Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.8367502Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=340.283µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.844462191Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.845338621Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=875.88µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.848840457Z level=info msg="Executing migration" id="Add check_sum column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.852528906Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.687689ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.858047014Z level=info msg="Executing migration" id="Add index for dashboard_title" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.858834162Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=786.367µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.901359178Z level=info msg="Executing migration" id="delete tags for deleted dashboards" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.902071565Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=711.547µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.908345451Z level=info msg="Executing migration" id="delete stars for deleted dashboards" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.908698474Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=351.873µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.9121157Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.91307304Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=955.02µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.920617629Z level=info msg="Executing migration" id="Add isPublic for dashboard" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.92454683Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.932081ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.934822928Z level=info msg="Executing migration" id="Add deleted for dashboard" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.937265543Z level=info msg="Migration successfully executed" id="Add deleted for dashboard" duration=2.446266ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.941463738Z level=info msg="Executing migration" id="Add index for deleted" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.942306446Z level=info msg="Migration successfully executed" id="Add index for deleted" duration=842.888µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.945102035Z level=info msg="Executing migration" id="create data_source table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.946090035Z level=info msg="Migration successfully executed" id="create data_source table" duration=987.44µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.952072099Z level=info msg="Executing migration" id="add index data_source.account_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.953648135Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.574666ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.960543878Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.962001192Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.454704ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.966081786Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.967319138Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.236882ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.972079649Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.972882857Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=802.888µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.981172053Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.988896544Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.725741ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.994533744Z level=info msg="Executing migration" id="create data_source table v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.995495913Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=962.179µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:27.999305143Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.000257084Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=952.331µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.006453132Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.007891673Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.438591ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.01770848Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.018758823Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=1.048073ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.023151302Z level=info msg="Executing migration" id="Add column with_credentials" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.027089063Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.935461ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.039401786Z level=info msg="Executing migration" id="Add secure json data column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.043238727Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.836061ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.049060584Z level=info msg="Executing migration" id="Update data_source table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.049224166Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=162.162µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.053987459Z level=info msg="Executing migration" id="Update initial version to 1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.054566297Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=579.398µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.058782873Z level=info msg="Executing migration" id="Add read_only data column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.062677044Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.893362ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.066742218Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.067187164Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=444.486µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.072020047Z level=info msg="Executing migration" id="Update json_data with nulls" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.072495454Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=474.777µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.080916685Z level=info msg="Executing migration" id="Add uid column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.084948718Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.028913ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.088973811Z level=info msg="Executing migration" id="Update uid value" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.089355747Z level=info msg="Migration successfully executed" id="Update uid value" duration=383.016µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.094791149Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.09566483Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=876.961µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.104116322Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.10556853Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.453148ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.113245742Z level=info msg="Executing migration" id="Add is_prunable column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.117342527Z level=info msg="Migration successfully executed" id="Add is_prunable column" duration=4.097975ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.122691897Z level=info msg="Executing migration" id="Add api_version column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.12519306Z level=info msg="Migration successfully executed" id="Add api_version column" duration=2.497842ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.129549878Z level=info msg="Executing migration" id="create api_key table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.130389548Z level=info msg="Migration successfully executed" id="create api_key table" duration=838.48µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.137143528Z level=info msg="Executing migration" id="add index api_key.account_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.138461555Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.318317ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.142835954Z level=info msg="Executing migration" id="add index api_key.key" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.144257362Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.421108ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.149178937Z level=info msg="Executing migration" id="add index api_key.account_id_name" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.150854079Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.674822ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.154972823Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.155765704Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=791.741µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.159611145Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.160389585Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=778.73µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.165110078Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.166112521Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.002463ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.172144931Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.181107138Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.961027ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.18796772Z level=info msg="Executing migration" id="create api_key table v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.18877606Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=807.9µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.193885468Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.195378317Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.491309ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.199047536Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.200340053Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.292477ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.203625166Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.204523379Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=898.043µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.207699091Z level=info msg="Executing migration" id="copy api_key v1 to v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.208108466Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=409.485µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.211015044Z level=info msg="Executing migration" id="Drop old table api_key_v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.211617012Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=602.038µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.213917452Z level=info msg="Executing migration" id="Update api_key table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.213998513Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=81.711µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.216972143Z level=info msg="Executing migration" id="Add expires to api_key table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.219510976Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.539223ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.222524566Z level=info msg="Executing migration" id="Add service account foreign key" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.22509695Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.572294ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.228148811Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.228410294Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=261.093µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.231294082Z level=info msg="Executing migration" id="Add last_used_at to api_key table" [35mpolicy-db-migrator |[0m Waiting for mariadb port 3306... [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused [35mpolicy-db-migrator |[0m nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused [35mpolicy-db-migrator |[0m Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! [35mpolicy-db-migrator |[0m 321 blocks [35mpolicy-db-migrator |[0m Preparing upgrade release version: 0800 [35mpolicy-db-migrator |[0m Preparing upgrade release version: 0900 [35mpolicy-db-migrator |[0m Preparing upgrade release version: 1000 [35mpolicy-db-migrator |[0m Preparing upgrade release version: 1100 [35mpolicy-db-migrator |[0m Preparing upgrade release version: 1200 [35mpolicy-db-migrator |[0m Preparing upgrade release version: 1300 [35mpolicy-db-migrator |[0m Done [35mpolicy-db-migrator |[0m name version [35mpolicy-db-migrator |[0m policyadmin 0 [35mpolicy-db-migrator |[0m policyadmin: upgrade available: 0 -> 1300 [35mpolicy-db-migrator |[0m upgrade: 0 -> 1300 [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0100-jpapdpgroup_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0110-jpapdpstatistics_enginestats.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0120-jpapdpsubgroup_policies.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0130-jpapdpsubgroup_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.233913657Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.617775ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.236883196Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.23944792Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.563174ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.24246262Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.243262711Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=799.841µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.246293021Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.246848108Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=554.797µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.280632635Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.282197695Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.56564ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.286830616Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.288269905Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.441009ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.291709531Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.292617732Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=907.861µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.295766294Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.296743428Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=977.484µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.300082152Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.300246714Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=164.232µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.303209763Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.303362955Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=153.692µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.305833928Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.310177515Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.346036ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.313497899Z level=info msg="Executing migration" id="Add encrypted dashboard json column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.316263566Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.765447ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.319003442Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.319170744Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=166.712µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.321352042Z level=info msg="Executing migration" id="create quota table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.322178314Z level=info msg="Migration successfully executed" id="create quota table v1" duration=826.592µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.325155233Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.326096605Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=941.392µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.329004513Z level=info msg="Executing migration" id="Update quota table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.329084274Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=80.721µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.331940932Z level=info msg="Executing migration" id="create plugin_setting table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.332818065Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=876.943µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.335621402Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.336596844Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=975.182µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.339451852Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.342464252Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.01253ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.3453933Z level=info msg="Executing migration" id="Update plugin_setting table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.345494582Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=100.572µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.348311869Z level=info msg="Executing migration" id="create session table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.349154539Z level=info msg="Migration successfully executed" id="create session table" duration=842.76µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.352123839Z level=info msg="Executing migration" id="Drop old table playlist table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.352307591Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=183.862µs [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0150-jpatoscacapabilityassignment_attributes.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0160-jpatoscacapabilityassignment_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0180-jpatoscacapabilityassignment_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0190-jpatoscacapabilitytype_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0200-jpatoscacapabilitytype_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0210-jpatoscadatatype_constraints.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0220-jpatoscadatatype_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0230-jpatoscadatatype_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0240-jpatoscanodetemplate_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0250-jpatoscanodetemplate_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0260-jpatoscanodetype_metadata.sql [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.355123208Z level=info msg="Executing migration" id="Drop old table playlist_item table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.355304902Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=183.344µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.357656052Z level=info msg="Executing migration" id="create playlist table v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.358408713Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=754.641µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.361502373Z level=info msg="Executing migration" id="create playlist item table v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.36276481Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.262737ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.366205085Z level=info msg="Executing migration" id="Update playlist table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.366329387Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=125.201µs [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0270-jpatoscanodetype_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0280-jpatoscapolicy_metadata.sql [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.369797773Z level=info msg="Executing migration" id="Update playlist_item table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.369882404Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=95.531µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.372878094Z level=info msg="Executing migration" id="Add playlist column created_at" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.375994285Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.116401ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.379208097Z level=info msg="Executing migration" id="Add playlist column updated_at" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.382316618Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.108381ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.385312837Z level=info msg="Executing migration" id="drop preferences table v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.38551493Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=201.553µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.388361318Z level=info msg="Executing migration" id="drop preferences table v3" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.38854224Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=181.112µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.39156198Z level=info msg="Executing migration" id="create preferences table v3" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.392478493Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=918.093µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.400234086Z level=info msg="Executing migration" id="Update preferences table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.400398528Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=164.763µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.409923513Z level=info msg="Executing migration" id="Add column team_id in preferences" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.414572285Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.650532ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.421933251Z level=info msg="Executing migration" id="Update team_id column values in preferences" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.422318916Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=385.995µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.430419764Z level=info msg="Executing migration" id="Add column week_start in preferences" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.435466661Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.046867ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.445665145Z level=info msg="Executing migration" id="Add column preferences.json_data" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.45052231Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=4.855205ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.460449601Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.460609913Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=159.932µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.495473174Z level=info msg="Executing migration" id="Add preferences index org_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.497021554Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.54824ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.500890566Z level=info msg="Executing migration" id="Add preferences index user_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.502342695Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.453619ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.505563717Z level=info msg="Executing migration" id="create alert table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.506641862Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.078035ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.510117267Z level=info msg="Executing migration" id="add index alert org_id & id " [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.510977188Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=860.211µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.514203341Z level=info msg="Executing migration" id="add index alert state" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.515061793Z level=info msg="Migration successfully executed" id="add index alert state" duration=858.522µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.518166264Z level=info msg="Executing migration" id="add index alert dashboard_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.519014885Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=845.861µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.52164029Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.522324968Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=684.508µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.525644742Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.526559705Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=914.893µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.530607608Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.532119438Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.5106ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.537033532Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.54743639Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=10.381628ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.550554281Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.551100088Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=545.617µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.554901649Z 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-10-17T18:14:28.555542768Z 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=639.879µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.558527907Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.559056094Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=528.247µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.563010167Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.563877118Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=866.081µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.567278852Z level=info msg="Executing migration" id="create alert_notification table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.568058913Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=779.94µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.573388593Z level=info msg="Executing migration" id="Add column is_default" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.576958641Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.569038ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.581098655Z level=info msg="Executing migration" id="Add column frequency" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.584640532Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.538757ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.676334993Z level=info msg="Executing migration" id="Add column send_reminder" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.682094839Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=5.760266ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.687083435Z level=info msg="Executing migration" id="Add column disable_resolve_message" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.690693113Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.609238ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.694397393Z level=info msg="Executing migration" id="add index alert_notification org_id & name" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.695295024Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=897.791µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.699341877Z level=info msg="Executing migration" id="Update alert table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.699449299Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=107.432µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.704487986Z level=info msg="Executing migration" id="Update alert_notification table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.704631027Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=144.532µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.709656914Z level=info msg="Executing migration" id="create notification_journal table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.710931491Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.271616ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.714840193Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.716256631Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.416228ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.72066635Z level=info msg="Executing migration" id="drop alert_notification_journal" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.72146931Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=802.92µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.726009851Z level=info msg="Executing migration" id="create alert_notification_state table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.727307187Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.296486ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.73128255Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.732747219Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.463919ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.737173888Z level=info msg="Executing migration" id="Add for to alert table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.740833126Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.658458ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.744583076Z level=info msg="Executing migration" id="Add column uid in alert_notification" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.748280495Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.696819ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.75174303Z level=info msg="Executing migration" id="Update uid column values in alert_notification" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.751996024Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=256.404µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.756458663Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.757475636Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.016753ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.760892711Z level=info msg="Executing migration" id="Remove unique index org_id_name" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.76230572Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.410669ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.766189241Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.771012655Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.822554ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.775265801Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.775410104Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=144.463µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.779669119Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.780540821Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=872.002µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.786972656Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.78878131Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.809114ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.794451435Z level=info msg="Executing migration" id="Drop old annotation table v4" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.794690158Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=239.513µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.799266029Z level=info msg="Executing migration" id="create annotation table v5" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.80014603Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=880.131µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.80317838Z level=info msg="Executing migration" id="add index annotation 0 v3" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.804112073Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=933.513µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.808425599Z level=info msg="Executing migration" id="add index annotation 1 v3" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.809440153Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=987.344µ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) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0290-jpatoscapolicy_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0300-jpatoscapolicy_targets.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0310-jpatoscapolicytype_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0320-jpatoscapolicytype_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0330-jpatoscapolicytype_targets.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0340-jpatoscapolicytype_triggers.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0350-jpatoscaproperty_constraints.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0360-jpatoscaproperty_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0370-jpatoscarelationshiptype_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0380-jpatoscarelationshiptype_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0390-jpatoscarequirement_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0400-jpatoscarequirement_occurrences.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0410-jpatoscarequirement_properties.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0420-jpatoscaservicetemplate_metadata.sql [35mpolicy-db-migrator |[0m -------------- [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) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0430-jpatoscatopologytemplate_inputs.sql [35mpolicy-db-migrator |[0m -------------- [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) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0440-pdpgroup_pdpsubgroup.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0450-pdpgroup.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0460-pdppolicystatus.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.813451966Z level=info msg="Executing migration" id="add index annotation 2 v3" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.814835695Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.383629ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.820181336Z level=info msg="Executing migration" id="add index annotation 3 v3" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.821141768Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=960.162µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.826204025Z level=info msg="Executing migration" id="add index annotation 4 v3" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.827136957Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=932.762µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.830176067Z level=info msg="Executing migration" id="Update annotation table charset" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.830203038Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=28.261µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.833053555Z level=info msg="Executing migration" id="Add column region_id to annotation table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.837099309Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.044894ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.84099894Z level=info msg="Executing migration" id="Drop category_id index" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.841835771Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=837.391µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.845165905Z level=info msg="Executing migration" id="Add column tags to annotation table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.852097067Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.932252ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.855603053Z level=info msg="Executing migration" id="Create annotation_tag table v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.856081059Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=477.976µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.860057992Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.860704071Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=646.249µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.863928773Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.864722194Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=793.501µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.867729303Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.881172551Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=13.438748ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.886101796Z level=info msg="Executing migration" id="Create annotation_tag table v3" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.886607013Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=505.457µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.889780315Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.890594726Z 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=813.651µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.893872979Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.894369606Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=499.007µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.898624012Z level=info msg="Executing migration" id="drop table annotation_tag_v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.89923751Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=613.818µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.904984966Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.905200649Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=215.923µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.911500562Z level=info msg="Executing migration" id="Add created time to annotation table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.91744977Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.948588ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.921967321Z level=info msg="Executing migration" id="Add updated time to annotation table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.928336734Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=6.372454ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.931990812Z level=info msg="Executing migration" id="Add index for created in annotation table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.932973586Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=986.054µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.936517742Z level=info msg="Executing migration" id="Add index for updated in annotation table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.937671717Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.153225ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.943398953Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.943639407Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=240.464µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.947016402Z level=info msg="Executing migration" id="Add epoch_end column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.951408279Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.391047ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.954944547Z level=info msg="Executing migration" id="Add index for epoch_end" [35mpolicy-db-migrator |[0m > upgrade 0470-pdp.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0480-pdpstatistics.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0490-pdpsubgroup_pdp.sql [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.95597702Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.032083ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.959373774Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.959571367Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=201.473µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.963805713Z level=info msg="Executing migration" id="Move region to single row" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.964236609Z level=info msg="Migration successfully executed" id="Move region to single row" duration=431.896µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.967579983Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) [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 [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)) [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.968375543Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=795.64µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.972553109Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.974154509Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.60401ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.97871411Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.980247421Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.533381ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.9839493Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.984936202Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=986.472µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.989754256Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.991843804Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=2.089988ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.995690984Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:28.997336606Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.646622ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.001600152Z level=info msg="Executing migration" id="Increase tags column to length 4096" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.001718254Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=118.272µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.005812059Z level=info msg="Executing migration" id="create test_data table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.006637319Z level=info msg="Migration successfully executed" id="create test_data table" duration=823.77µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.01053469Z level=info msg="Executing migration" id="create dashboard_version table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.011837458Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.302708ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.015290454Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.01646623Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.175116ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.020703935Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.021915991Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.211356ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.063684923Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.06420452Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=522.607µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.06804114Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.0688072Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=765.17µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.072586811Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.072748593Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=161.482µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.077340493Z level=info msg="Executing migration" id="create team table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.078204785Z level=info msg="Migration successfully executed" id="create team table" duration=862.862µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.081945254Z level=info msg="Executing migration" id="add index team.org_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.083490404Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.54462ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.087300865Z level=info msg="Executing migration" id="add unique index team_org_id_name" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.088765064Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.463609ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.093123422Z level=info msg="Executing migration" id="Add column uid in team" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.097701853Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.578181ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.101025267Z level=info msg="Executing migration" id="Update uid column values in team" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.10130624Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=279.734µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.10435893Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.105406304Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.046594ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.110013605Z level=info msg="Executing migration" id="create team member table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.11187594Z level=info msg="Migration successfully executed" id="create team member table" duration=1.861875ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.116515421Z level=info msg="Executing migration" id="add index team_member.org_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.117869749Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.355758ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.121437566Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.122456259Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.021163ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.126721396Z level=info msg="Executing migration" id="add index team_member.team_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.127706689Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=985.483µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.130901351Z level=info msg="Executing migration" id="Add column email to team table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.135909257Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.007576ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.140923804Z level=info msg="Executing migration" id="Add column external to team_member table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.144770844Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.84682ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.148157629Z level=info msg="Executing migration" id="Add column permission to team_member table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.155525986Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=7.368957ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.159728672Z level=info msg="Executing migration" id="create dashboard acl table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.160661704Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=930.752µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.16412726Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.165432098Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.304388ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.169859935Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.17092397Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.063975ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.175910675Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.17697343Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.062105ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.183317894Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.184280866Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=963.022µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.188526283Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.190645471Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=2.117828ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.194608282Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.196216324Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.607792ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.200734223Z level=info msg="Executing migration" id="add index dashboard_permission" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.201493334Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=758.791µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.206142315Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.206919116Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=775.301µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.210641965Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.211166702Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=519.706µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.218017473Z level=info msg="Executing migration" id="create tag table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.219878426Z level=info msg="Migration successfully executed" id="create tag table" duration=1.860683ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.224834842Z level=info msg="Executing migration" id="add index tag.key_value" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.226753278Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.917986ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.230190363Z level=info msg="Executing migration" id="create login attempt table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.230770281Z level=info msg="Migration successfully executed" id="create login attempt table" duration=579.677µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.233861231Z level=info msg="Executing migration" id="add index login_attempt.username" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.234588961Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=727.04µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.239977872Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.241710035Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.731903ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.246168354Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.260631025Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.459081ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.266611444Z level=info msg="Executing migration" id="create login_attempt v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.267222122Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=610.478µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.270220311Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.270940101Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=720.92µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.274300526Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.274573029Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=270.723µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.277716871Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.278731744Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.014513ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.284250077Z level=info msg="Executing migration" id="create user auth table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.285683497Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.433059ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.289709879Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.291595614Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.887165ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.298942501Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.299050742Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=108.111µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.304921171Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.312109305Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.188424ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.315561891Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.32082677Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.264299ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.3245602Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.328938407Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.378007ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.335786519Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.341118148Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.331309ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.346816743Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.348109801Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.292898ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.351807949Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.356898097Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.092088ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.362636393Z level=info msg="Executing migration" id="create server_lock table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.363481944Z level=info msg="Migration successfully executed" id="create server_lock table" duration=845.281µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.367037731Z level=info msg="Executing migration" id="add index server_lock.operation_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.368043654Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.005653ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.371720402Z level=info msg="Executing migration" id="create user auth token table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.373647238Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.932016ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.380367597Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.38207545Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.707623ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.389097363Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.390778495Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.680881ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.393939686Z level=info msg="Executing migration" id="add index user_auth_token.user_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.395812771Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.868455ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.401247803Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.406678205Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.426092ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.446340049Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.447997391Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.657482ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.452836244Z level=info msg="Executing migration" id="create cache_data table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.454307804Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.47146ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.459794257Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.460732039Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=937.662µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.464071163Z level=info msg="Executing migration" id="create short_url table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.464911005Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=837.522µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.470931364Z level=info msg="Executing migration" id="add index short_url.org_id-uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.471961567Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.029873ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.47521978Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.475324791Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=102.871µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.477881265Z level=info msg="Executing migration" id="delete alert_definition table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.478008357Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=127.822µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.483109954Z level=info msg="Executing migration" id="recreate alert_definition table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.484896968Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.785674ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.49259843Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.494239521Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.642341ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.497367473Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.499098636Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.731013ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.502118626Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.502185447Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=67.691µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.507087012Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.507970023Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=883.511µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.511713582Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.513173872Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.4682ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.520877084Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.522629646Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.752122ms [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-10-17T18:14:29.532801241Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.533860175Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.058874ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.536867375Z level=info msg="Executing migration" id="Add column paused in alert_definition" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.543509933Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.648639ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.548435927Z level=info msg="Executing migration" id="drop alert_definition table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.549499362Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.062655ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.552705674Z level=info msg="Executing migration" id="delete alert_definition_version table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.552789065Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=86.291µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.556443503Z level=info msg="Executing migration" id="recreate alert_definition_version table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.558137826Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.697953ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.564238647Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.565214839Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=976.093µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.573724351Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.575219981Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.49536ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.578764498Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.578865139Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=101.731µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.583252608Z level=info msg="Executing migration" id="drop alert_definition_version table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.58419761Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=944.872µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.588461317Z level=info msg="Executing migration" id="create alert_instance table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.589562841Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.100174ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.594223503Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.595825763Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.60592ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.602120867Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.603246792Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.124615ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.608943997Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.61669862Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.759473ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.620342038Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.621209679Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=867.422µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.625118411Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.626021023Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=902.441µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.629085893Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.653546656Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=24.461113ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.658641274Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.682314756Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.673562ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.685453168Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.686137418Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=683.659µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.689201118Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.690187231Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=985.943µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.694045681Z level=info msg="Executing migration" id="add current_reason column related to current_state" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.703671099Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.623088ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.707321667Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.71127169Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=3.949153ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.71662481Z level=info msg="Executing migration" id="create alert_rule table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.717811475Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.186125ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.723021784Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.724576184Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.55444ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.728482567Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.730150498Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.668641ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.73329797Z 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-10-17T18:14:29.734321214Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.022794ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.739157718Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.739258629Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=101.641µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.742004266Z level=info msg="Executing migration" id="add column for to alert_rule" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.751327678Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.323582ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.755145919Z level=info msg="Executing migration" id="add column annotations to alert_rule" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.761222879Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.079221ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.768032859Z level=info msg="Executing migration" id="add column labels to alert_rule" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.774107829Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.0743ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.777537614Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.778551238Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.013564ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.782172476Z 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-10-17T18:14:29.783175819Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.002873ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.787265524Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.793486445Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.220281ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.851513772Z level=info msg="Executing migration" id="add panel_id column to alert_rule" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.857781325Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.264513ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.861463443Z 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-10-17T18:14:29.862469167Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.005374ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.866845255Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.872926645Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.08075ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.877624287Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.886515534Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=8.895037ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.890406846Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.890575149Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=168.313µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.893997163Z level=info msg="Executing migration" id="create alert_rule_version table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.895146568Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.152425ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.899501456Z 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-10-17T18:14:29.90055443Z 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.053064ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.903845843Z 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-10-17T18:14:29.904996259Z 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.149876ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.909277355Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.909340366Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=64.171µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.912354346Z level=info msg="Executing migration" id="add column for to alert_rule_version" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.918669289Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.314893ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.924512157Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.931183685Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.671298ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.934452108Z level=info msg="Executing migration" id="add column labels to alert_rule_version" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.940884733Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.438745ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.945001887Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.949682399Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=4.676572ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.954730236Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.961200722Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.470036ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.964391094Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.964456244Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.8µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.968362435Z level=info msg="Executing migration" id=create_alert_configuration_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 [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.969129306Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=766.631µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.972575222Z level=info msg="Executing migration" id="Add column default in alert_configuration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.978846594Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.271333ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.982126757Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.982196838Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=77.781µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.986147951Z level=info msg="Executing migration" id="add column org_id in alert_configuration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.992736068Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.587757ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.997836055Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:29.998817758Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=981.483µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.002260873Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.0088018Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.540677ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.012004983Z level=info msg="Executing migration" id=create_ngalert_configuration_table [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.012873454Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=868.221µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.016899457Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.017997511Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.095194ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.024438546Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.033581758Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.144172ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.036742349Z level=info msg="Executing migration" id="create provenance_type table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.037622611Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=879.902µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.042928391Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.043986974Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.058353ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.047410261Z level=info msg="Executing migration" id="create alert_image table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.048316932Z level=info msg="Migration successfully executed" id="create alert_image table" duration=905.301µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.051830628Z level=info msg="Executing migration" id="add unique index on token to alert_image table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.052777782Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=946.994µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.058291134Z level=info msg="Executing migration" id="support longer URLs in alert_image table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.058362924Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=74.941µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.067720749Z level=info msg="Executing migration" id=create_alert_configuration_history_table [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.069164297Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.443608ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.072985028Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.074622669Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.632501ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.07918564Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.079776577Z 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-10-17T18:14:30.083143012Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.083495156Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=351.944µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.085993579Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.086960393Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=966.634µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.091119237Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.100629303Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.510636ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.106575102Z level=info msg="Executing migration" id="create library_element table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.108221893Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.646551ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.11172762Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.112772034Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.043764ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.116662305Z level=info msg="Executing migration" id="create library_element_connection table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.117533747Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=871.412µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.121111954Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.122298279Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.185275ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.1254032Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.126483345Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.080175ms [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 [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 [35mpolicy-db-migrator |[0m > upgrade 0820-toscatrigger.sql [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.13072004Z level=info msg="Executing migration" id="increase max description length to 2048" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.130748811Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=28.011µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.134595312Z level=info msg="Executing migration" id="alter library_element model to mediumtext" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.134710884Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=119.462µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.14201234Z level=info msg="Executing migration" id="add library_element folder uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.149103483Z level=info msg="Migration successfully executed" id="add library_element folder uid" duration=7.090413ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.152246945Z level=info msg="Executing migration" id="populate library_element folder_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.152541759Z level=info msg="Migration successfully executed" id="populate library_element folder_uid" duration=294.774µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.155447557Z level=info msg="Executing migration" id="add index library_element org_id-folder_uid-name-kind" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.156213137Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_uid-name-kind" duration=765.08µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.162125416Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.162527191Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=402.305µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.166790507Z level=info msg="Executing migration" id="create data_keys table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.168300807Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.51011ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.17157621Z level=info msg="Executing migration" id="create secrets table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.172898227Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.321627ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.177804102Z level=info msg="Executing migration" id="rename data_keys name column to id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.209700444Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=31.896672ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.239226724Z level=info msg="Executing migration" id="add name column into data_keys" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.246518861Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.296277ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.249138665Z level=info msg="Executing migration" id="copy data_keys id column values into name" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.249276307Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=138.052µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.251884921Z level=info msg="Executing migration" id="rename data_keys name column to label" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.284398Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=32.512739ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.289339736Z level=info msg="Executing migration" id="rename data_keys id column back to name" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.318521551Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=29.183465ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.323284234Z level=info msg="Executing migration" id="create kv_store table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.323872882Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=588.558µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.326662319Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.328303751Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.640792ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.334426091Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.334761246Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=335.775µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.33814664Z level=info msg="Executing migration" id="create permission table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.338993092Z level=info msg="Migration successfully executed" id="create permission table" duration=846.162µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.341672437Z level=info msg="Executing migration" id="add unique index permission.role_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.34263982Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=966.973µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.348070712Z level=info msg="Executing migration" id="add unique index role_id_action_scope" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.349134375Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.063643ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.353693326Z level=info msg="Executing migration" id="create role table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.355120474Z level=info msg="Migration successfully executed" id="create role table" duration=1.426778ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.359071677Z level=info msg="Executing migration" id="add column display_name" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.367705391Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.634484ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.371607142Z level=info msg="Executing migration" id="add column group_name" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.378735017Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.130005ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.383193485Z level=info msg="Executing migration" id="add index role.org_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.383921635Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=727.73µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.387986149Z level=info msg="Executing migration" id="add unique index role_org_id_name" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.389223266Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.235227ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.395323616Z level=info msg="Executing migration" id="add index role_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.396905296Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.58129ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.401902152Z level=info msg="Executing migration" id="create team role table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.402789454Z level=info msg="Migration successfully executed" id="create team role table" duration=886.952µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.406117889Z level=info msg="Executing migration" id="add index team_role.org_id" [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-10-17T18:14:30.407693389Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.57409ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.411589611Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.413259813Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.669732ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.418032006Z level=info msg="Executing migration" id="add index team_role.team_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.4191314Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.098944ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.421794435Z level=info msg="Executing migration" id="create user role table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.422582876Z level=info msg="Migration successfully executed" id="create user role table" duration=788.021µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.427736743Z level=info msg="Executing migration" id="add index user_role.org_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.428782488Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.044975ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.437142539Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.438890841Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.747582ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.442123914Z level=info msg="Executing migration" id="add index user_role.user_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.443158898Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.034914ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.446042546Z level=info msg="Executing migration" id="create builtin role table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.446843656Z level=info msg="Migration successfully executed" id="create builtin role table" duration=799.1µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.451703601Z level=info msg="Executing migration" id="add index builtin_role.role_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.453543635Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.839765ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.456681217Z level=info msg="Executing migration" id="add index builtin_role.name" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.458545311Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.863004ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.461564981Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.469187891Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.622781ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.473765462Z level=info msg="Executing migration" id="add index builtin_role.org_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.474786525Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.020423ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.477669373Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.479033022Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.361729ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.482342846Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.483956546Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.613501ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.488349185Z level=info msg="Executing migration" id="add unique index role.uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.489360867Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.011343ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.492532309Z level=info msg="Executing migration" id="create seed assignment table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.49329466Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=762.391µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.499308009Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.501050753Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.742414ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.509338121Z level=info msg="Executing migration" id="add column hidden to role table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.519654338Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.316507ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.524890607Z level=info msg="Executing migration" id="permission kind migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.532929183Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.038256ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.536181856Z level=info msg="Executing migration" id="permission attribute migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.544446296Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.264ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.549240709Z level=info msg="Executing migration" id="permission identifier migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.557141564Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.900445ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.560284855Z level=info msg="Executing migration" id="add permission identifier index" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.561023475Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=737.62µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.564732733Z level=info msg="Executing migration" id="add permission action scope role_id index" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.565490234Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=757.151µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.568551325Z level=info msg="Executing migration" id="remove permission role_id action scope index" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.570173315Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.621531ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.57362075Z level=info msg="Executing migration" id="create query_history table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.574839507Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.196417ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.579271025Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.580299739Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.028464ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.584999571Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" [35mpolicy-db-migrator |[0m > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql [35mpolicy-db-migrator |[0m -------------- [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 [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0980-FK_ToscaNodeType_requirementsName.sql [35mpolicy-db-migrator |[0m -------------- [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 [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql [35mpolicy-db-migrator |[0m -------------- [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 [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql [35mpolicy-db-migrator |[0m -------------- [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 [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql [35mpolicy-db-migrator |[0m -------------- [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 [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql [35mpolicy-db-migrator |[0m -------------- [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 [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql [35mpolicy-db-migrator |[0m -------------- [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 [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql [35mpolicy-db-migrator |[0m -------------- [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 -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql [35mpolicy-db-migrator |[0m -------------- [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 [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.585064593Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=65.722µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.588279545Z level=info msg="Executing migration" id="create query_history_details table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.589091945Z level=info msg="Migration successfully executed" id="create query_history_details table v1" duration=813.48µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.629840883Z level=info msg="Executing migration" id="rbac disabled migrator" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.629903365Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=64.272µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.635413687Z level=info msg="Executing migration" id="teams permissions migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.636099556Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=686.319µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.639362369Z level=info msg="Executing migration" id="dashboard permissions" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.639899576Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=532.657µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.643162519Z level=info msg="Executing migration" id="dashboard permissions uid scopes" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.643765707Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=603.438µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.650920802Z level=info msg="Executing migration" id="drop managed folder create actions" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.651373668Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=455.766µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.656915491Z level=info msg="Executing migration" id="alerting notification permissions" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.657696071Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=780.85µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.661026666Z level=info msg="Executing migration" id="create query_history_star table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.661985888Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=959.182µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.66663566Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.667926657Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.289576ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.672438847Z level=info msg="Executing migration" id="add column org_id in query_history_star" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.682747322Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.308965ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.685770602Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.685886804Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=116.702µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.689559753Z level=info msg="Executing migration" id="create correlation table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.690675757Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.115514ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.695604522Z level=info msg="Executing migration" id="add index correlations.uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.697508338Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.903236ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.701094485Z level=info msg="Executing migration" id="add index correlations.source_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.702827318Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.731973ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.707252896Z level=info msg="Executing migration" id="add correlation config column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.715669807Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.417071ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.71961046Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.720706094Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.095514ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.724503824Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.725583268Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.079664ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.731498297Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.754970216Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=23.473319ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.758716746Z level=info msg="Executing migration" id="create correlation v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.759473236Z level=info msg="Migration successfully executed" id="create correlation v2" duration=756.22µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.761648605Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.762536557Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=888.112µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.769321116Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.770665524Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.342968ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.774111069Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.775950684Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.837455ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.779415089Z level=info msg="Executing migration" id="copy correlation v1 to v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.779670783Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=255.924µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.783530113Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.784294334Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=764.521µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.788643931Z level=info msg="Executing migration" id="add provisioning column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.79994828Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.312429ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.802839929Z level=info msg="Executing migration" id="create entity_events table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.803450536Z level=info msg="Migration successfully executed" id="create entity_events table" duration=610.417µs [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 [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0100-pdp.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0110-idx_tsidx1.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0120-pk_pdpstatistics.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics DROP PRIMARY KEY [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0130-pdpstatistics.sql [35mpolicy-db-migrator |[0m -------------- [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 [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0140-pk_pdpstatistics.sql [35mpolicy-db-migrator |[0m -------------- [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 [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0150-pdpstatistics.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0160-jpapdpstatistics_enginestats.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0170-jpapdpstatistics_enginestats.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m UPDATE jpapdpstatistics_enginestats a [35mpolicy-db-migrator |[0m JOIN pdpstatistics b [35mpolicy-db-migrator |[0m ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp [35mpolicy-db-migrator |[0m SET a.id = b.id [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0180-jpapdpstatistics_enginestats.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0190-jpapolicyaudit.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.807172536Z level=info msg="Executing migration" id="create dashboard public config v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.80827878Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.080914ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.811524623Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.81196298Z 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-10-17T18:14:30.814948209Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.815372414Z 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-10-17T18:14:30.817979509Z level=info msg="Executing migration" id="Drop old dashboard public config table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.818696008Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=716.189µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.822727701Z level=info msg="Executing migration" id="recreate dashboard public config v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.823983758Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.254307ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.828872803Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.830811718Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.938385ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.837920032Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.839059907Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.139345ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.842421171Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.844122024Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.701253ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.847949464Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.84909259Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.144286ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.853995915Z level=info msg="Executing migration" id="Drop public config table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.854728204Z level=info msg="Migration successfully executed" id="Drop public config table" duration=732.649µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.858733347Z level=info msg="Executing migration" id="Recreate dashboard public config v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.859813042Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.079635ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.863600801Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.864686585Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.082424ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.867757666Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.868923992Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.166036ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.872047963Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.873229208Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.180845ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.880320512Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.904648194Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=24.328102ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.909364966Z level=info msg="Executing migration" id="add annotations_enabled column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.918335814Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.970308ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.921662989Z level=info msg="Executing migration" id="add time_selection_enabled column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.93085195Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.187192ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.934805622Z level=info msg="Executing migration" id="delete orphaned public dashboards" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.935105555Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=299.693µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.937551948Z level=info msg="Executing migration" id="add share column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.946564548Z level=info msg="Migration successfully executed" id="add share column" duration=9.01283ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.950455819Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.950595181Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=139.982µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.953814243Z level=info msg="Executing migration" id="create file table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.954985209Z level=info msg="Migration successfully executed" id="create file table" duration=1.168426ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.96115248Z level=info msg="Executing migration" id="file table idx: path natural pk" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.962840582Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.689022ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.966960417Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.968402205Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.448588ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.97174699Z level=info msg="Executing migration" id="create file_meta table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:30.972581211Z level=info msg="Migration successfully executed" id="create file_meta table" duration=834.681µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.037522909Z level=info msg="Executing migration" id="file table idx: path key" [35mpolicy-db-migrator |[0m CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0210-sequence.sql [35mpolicy-db-migrator |[0m -------------- [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)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0220-sequence.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0100-jpatoscapolicy_targets.sql [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) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0110-jpatoscapolicytype_targets.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0120-toscatrigger.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS toscatrigger [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0130-jpatoscapolicytype_triggers.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0140-toscaparameter.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS toscaparameter [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0150-toscaproperty.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS jpatoscaproperty_constraints [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS jpatoscaproperty_metadata [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.039666527Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.144408ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.044497691Z level=info msg="Executing migration" id="set path collation in file table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.044574292Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=77.161µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.046997773Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.047070304Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=72.901µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.05045414Z level=info msg="Executing migration" id="managed permissions migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.051180179Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=726.119µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.053288627Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.053567841Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=278.874µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.056451859Z level=info msg="Executing migration" id="RBAC action name migrator" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.057493582Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.041453ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.060593743Z level=info msg="Executing migration" id="Add UID column to playlist" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.06792116Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=7.326777ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.072897246Z level=info msg="Executing migration" id="Update uid column values in playlist" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.073019068Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=122.122µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.076780157Z level=info msg="Executing migration" id="Add index for uid in playlist" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.077600988Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=820.551µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.08154323Z level=info msg="Executing migration" id="update group index for alert rules" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.081883284Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=341.094µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.085193788Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.085728335Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=533.437µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.090430207Z level=info msg="Executing migration" id="admin only folder/dashboard permission" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.091266928Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=836.561µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.096037691Z level=info msg="Executing migration" id="add action column to seed_assignment" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.105373514Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.334883ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.108698488Z level=info msg="Executing migration" id="add scope column to seed_assignment" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.11786283Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=9.142961ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.121762031Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.122531311Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=769µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.125552511Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.199764541Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=74.20268ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.203351438Z level=info msg="Executing migration" id="add unique index builtin_role_name back" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.204482144Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.130756ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.208505887Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.209730763Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.224266ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.214933391Z level=info msg="Executing migration" id="add primary key to seed_assigment" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.240762863Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=25.829462ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.245146061Z level=info msg="Executing migration" id="add origin column to seed_assignment" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.25348133Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=8.334349ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.257214399Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.258011151Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=797.042µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.261679889Z level=info msg="Executing migration" id="prevent seeding OnCall access" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.262127555Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=447.646µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.265662331Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.266201679Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=538.398µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.270561136Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.2709174Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=356.184µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.274023181Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.274372077Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=348.176µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.27765282Z level=info msg="Executing migration" id="create folder table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.279284891Z level=info msg="Migration successfully executed" id="create folder table" duration=1.631601ms [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m DROP TABLE IF EXISTS toscaproperty [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0160-jpapolicyaudit_pk.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE jpapolicyaudit DROP PRIMARY KEY [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0170-pdpstatistics_pk.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics DROP PRIMARY KEY [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0180-jpatoscanodetemplate_metadata.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0100-upgrade.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m select 'upgrade to 1100 completed' as msg [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m msg [35mpolicy-db-migrator |[0m upgrade to 1100 completed [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0100-jpapolicyaudit_renameuser.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0110-idx_tsidx1.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m DROP INDEX IDX_TSIDX1 ON pdpstatistics [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0120-audit_sequence.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m > upgrade 0130-statistics_sequence.sql [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) [35mpolicy-db-migrator |[0m -------------- [35mpolicy-db-migrator |[0m [35mpolicy-db-migrator |[0m -------------- [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.28367411Z level=info msg="Executing migration" id="Add index for parent_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.28593217Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.25655ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.289967062Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.29124027Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.273198ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.294791996Z level=info msg="Executing migration" id="Update folder title length" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.294822627Z level=info msg="Migration successfully executed" id="Update folder title length" duration=28.211µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.298688387Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.300131607Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.44274ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.303462301Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.305281855Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.820214ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.308531758Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.309775704Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.243316ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.313723057Z level=info msg="Executing migration" id="Sync dashboard and folder table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.314425286Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=702.89µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.318495669Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.319066117Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=570.088µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.322506182Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.32386182Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.352168ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.328912737Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.331054645Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=2.141618ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.337128555Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.3382614Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.132675ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.342151132Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.344193189Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=2.082167ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.347361071Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.349242125Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.880094ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.352393496Z level=info msg="Executing migration" id="create anon_device table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.353567383Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.173336ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.357668056Z level=info msg="Executing migration" id="add unique index anon_device.device_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.359128856Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.46063ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.362103445Z level=info msg="Executing migration" id="add index anon_device.updated_at" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.36328363Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.180375ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.369970929Z level=info msg="Executing migration" id="create signing_key table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.370891151Z level=info msg="Migration successfully executed" id="create signing_key table" duration=920.442µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.377939705Z level=info msg="Executing migration" id="add unique index signing_key.key_id" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.37989104Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.951025ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.383350645Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.385079598Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.728293ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.427883123Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.42835722Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=485.077µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.433590348Z level=info msg="Executing migration" id="Add folder_uid for dashboard" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.44574632Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.157332ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.451462945Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.452138024Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=676.199µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.455296366Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.455348696Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=53.49µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.459774525Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.46171446Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.938855ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.465720273Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.465749004Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=30.511µs [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 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:29 [35mpolicy-db-migrator |[0m 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 36 0450-pdpgroup.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 37 0460-pdppolicystatus.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 38 0470-pdp.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 39 0480-pdpstatistics.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.468910365Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.471080764Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=2.169469ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.475281739Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.476458306Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.177367ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.480206135Z level=info msg="Executing migration" id="create sso_setting table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.48137027Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.163815ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.484284669Z level=info msg="Executing migration" id="copy kvstore migration status to each org" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.485058419Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=774.75µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.489594978Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.489854112Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=260.124µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.492867722Z level=info msg="Executing migration" id="managed dashboard permissions annotation actions migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.493790934Z level=info msg="Migration successfully executed" id="managed dashboard permissions annotation actions migration" duration=923.392µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.497147629Z level=info msg="Executing migration" id="create cloud_migration table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.498550477Z level=info msg="Migration successfully executed" id="create cloud_migration table v1" duration=1.402669ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.50178435Z level=info msg="Executing migration" id="create cloud_migration_run table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.503206198Z level=info msg="Migration successfully executed" id="create cloud_migration_run table v1" duration=1.421848ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.507470185Z level=info msg="Executing migration" id="add stack_id column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.518705413Z level=info msg="Migration successfully executed" id="add stack_id column" duration=11.236408ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.52151744Z level=info msg="Executing migration" id="add region_slug column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.528189618Z level=info msg="Migration successfully executed" id="add region_slug column" duration=6.672138ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.531744505Z level=info msg="Executing migration" id="add cluster_slug column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.541347082Z level=info msg="Migration successfully executed" id="add cluster_slug column" duration=9.602447ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.545634648Z level=info msg="Executing migration" id="add migration uid column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.555356697Z level=info msg="Migration successfully executed" id="add migration uid column" duration=9.721859ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.558264665Z level=info msg="Executing migration" id="Update uid column values for migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.558396927Z level=info msg="Migration successfully executed" id="Update uid column values for migration" duration=131.622µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.561170134Z level=info msg="Executing migration" id="Add unique index migration_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.562062635Z level=info msg="Migration successfully executed" id="Add unique index migration_uid" duration=891.871µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.566458204Z level=info msg="Executing migration" id="add migration run uid column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.576082381Z level=info msg="Migration successfully executed" id="add migration run uid column" duration=9.623986ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.581091407Z level=info msg="Executing migration" id="Update uid column values for migration run" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.581273959Z level=info msg="Migration successfully executed" id="Update uid column values for migration run" duration=182.802µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.586354717Z level=info msg="Executing migration" id="Add unique index migration_run_uid" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.587682994Z level=info msg="Migration successfully executed" id="Add unique index migration_run_uid" duration=1.327287ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.59344207Z level=info msg="Executing migration" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.617988894Z level=info msg="Migration successfully executed" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" duration=24.578915ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.624575472Z level=info msg="Executing migration" id="create cloud_migration_session v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.626461076Z level=info msg="Migration successfully executed" id="create cloud_migration_session v2" duration=1.885824ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.629954333Z level=info msg="Executing migration" id="create index UQE_cloud_migration_session_uid - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.63206544Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_session_uid - v2" duration=2.110917ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.636318336Z level=info msg="Executing migration" id="copy cloud_migration_session v1 to v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.636705741Z level=info msg="Migration successfully executed" id="copy cloud_migration_session v1 to v2" duration=387.655µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.640644883Z level=info msg="Executing migration" id="drop cloud_migration_session_tmp_qwerty" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.641695118Z level=info msg="Migration successfully executed" id="drop cloud_migration_session_tmp_qwerty" duration=1.049955ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.64569027Z level=info msg="Executing migration" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.671511631Z level=info msg="Migration successfully executed" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" duration=25.823771ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.676315484Z level=info msg="Executing migration" id="create cloud_migration_snapshot v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.677297957Z level=info msg="Migration successfully executed" id="create cloud_migration_snapshot v2" duration=982.893µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.681082348Z level=info msg="Executing migration" id="create index UQE_cloud_migration_snapshot_uid - v2" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.682368474Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_snapshot_uid - v2" duration=1.286326ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.685505206Z level=info msg="Executing migration" id="copy cloud_migration_snapshot v1 to v2" [35mpolicy-db-migrator |[0m 41 0500-pdpsubgroup.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 45 0540-toscacapabilitytype.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:30 [35mpolicy-db-migrator |[0m 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 48 0570-toscadatatype.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 49 0580-toscadatatypes.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 51 0600-toscanodetemplate.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 52 0610-toscanodetemplates.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 54 0630-toscanodetype.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 55 0640-toscanodetypes.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 57 0660-toscaparameter.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 58 0670-toscapolicies.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 60 0690-toscapolicy.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 61 0700-toscapolicytype.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 62 0710-toscapolicytypes.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 64 0730-toscaproperty.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 65 0740-toscarelationshiptype.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 68 0770-toscarequirement.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 69 0780-toscarequirements.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:31 [35mpolicy-db-migrator |[0m 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 71 0800-toscaservicetemplate.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 72 0810-toscatopologytemplate.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 73 0820-toscatrigger.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:32 [35mpolicy-db-migrator |[0m 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1710241814290800u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 97 0100-pdp.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 98 0110-idx_tsidx1.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 100 0130-pdpstatistics.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 102 0150-pdpstatistics.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 108 0210-sequence.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 109 0220-sequence.sql upgrade 0800 0900 1710241814290900u 1 2024-10-17 18:14:33 [35mpolicy-db-migrator |[0m 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1710241814291000u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1710241814291000u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 112 0120-toscatrigger.sql upgrade 0900 1000 1710241814291000u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1710241814291000u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 114 0140-toscaparameter.sql upgrade 0900 1000 1710241814291000u 1 2024-10-17 18:14:34 [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.68587395Z level=info msg="Migration successfully executed" id="copy cloud_migration_snapshot v1 to v2" duration=363.814µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.690620383Z level=info msg="Executing migration" id="drop cloud_migration_snapshot_tmp_qwerty" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.691599717Z level=info msg="Migration successfully executed" id="drop cloud_migration_snapshot_tmp_qwerty" duration=978.294µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.696911376Z level=info msg="Executing migration" id="add snapshot upload_url column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.708096684Z level=info msg="Migration successfully executed" id="add snapshot upload_url column" duration=11.186958ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.712091757Z level=info msg="Executing migration" id="add snapshot status column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.719328842Z level=info msg="Migration successfully executed" id="add snapshot status column" duration=7.236945ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.724982517Z level=info msg="Executing migration" id="add snapshot local_directory column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.735538016Z level=info msg="Migration successfully executed" id="add snapshot local_directory column" duration=10.560049ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.738408964Z level=info msg="Executing migration" id="add snapshot gms_snapshot_uid column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.745822242Z level=info msg="Migration successfully executed" id="add snapshot gms_snapshot_uid column" duration=7.412988ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.749130356Z level=info msg="Executing migration" id="add snapshot encryption_key column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.7592645Z level=info msg="Migration successfully executed" id="add snapshot encryption_key column" duration=10.134104ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.766317113Z level=info msg="Executing migration" id="add snapshot error_string column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.776600029Z level=info msg="Migration successfully executed" id="add snapshot error_string column" duration=10.290186ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.813163732Z level=info msg="Executing migration" id="create cloud_migration_resource table v1" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.814982126Z level=info msg="Migration successfully executed" id="create cloud_migration_resource table v1" duration=1.821254ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.818881687Z level=info msg="Executing migration" id="delete cloud_migration_snapshot.result column" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.85689724Z level=info msg="Migration successfully executed" id="delete cloud_migration_snapshot.result column" duration=38.017463ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.860884812Z level=info msg="Executing migration" id="alter kv_store.value to longtext" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.860933563Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=48.991µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.864226576Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.872783779Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=8.556383ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.877444861Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.884691976Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=7.246955ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.888795371Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.889126775Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=331.544µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.893149068Z level=info msg="Executing migration" id="managed folder permissions alerting silences actions migration" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.893409782Z level=info msg="Migration successfully executed" id="managed folder permissions alerting silences actions migration" duration=260.234µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.896879347Z level=info msg="Executing migration" id="add record column to alert_rule table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.909539604Z level=info msg="Migration successfully executed" id="add record column to alert_rule table" duration=12.661757ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.91290278Z level=info msg="Executing migration" id="add record column to alert_rule_version table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.920198975Z level=info msg="Migration successfully executed" id="add record column to alert_rule_version table" duration=7.290155ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.925560316Z level=info msg="Executing migration" id="add resolved_at column to alert_instance table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.935213313Z level=info msg="Migration successfully executed" id="add resolved_at column to alert_instance table" duration=9.653357ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.939887795Z level=info msg="Executing migration" id="add last_sent_at column to alert_instance table" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.949746506Z level=info msg="Migration successfully executed" id="add last_sent_at column to alert_instance table" duration=9.858971ms [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.954378846Z level=info msg="Executing migration" id="Enable traceQL streaming for all Tempo datasources" [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.954398026Z level=info msg="Migration successfully executed" id="Enable traceQL streaming for all Tempo datasources" duration=25.24µs [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.958637033Z level=info msg="migrations completed" performed=594 skipped=0 duration=4.738160641s [36mgrafana |[0m logger=migrator t=2024-10-17T18:14:31.959101359Z level=info msg="Unlocking database" [36mgrafana |[0m logger=sqlstore t=2024-10-17T18:14:31.976322826Z level=info msg="Created default admin" user=admin [36mgrafana |[0m logger=sqlstore t=2024-10-17T18:14:31.976515279Z level=info msg="Created default organization" [36mgrafana |[0m logger=secrets t=2024-10-17T18:14:31.981297002Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 [36mgrafana |[0m logger=plugin.angulardetectorsprovider.dynamic t=2024-10-17T18:14:32.03110365Z level=info msg="Restored cache from database" duration=372.045µs [36mgrafana |[0m logger=plugin.store t=2024-10-17T18:14:32.032411867Z level=info msg="Loading plugins..." [36mgrafana |[0m logger=plugins.registration t=2024-10-17T18:14:32.061659643Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered" [36mgrafana |[0m logger=plugins.initialization t=2024-10-17T18:14:32.061681684Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered" [36mgrafana |[0m logger=local.finder t=2024-10-17T18:14:32.061819846Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled [36mgrafana |[0m logger=plugin.store t=2024-10-17T18:14:32.061837356Z level=info msg="Plugins loaded" count=54 duration=29.426019ms [36mgrafana |[0m logger=query_data t=2024-10-17T18:14:32.065543204Z level=info msg="Query Service initialization" [36mgrafana |[0m logger=live.push_http t=2024-10-17T18:14:32.069288294Z level=info msg="Live Push Gateway initialization" [35mpolicy-db-migrator |[0m 115 0150-toscaproperty.sql upgrade 0900 1000 1710241814291000u 1 2024-10-17 18:14:34 [36mgrafana |[0m logger=ngalert.notifier.alertmanager org=1 t=2024-10-17T18:14:32.073882915Z level=info msg="Applying new configuration to Alertmanager" configHash=d2c56faca6af2a5772ff4253222f7386 [36mgrafana |[0m logger=ngalert.state.manager t=2024-10-17T18:14:32.086675864Z level=info msg="Running in alternative execution of Error/NoData mode" [36mgrafana |[0m logger=infra.usagestats.collector t=2024-10-17T18:14:32.088618059Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 [36mgrafana |[0m logger=provisioning.datasources t=2024-10-17T18:14:32.09019333Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz [36mgrafana |[0m logger=provisioning.alerting t=2024-10-17T18:14:32.10760554Z level=info msg="starting to provision alerting" [36mgrafana |[0m logger=provisioning.alerting t=2024-10-17T18:14:32.10762521Z level=info msg="finished to provision alerting" [36mgrafana |[0m logger=grafanaStorageLogger t=2024-10-17T18:14:32.107895864Z level=info msg="Storage starting" [36mgrafana |[0m logger=ngalert.state.manager t=2024-10-17T18:14:32.108583623Z level=info msg="Warming state cache for startup" [36mgrafana |[0m logger=ngalert.multiorg.alertmanager t=2024-10-17T18:14:32.11066674Z level=info msg="Starting MultiOrg Alertmanager" [36mgrafana |[0m logger=http.server t=2024-10-17T18:14:32.111525061Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= [36mgrafana |[0m logger=plugins.update.checker t=2024-10-17T18:14:32.176429539Z level=info msg="Update check succeeded" duration=68.530265ms [36mgrafana |[0m logger=grafana.update.checker t=2024-10-17T18:14:32.179727912Z level=info msg="Update check succeeded" duration=67.946697ms [36mgrafana |[0m logger=ngalert.state.manager t=2024-10-17T18:14:32.210743922Z level=info msg="State cache has been initialized" states=0 duration=102.156969ms [36mgrafana |[0m logger=ngalert.scheduler t=2024-10-17T18:14:32.210901544Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 [36mgrafana |[0m logger=ticker t=2024-10-17T18:14:32.210989615Z level=info msg=starting first_tick=2024-10-17T18:14:40Z [36mgrafana |[0m logger=provisioning.dashboard t=2024-10-17T18:14:32.217153906Z level=info msg="starting to provision dashboards" [36mgrafana |[0m logger=sqlstore.transactions t=2024-10-17T18:14:32.314849616Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" [36mgrafana |[0m logger=sqlstore.transactions t=2024-10-17T18:14:32.325787411Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" [36mgrafana |[0m logger=sqlstore.transactions t=2024-10-17T18:14:32.336842927Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" [36mgrafana |[0m logger=sqlstore.transactions t=2024-10-17T18:14:32.356938192Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" [36mgrafana |[0m logger=plugin.angulardetectorsprovider.dynamic t=2024-10-17T18:14:32.361502372Z level=info msg="Patterns update finished" duration=103.257203ms [36mgrafana |[0m logger=sqlstore.transactions t=2024-10-17T18:14:32.368472924Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" [36mgrafana |[0m logger=provisioning.dashboard t=2024-10-17T18:14:32.469482378Z level=info msg="finished to provision dashboards" [36mgrafana |[0m logger=grafana-apiserver t=2024-10-17T18:14:32.504551361Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" [36mgrafana |[0m logger=grafana-apiserver t=2024-10-17T18:14:32.505007737Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" [36mgrafana |[0m logger=infra.usagestats t=2024-10-17T18:15:18.119334246Z level=info msg="Usage stats are ready to report" [35mpolicy-db-migrator |[0m 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1710241814291000u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1710241814291000u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1710241814291000u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 119 0100-upgrade.sql upgrade 1000 1100 1710241814291100u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1710241814291200u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 121 0110-idx_tsidx1.sql upgrade 1100 1200 1710241814291200u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 122 0120-audit_sequence.sql upgrade 1100 1200 1710241814291200u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 123 0130-statistics_sequence.sql upgrade 1100 1200 1710241814291200u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 124 0100-pdpstatistics.sql upgrade 1200 1300 1710241814291300u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1710241814291300u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m 126 0120-statistics_sequence.sql upgrade 1200 1300 1710241814291300u 1 2024-10-17 18:14:34 [35mpolicy-db-migrator |[0m policyadmin: OK @ 1300 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing prometheus ... done Removing policy-db-migrator ... done Removing grafana ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.mfiW5w0h4P ]] + rsync -av /tmp/tmp.mfiW5w0h4P/ /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,590 bytes received 95 bytes 2,691,370.00 bytes/sec total size is 1,344,941 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 2079 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/jenkins7713306683685514038.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2528879724283208241.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/jenkins14675034328429643046.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-cElj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-cElj/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13923254871445607285.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config10896020998404509267tmp 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/jenkins17501174157863977218.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins9673997021507795117.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-cElj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-cElj/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins7163779973941238418.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8300080994773028466.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-cElj 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-cElj/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/jenkins16056100898174966087.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-cElj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-cElj/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/341 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-77498 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 891 27209 0 4066 30819 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:b6:1b:3f brd ff:ff:ff:ff:ff:ff inet 10.30.106.14/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86071sec preferred_lft 86071sec inet6 fe80::f816:3eff:feb6:1b3f/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:79:b2:20:fd 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-77498) 10/17/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.45 37.25 285.21 1727.30 30103.51 18:14:01 128.00 23.06 104.93 2772.60 31152.41 18:15:01 401.13 12.98 388.15 825.53 86626.03 18:16:01 13.96 0.02 13.95 0.93 18583.17 Average: 215.94 18.25 197.69 1329.94 41664.44 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 29976116 31613600 2963104 9.00 72744 1872360 1461304 4.30 966124 1702336 203980 18:14:01 28399120 31602776 4540100 13.78 105088 3360268 1570872 4.62 1054080 3098468 1357636 18:15:01 26923896 30662804 6015324 18.26 129696 3830996 4215280 12.40 2084376 3476520 320 18:16:01 26939216 30679048 6000004 18.22 129740 3831720 4100900 12.07 2070796 3475472 784 Average: 28059587 31139557 4879633 14.81 109317 3223836 2837089 8.35 1543844 2938199 390680 18:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 ens3 113.20 81.17 1133.82 31.45 0.00 0.00 0.00 0.00 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:14:01 ens3 294.92 186.19 8182.39 17.45 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 8.20 8.20 0.76 0.76 0.00 0.00 0.00 0.00 18:14:01 br-c9da02032cca 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 vetheedcc92 0.05 0.25 0.00 0.02 0.00 0.00 0.00 0.00 18:15:01 ens3 71.00 45.19 2101.18 4.53 0.00 0.00 0.00 0.00 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 lo 8.07 8.07 8.44 8.44 0.00 0.00 0.00 0.00 18:16:01 vetheedcc92 0.77 1.03 0.10 0.88 0.00 0.00 0.00 0.00 18:16:01 ens3 3.12 3.02 0.85 1.14 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 8.17 8.17 0.56 0.56 0.00 0.00 0.00 0.00 Average: vetheedcc92 0.20 0.32 0.03 0.22 0.00 0.00 0.00 0.00 Average: ens3 120.59 78.88 2861.76 13.57 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 6.48 6.48 2.49 2.49 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-77498) 10/17/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.73 0.00 0.94 2.60 0.03 86.70 18:13:01 0 2.22 0.00 0.31 0.10 0.02 97.36 18:13:01 1 4.77 0.00 0.41 0.42 0.02 94.39 18:13:01 2 13.55 0.00 0.87 7.66 0.03 77.89 18:13:01 3 11.33 0.00 1.22 6.81 0.07 80.57 18:13:01 4 33.78 0.00 2.38 1.85 0.07 61.92 18:13:01 5 5.16 0.00 0.63 0.02 0.02 94.18 18:13:01 6 4.57 0.00 0.41 0.15 0.03 94.83 18:13:01 7 2.46 0.00 1.25 3.81 0.02 92.46 18:14:01 all 10.66 0.00 2.16 3.58 0.05 83.54 18:14:01 0 14.90 0.00 3.14 0.94 0.05 80.98 18:14:01 1 6.42 0.00 2.55 1.26 0.03 89.75 18:14:01 2 5.40 0.00 1.76 4.63 0.03 88.17 18:14:01 3 11.23 0.00 1.90 3.36 0.07 83.44 18:14:01 4 3.79 0.00 1.76 15.96 0.03 78.45 18:14:01 5 10.61 0.00 2.41 0.55 0.03 86.38 18:14:01 6 5.65 0.00 1.87 0.07 0.05 92.37 18:14:01 7 27.34 0.00 1.93 1.86 0.08 68.79 18:15:01 all 16.95 0.00 2.75 5.82 0.08 74.41 18:15:01 0 14.04 0.00 2.87 1.48 0.07 81.55 18:15:01 1 17.17 0.00 2.76 3.28 0.07 76.73 18:15:01 2 17.60 0.00 3.37 29.26 0.10 49.67 18:15:01 3 11.18 0.00 2.53 2.38 0.07 83.85 18:15:01 4 19.35 0.00 2.79 7.02 0.08 70.76 18:15:01 5 22.34 0.00 2.82 0.60 0.08 74.15 18:15:01 6 15.87 0.00 2.12 2.26 0.07 79.68 18:15:01 7 18.04 0.00 2.81 0.44 0.05 78.67 18:16:01 all 0.29 0.00 0.07 2.52 0.02 97.10 18:16:01 0 0.13 0.00 0.05 0.02 0.00 99.80 18:16:01 1 0.17 0.00 0.07 0.00 0.02 99.75 18:16:01 2 0.10 0.00 0.05 20.15 0.02 79.68 18:16:01 3 0.87 0.00 0.05 0.00 0.03 99.05 18:16:01 4 0.25 0.00 0.12 0.00 0.02 99.62 18:16:01 5 0.05 0.00 0.03 0.00 0.00 99.92 18:16:01 6 0.28 0.00 0.02 0.00 0.03 99.67 18:16:01 7 0.50 0.00 0.12 0.02 0.07 99.30 Average: all 9.39 0.00 1.48 3.63 0.04 85.45 Average: 0 7.83 0.00 1.59 0.63 0.03 89.92 Average: 1 7.12 0.00 1.44 1.24 0.03 90.16 Average: 2 9.12 0.00 1.51 15.43 0.05 73.89 Average: 3 8.63 0.00 1.42 3.12 0.06 86.77 Average: 4 14.21 0.00 1.76 6.21 0.05 77.77 Average: 5 9.54 0.00 1.47 0.29 0.03 88.66 Average: 6 6.60 0.00 1.10 0.62 0.05 91.63 Average: 7 12.09 0.00 1.53 1.53 0.05 84.81