Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-8614 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-london-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-91BGkbRYZPhE/agent.2076 SSH_AGENT_PID=2078 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_16162638409569520990.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_16162638409569520990.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-london-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/london^{commit} # timeout=10 Checking out Revision e830ea142a4b760cf152d9db92c451d74b2da1f2 (refs/remotes/origin/london) > git config core.sparsecheckout # timeout=10 > git checkout -f e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=30 Commit message: "Make update to allow local image to be used in Nordix" > git rev-list --no-walk e830ea142a4b760cf152d9db92c451d74b2da1f2 # 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-london-project-csit-api] $ /bin/bash /tmp/jenkins12089154845478213345.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-icKS 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-icKS/bin to PATH Generating Requirements File ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. Python 3.10.6 pip 24.0 from /tmp/venv-icKS/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.49 botocore==1.34.49 bs4==0.0.2 cachetools==5.3.2 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.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.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email-validator==2.1.0.post1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.1 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.9 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.4.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.2 typing_extensions==4.9.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins1208819042605389011.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-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins12945652563121330566.sh + /w/workspace/policy-api-london-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-london-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-london-project-csit-api/csit:/w/workspace/policy-api-london-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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-london-project-csit-api + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.p0XrHNxpTD ++ echo ROBOT_VENV=/tmp/tmp.p0XrHNxpTD +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.p0XrHNxpTD ++ source /tmp/tmp.p0XrHNxpTD/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.p0XrHNxpTD +++ 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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.p0XrHNxpTD/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.p0XrHNxpTD) ' '!=' x ']' +++ PS1='(tmp.p0XrHNxpTD) ' +++ 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-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.p0XrHNxpTD/src/onap ++ rm -rf /tmp/tmp.p0XrHNxpTD/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==2.9.2 certifi==2024.2.2 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.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.p0XrHNxpTD/bin/activate + '[' -z /tmp/tmp.p0XrHNxpTD/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.p0XrHNxpTD/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-london-project-csit-api/csit:/w/workspace/policy-api-london-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-london-project-csit-api/csit:/w/workspace/policy-api-london-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.p0XrHNxpTD ++ 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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.p0XrHNxpTD/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.p0XrHNxpTD) ' ++ '[' 'x(tmp.p0XrHNxpTD) ' '!=' x ']' ++ PS1='(tmp.p0XrHNxpTD) (tmp.p0XrHNxpTD) ' ++ 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-london-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.bBq3km2Cxq + cd /tmp/tmp.bBq3km2Cxq + 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-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-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-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-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-london-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:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:042258e3578a558ce41b036104dfa997b2d25151ab6889a3f4d6187e27b1176c Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds NAMES STATUS policy-api Up 30 seconds grafana Up 33 seconds mariadb Up 32 seconds prometheus Up 34 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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-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-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:36:02 up 3 min, 0 users, load average: 1.94, 0.83, 0.32 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.9 us, 2.2 sy, 0.0 ni, 83.2 id, 3.6 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 30 seconds grafana Up 34 seconds mariadb Up 32 seconds prometheus Up 35 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 37a841bb8bcf policy-api 0.20% 875.7MiB / 31.41GiB 2.72% 1.04MB / 739kB 0B / 0B 50 18118ec9c302 grafana 0.10% 52.29MiB / 31.41GiB 0.16% 18.6kB / 3.12kB 0B / 23.7MB 16 10c7ff4e799e mariadb 0.02% 100.8MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 71.2MB 29 af3907101e4d prometheus 0.00% 19.64MiB / 31.41GiB 0.06% 1.52kB / 158B 229kB / 0B 12 + echo + cd /tmp/tmp.bBq3km2Cxq + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | 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 | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | 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 | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.bBq3km2Cxq/output.xml Log: /tmp/tmp.bBq3km2Cxq/log.html Report: /tmp/tmp.bBq3km2Cxq/report.html + RESULT=0 + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:13 up 5 min, 0 users, load average: 0.61, 0.67, 0.30 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 1.7 sy, 0.0 ni, 86.0 id, 2.9 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 37a841bb8bcf policy-api 0.49% 911.2MiB / 31.41GiB 2.83% 7.32MB / 2.87MB 0B / 0B 53 18118ec9c302 grafana 0.02% 58.65MiB / 31.41GiB 0.18% 19.6kB / 4.39kB 0B / 23.7MB 16 10c7ff4e799e mariadb 0.02% 101.6MiB / 31.41GiB 0.32% 2.75MB / 7.36MB 11MB / 71.3MB 18 af3907101e4d prometheus 0.00% 25.76MiB / 31.41GiB 0.08% 38.1kB / 7.16kB 229kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-02-25T11:35:27.984969127Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-02-25T11:35:27Z grafana | logger=settings t=2024-02-25T11:35:27.985331436Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-25T11:35:27.985342196Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-25T11:35:27.985346787Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-25T11:35:27.985351447Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-25T11:35:27.985361548Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-25T11:35:27.985367258Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-25T11:35:27.985372629Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-25T11:35:27.985378019Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-25T11:35:27.985382299Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-25T11:35:27.98538532Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-25T11:35:27.985389Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-25T11:35:27.98539326Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-25T11:35:27.985399591Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-25T11:35:27.985404441Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-25T11:35:27.985408191Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-25T11:35:27.985413972Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-25T11:35:27.985417722Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-25T11:35:27.985422583Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-25T11:35:27.986623577Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-25T11:35:27.986667211Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-02-25T11:35:27.987863195Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-02-25T11:35:27.988970202Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-02-25T11:35:27.990004973Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.023852ms grafana | logger=migrator t=2024-02-25T11:35:27.995917928Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-02-25T11:35:27.996827129Z level=info msg="Migration successfully executed" id="create user table" duration=914.881µs grafana | logger=migrator t=2024-02-25T11:35:28.0022935Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-02-25T11:35:28.003029408Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=735.448µs grafana | logger=migrator t=2024-02-25T11:35:28.006630666Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-02-25T11:35:28.007795003Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.162707ms grafana | logger=migrator t=2024-02-25T11:35:28.012412425Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-02-25T11:35:28.013504485Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.096431ms grafana | logger=migrator t=2024-02-25T11:35:28.019082836Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-02-25T11:35:28.020095748Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.013441ms grafana | logger=migrator t=2024-02-25T11:35:28.023375255Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-02-25T11:35:28.026090237Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.714232ms grafana | logger=migrator t=2024-02-25T11:35:28.02931677Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-02-25T11:35:28.029980657Z level=info msg="Migration successfully executed" id="create user table v2" duration=663.946µs grafana | logger=migrator t=2024-02-25T11:35:28.035575196Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-02-25T11:35:28.036322391Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=746.295µs grafana | logger=migrator t=2024-02-25T11:35:28.039592948Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-02-25T11:35:28.040300519Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=707.001µs grafana | logger=migrator t=2024-02-25T11:35:28.043602198Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-02-25T11:35:28.043973516Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=370.668µs grafana | logger=migrator t=2024-02-25T11:35:28.04951577Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-02-25T11:35:28.049973686Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=458.165µs grafana | logger=migrator t=2024-02-25T11:35:28.053186617Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-02-25T11:35:28.054258644Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.071477ms grafana | logger=migrator t=2024-02-25T11:35:28.05731762Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-02-25T11:35:28.057345943Z level=info msg="Migration successfully executed" id="Update user table charset" duration=32.133µs grafana | logger=migrator t=2024-02-25T11:35:28.060321291Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-02-25T11:35:28.061351774Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.030084ms grafana | logger=migrator t=2024-02-25T11:35:28.067149314Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-02-25T11:35:28.06751372Z level=info msg="Migration successfully executed" id="Add missing user data" duration=367.046µs grafana | logger=migrator t=2024-02-25T11:35:28.070684297Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-02-25T11:35:28.072377186Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.692059ms grafana | logger=migrator t=2024-02-25T11:35:28.075928051Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-02-25T11:35:28.076635022Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=706.36µs grafana | logger=migrator t=2024-02-25T11:35:28.079398988Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-02-25T11:35:28.080540433Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.140324ms grafana | logger=migrator t=2024-02-25T11:35:28.085646593Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-02-25T11:35:28.095136312Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.492179ms grafana | logger=migrator t=2024-02-25T11:35:28.098931692Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-02-25T11:35:28.099635942Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=703.301µs grafana | logger=migrator t=2024-02-25T11:35:28.103141823Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-02-25T11:35:28.103905609Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=762.537µs grafana | logger=migrator t=2024-02-25T11:35:28.108953575Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-02-25T11:35:28.110159684Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.20539ms grafana | logger=migrator t=2024-02-25T11:35:28.113550164Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-25T11:35:28.114788438Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.238204ms grafana | logger=migrator t=2024-02-25T11:35:28.118022061Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-25T11:35:28.118820271Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=797.33µs grafana | logger=migrator t=2024-02-25T11:35:28.124185667Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-25T11:35:28.12421706Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=32.033µs grafana | logger=migrator t=2024-02-25T11:35:28.12741566Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-02-25T11:35:28.128625172Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.209331ms grafana | logger=migrator t=2024-02-25T11:35:28.132062396Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-25T11:35:28.1332096Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.146664ms grafana | logger=migrator t=2024-02-25T11:35:28.138457595Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-25T11:35:28.139185628Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=727.132µs grafana | logger=migrator t=2024-02-25T11:35:28.142477146Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-25T11:35:28.143318001Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=839.435µs grafana | logger=migrator t=2024-02-25T11:35:28.146896289Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-25T11:35:28.152832582Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.935403ms grafana | logger=migrator t=2024-02-25T11:35:28.158038993Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-02-25T11:35:28.158747474Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=707.291µs grafana | logger=migrator t=2024-02-25T11:35:28.161880157Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-25T11:35:28.162578747Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=697.719µs grafana | logger=migrator t=2024-02-25T11:35:28.16580579Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-25T11:35:28.166517321Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=710.601µs grafana | logger=migrator t=2024-02-25T11:35:28.169670516Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-25T11:35:28.170369586Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=696.61µs grafana | logger=migrator t=2024-02-25T11:35:28.175278697Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-25T11:35:28.175986537Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=706.721µs grafana | logger=migrator t=2024-02-25T11:35:28.179289018Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-25T11:35:28.179682758Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=393.85µs grafana | logger=migrator t=2024-02-25T11:35:28.182623842Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-25T11:35:28.183125502Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=501.371µs grafana | logger=migrator t=2024-02-25T11:35:28.188342393Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-25T11:35:28.188661935Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=317.442µs grafana | logger=migrator t=2024-02-25T11:35:28.191816371Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-25T11:35:28.192677107Z level=info msg="Migration successfully executed" id="create star table" duration=860.295µs grafana | logger=migrator t=2024-02-25T11:35:28.195944174Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-25T11:35:28.19711303Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.164375ms grafana | logger=migrator t=2024-02-25T11:35:28.20210712Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-25T11:35:28.203103029Z level=info msg="Migration successfully executed" id="create org table v1" duration=995.519µs grafana | logger=migrator t=2024-02-25T11:35:28.207779427Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-02-25T11:35:28.208523042Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=743.174µs grafana | logger=migrator t=2024-02-25T11:35:28.211581267Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-25T11:35:28.212242943Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=660.806µs grafana | logger=migrator t=2024-02-25T11:35:28.215238303Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-25T11:35:28.216433303Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.19417ms grafana | logger=migrator t=2024-02-25T11:35:28.221273057Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-25T11:35:28.222435813Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.162777ms grafana | logger=migrator t=2024-02-25T11:35:28.225576667Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-25T11:35:28.226709961Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.132234ms grafana | logger=migrator t=2024-02-25T11:35:28.229978597Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-25T11:35:28.230018421Z level=info msg="Migration successfully executed" id="Update org table charset" duration=39.774µs grafana | logger=migrator t=2024-02-25T11:35:28.232375177Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-25T11:35:28.23240272Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=27.622µs grafana | logger=migrator t=2024-02-25T11:35:28.237354555Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-25T11:35:28.237545924Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=190.528µs grafana | logger=migrator t=2024-02-25T11:35:28.240735163Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-25T11:35:28.241715731Z level=info msg="Migration successfully executed" id="create dashboard table" duration=976.577µs grafana | logger=migrator t=2024-02-25T11:35:28.244861676Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-25T11:35:28.246064685Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.198109ms grafana | logger=migrator t=2024-02-25T11:35:28.286854955Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-02-25T11:35:28.288323172Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.466987ms grafana | logger=migrator t=2024-02-25T11:35:28.294058025Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-02-25T11:35:28.295086528Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.028732ms grafana | logger=migrator t=2024-02-25T11:35:28.298489758Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-02-25T11:35:28.299348975Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=858.527µs grafana | logger=migrator t=2024-02-25T11:35:28.302287909Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-02-25T11:35:28.303035543Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=746.055µs grafana | logger=migrator t=2024-02-25T11:35:28.308544414Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-02-25T11:35:28.314883718Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.338614ms grafana | logger=migrator t=2024-02-25T11:35:28.317885278Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-02-25T11:35:28.318533063Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=646.985µs grafana | logger=migrator t=2024-02-25T11:35:28.321315551Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-02-25T11:35:28.322090869Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=773.647µs grafana | logger=migrator t=2024-02-25T11:35:28.32730534Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-02-25T11:35:28.328165017Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=858.926µs grafana | logger=migrator t=2024-02-25T11:35:28.331090579Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-02-25T11:35:28.331605641Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=514.491µs grafana | logger=migrator t=2024-02-25T11:35:28.334575718Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-02-25T11:35:28.335809661Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.231264ms grafana | logger=migrator t=2024-02-25T11:35:28.340887409Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-02-25T11:35:28.340980748Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=93.429µs grafana | logger=migrator t=2024-02-25T11:35:28.344072317Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-02-25T11:35:28.346273758Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.198121ms grafana | logger=migrator t=2024-02-25T11:35:28.349022392Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-02-25T11:35:28.350770747Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.748336ms grafana | logger=migrator t=2024-02-25T11:35:28.353773657Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-02-25T11:35:28.355454456Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.680978ms grafana | logger=migrator t=2024-02-25T11:35:28.360573037Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-02-25T11:35:28.361382938Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=809.881µs grafana | logger=migrator t=2024-02-25T11:35:28.364227753Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-02-25T11:35:28.366636564Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.407162ms grafana | logger=migrator t=2024-02-25T11:35:28.369767967Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" mariadb | 2024-02-25 11:35:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-25 11:35:29+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-02-25 11:35:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-25 11:35:29+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-02-25 11:35:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-25 11:35:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-25 11:35:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-02-25 11:35:32+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-02-25 11:35:32+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-02-25 11:35:32+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-02-25 11:35:32 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-02-25 11:35:32 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-25 11:35:32 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-25 11:35:32 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-25 11:35:32 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-25 11:35:32 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-25 11:35:32 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-25 11:35:32 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-25 11:35:32 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-25 11:35:32 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-25 11:35:32 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-25 11:35:32 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-25 11:35:32 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-25 11:35:32 0 [Note] InnoDB: log sequence number 46456; transaction id 14 mariadb | 2024-02-25 11:35:32 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-25 11:35:32 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-25 11:35:32 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-25 11:35:32 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-25 11:35:32 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-02-25 11:35:33+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-02-25 11:35:35+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-02-25 11:35:35+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-02-25 11:35:35+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-02-25 11:35:35+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved grafana | logger=migrator t=2024-02-25T11:35:28.371448634Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.679038ms grafana | logger=migrator t=2024-02-25T11:35:28.376737414Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-02-25T11:35:28.377540234Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=801.6µs grafana | logger=migrator t=2024-02-25T11:35:28.380488428Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-02-25T11:35:28.380513251Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=24.663µs grafana | logger=migrator t=2024-02-25T11:35:28.383273327Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-02-25T11:35:28.38330044Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=27.362µs grafana | logger=migrator t=2024-02-25T11:35:28.387418852Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-02-25T11:35:28.389541204Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.120762ms grafana | logger=migrator t=2024-02-25T11:35:28.394729933Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-02-25T11:35:28.397516032Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.786509ms grafana | logger=migrator t=2024-02-25T11:35:28.400827452Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-02-25T11:35:28.403186959Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.358557ms grafana | logger=migrator t=2024-02-25T11:35:28.407379428Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-02-25T11:35:28.409303421Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.923113ms grafana | logger=migrator t=2024-02-25T11:35:28.41470521Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-02-25T11:35:28.41489705Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=190.01µs grafana | logger=migrator t=2024-02-25T11:35:28.417840434Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-02-25T11:35:28.418564467Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=723.413µs grafana | logger=migrator t=2024-02-25T11:35:28.422390409Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-02-25T11:35:28.423075898Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=685.228µs grafana | logger=migrator t=2024-02-25T11:35:28.425988509Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-02-25T11:35:28.426038484Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=49.795µs grafana | logger=migrator t=2024-02-25T11:35:28.428559136Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-02-25T11:35:28.429493359Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=933.203µs grafana | logger=migrator t=2024-02-25T11:35:28.433901101Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-02-25T11:35:28.434943644Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.044424ms grafana | logger=migrator t=2024-02-25T11:35:28.43819528Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-25T11:35:28.446186129Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.990948ms grafana | logger=migrator t=2024-02-25T11:35:28.449202581Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-02-25T11:35:28.449642444Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=439.223µs grafana | logger=migrator t=2024-02-25T11:35:28.452558036Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-02-25T11:35:28.453214071Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=656.155µs grafana | logger=migrator t=2024-02-25T11:35:28.457317072Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-02-25T11:35:28.458635924Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.317712ms grafana | logger=migrator t=2024-02-25T11:35:28.461808612Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-02-25T11:35:28.4622964Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=488.138µs grafana | logger=migrator t=2024-02-25T11:35:28.465462257Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-02-25T11:35:28.466031944Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=567.637µs grafana | logger=migrator t=2024-02-25T11:35:28.47009975Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-02-25T11:35:28.472110651Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.006431ms grafana | logger=migrator t=2024-02-25T11:35:28.475121513Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-02-25T11:35:28.475936744Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=814.831µs grafana | logger=migrator t=2024-02-25T11:35:28.478962227Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-02-25T11:35:28.479247905Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=283.828µs grafana | logger=migrator t=2024-02-25T11:35:28.483335434Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-02-25T11:35:28.483650006Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=315.012µs grafana | logger=migrator t=2024-02-25T11:35:28.487153106Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-02-25T11:35:28.48849609Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.341914ms grafana | logger=migrator t=2024-02-25T11:35:28.491841964Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-02-25T11:35:28.493929603Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.087299ms grafana | logger=migrator t=2024-02-25T11:35:28.497773528Z level=info msg="Executing migration" id="create data_source table" mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-02-25 11:35:36+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-02-25 11:35:36 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Buffer pool(s) dump completed at 240225 11:35:36 mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Shutdown completed; log sequence number 330644; transaction id 298 mariadb | 2024-02-25 11:35:36 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-02-25 11:35:36+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-02-25 11:35:36+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-02-25 11:35:36 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-25 11:35:36 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-25 11:35:36 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-25 11:35:36 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-02-25T11:35:28.498604781Z level=info msg="Migration successfully executed" id="create data_source table" duration=830.283µs grafana | logger=migrator t=2024-02-25T11:35:28.502740545Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-02-25T11:35:28.503466227Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=727.693µs grafana | logger=migrator t=2024-02-25T11:35:28.506883239Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-02-25T11:35:28.507660517Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=775.727µs grafana | logger=migrator t=2024-02-25T11:35:28.514561757Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-02-25T11:35:28.515283199Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=721.122µs grafana | logger=migrator t=2024-02-25T11:35:28.518430893Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-02-25T11:35:28.519601311Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.169807ms grafana | logger=migrator t=2024-02-25T11:35:28.52289553Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-02-25T11:35:28.533164177Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.270866ms grafana | logger=migrator t=2024-02-25T11:35:28.537272758Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-02-25T11:35:28.538227144Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=954.467µs grafana | logger=migrator t=2024-02-25T11:35:28.541623054Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-02-25T11:35:28.542439105Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=816.642µs grafana | logger=migrator t=2024-02-25T11:35:28.545749895Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-02-25T11:35:28.546568258Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=818.243µs grafana | logger=migrator t=2024-02-25T11:35:28.550449436Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-02-25T11:35:28.550947746Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=498.17µs grafana | logger=migrator t=2024-02-25T11:35:28.55439117Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-02-25T11:35:28.558052256Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.659806ms grafana | logger=migrator t=2024-02-25T11:35:28.561539015Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-02-25T11:35:28.563972578Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.434383ms grafana | logger=migrator t=2024-02-25T11:35:28.568182649Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-02-25T11:35:28.568207002Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=24.804µs grafana | logger=migrator t=2024-02-25T11:35:28.571432094Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-02-25T11:35:28.571550876Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=119.512µs grafana | logger=migrator t=2024-02-25T11:35:28.574754837Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-02-25T11:35:28.576371338Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=1.614201ms grafana | logger=migrator t=2024-02-25T11:35:28.580664087Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-02-25T11:35:28.580933955Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=270.407µs grafana | logger=migrator t=2024-02-25T11:35:28.58438933Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-02-25T11:35:28.584628084Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=238.823µs grafana | logger=migrator t=2024-02-25T11:35:28.587953747Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-02-25T11:35:28.591603281Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.648625ms grafana | logger=migrator t=2024-02-25T11:35:28.594955437Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-02-25T11:35:28.595324723Z level=info msg="Migration successfully executed" id="Update uid value" duration=367.017µs grafana | logger=migrator t=2024-02-25T11:35:28.599531434Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-02-25T11:35:28.600124933Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=593.629µs grafana | logger=migrator t=2024-02-25T11:35:28.603052316Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-02-25T11:35:28.603620083Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=566.617µs grafana | logger=migrator t=2024-02-25T11:35:28.607340235Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-02-25T11:35:28.608049226Z level=info msg="Migration successfully executed" id="create api_key table" duration=708.021µs grafana | logger=migrator t=2024-02-25T11:35:28.612028324Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-02-25T11:35:28.612783009Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=754.165µs grafana | logger=migrator t=2024-02-25T11:35:28.616250876Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-02-25T11:35:28.617523003Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.272557ms grafana | logger=migrator t=2024-02-25T11:35:28.620927464Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-02-25T11:35:28.621741965Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=813.821µs grafana | logger=migrator t=2024-02-25T11:35:28.627770459Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-02-25T11:35:28.628677689Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=906.101µs grafana | logger=migrator t=2024-02-25T11:35:28.632075929Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-02-25T11:35:28.633233354Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.156085ms mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: log sequence number 330644; transaction id 299 mariadb | 2024-02-25 11:35:36 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-25 11:35:36 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-25 11:35:36 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-02-25 11:35:36 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-02-25 11:35:36 0 [Note] Server socket created on IP: '::'. mariadb | 2024-02-25 11:35:36 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-02-25 11:35:36 0 [Note] InnoDB: Buffer pool(s) load completed at 240225 11:35:36 mariadb | 2024-02-25 11:35:37 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-02-25 11:35:37 23 [Warning] Aborted connection 23 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2024-02-25T11:35:28.636848286Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-02-25T11:35:28.637636905Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=786.719µs grafana | logger=migrator t=2024-02-25T11:35:28.642102581Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-02-25T11:35:28.650496581Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.39316ms grafana | logger=migrator t=2024-02-25T11:35:28.65408394Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-02-25T11:35:28.654724124Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=639.664µs grafana | logger=migrator t=2024-02-25T11:35:28.659027264Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-02-25T11:35:28.659541856Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=514.341µs grafana | logger=migrator t=2024-02-25T11:35:28.662792311Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-02-25T11:35:28.665367728Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=2.573326ms grafana | logger=migrator t=2024-02-25T11:35:28.669922114Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-02-25T11:35:28.671057697Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.136394ms grafana | logger=migrator t=2024-02-25T11:35:28.674359167Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-02-25T11:35:28.674875379Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=515.662µs grafana | logger=migrator t=2024-02-25T11:35:28.6799882Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-02-25T11:35:28.680923254Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=935.653µs grafana | logger=migrator t=2024-02-25T11:35:28.684267608Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-02-25T11:35:28.684314723Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=43.924µs grafana | logger=migrator t=2024-02-25T11:35:28.68769106Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-02-25T11:35:28.692275589Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.580489ms grafana | logger=migrator t=2024-02-25T11:35:28.698071269Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-02-25T11:35:28.70088935Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.817392ms grafana | logger=migrator t=2024-02-25T11:35:28.704335085Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-02-25T11:35:28.704542436Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=207.22µs grafana | logger=migrator t=2024-02-25T11:35:28.707541606Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-02-25T11:35:28.709743236Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.20514ms grafana | logger=migrator t=2024-02-25T11:35:28.713114633Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-02-25T11:35:28.71597875Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.831824ms grafana | logger=migrator t=2024-02-25T11:35:28.722031545Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-02-25T11:35:28.723748527Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.719332ms grafana | logger=migrator t=2024-02-25T11:35:28.727417643Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-02-25T11:35:28.728164688Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=746.455µs grafana | logger=migrator t=2024-02-25T11:35:28.736766378Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-02-25T11:35:28.73808785Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.322702ms grafana | logger=migrator t=2024-02-25T11:35:28.741440466Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-02-25T11:35:28.742749047Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.308ms grafana | logger=migrator t=2024-02-25T11:35:28.746188051Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-02-25T11:35:28.747195441Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.003899ms grafana | logger=migrator t=2024-02-25T11:35:28.752694011Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-02-25T11:35:28.754021354Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.327213ms grafana | logger=migrator t=2024-02-25T11:35:28.757522484Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-02-25T11:35:28.757672539Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=150.945µs grafana | logger=migrator t=2024-02-25T11:35:28.761273929Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-02-25T11:35:28.761327634Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=59.856µs grafana | logger=migrator t=2024-02-25T11:35:28.764442386Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-02-25T11:35:28.767557427Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.111011ms grafana | logger=migrator t=2024-02-25T11:35:28.772666549Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-02-25T11:35:28.775531815Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.863126ms grafana | logger=migrator t=2024-02-25T11:35:28.778546697Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-02-25T11:35:28.778621874Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=75.608µs grafana | logger=migrator t=2024-02-25T11:35:28.781611233Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-02-25T11:35:28.782461669Z level=info msg="Migration successfully executed" id="create quota table v1" duration=846.276µs grafana | logger=migrator t=2024-02-25T11:35:28.787253517Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-02-25T11:35:28.788822705Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.569088ms grafana | logger=migrator t=2024-02-25T11:35:28.792517834Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-02-25T11:35:28.792573219Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=57.516µs grafana | logger=migrator t=2024-02-25T11:35:28.796300912Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-02-25T11:35:28.79728115Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=981.649µs grafana | logger=migrator t=2024-02-25T11:35:28.801633735Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-02-25T11:35:28.802506082Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=871.727µs grafana | logger=migrator t=2024-02-25T11:35:28.806130955Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-02-25T11:35:28.809363088Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.231563ms grafana | logger=migrator t=2024-02-25T11:35:28.813006283Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-02-25T11:35:28.813048127Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=42.234µs grafana | logger=migrator t=2024-02-25T11:35:28.817146467Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-02-25T11:35:28.817966808Z level=info msg="Migration successfully executed" id="create session table" duration=819.672µs grafana | logger=migrator t=2024-02-25T11:35:28.821545136Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-02-25T11:35:28.821636135Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=91.269µs grafana | logger=migrator t=2024-02-25T11:35:28.82498188Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-02-25T11:35:28.825064588Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=82.748µs grafana | logger=migrator t=2024-02-25T11:35:28.828604322Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-02-25T11:35:28.829299502Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=694.969µs grafana | logger=migrator t=2024-02-25T11:35:28.833708893Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-02-25T11:35:28.83437991Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=670.777µs grafana | logger=migrator t=2024-02-25T11:35:28.837898762Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-02-25T11:35:28.837935566Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=36.914µs grafana | logger=migrator t=2024-02-25T11:35:28.84077869Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-02-25T11:35:28.840809343Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=31.423µs grafana | logger=migrator t=2024-02-25T11:35:28.844938626Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-02-25T11:35:28.848251657Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.311ms grafana | logger=migrator t=2024-02-25T11:35:28.851603402Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-02-25T11:35:28.854789401Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.184429ms grafana | logger=migrator t=2024-02-25T11:35:28.858067129Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-02-25T11:35:28.858156378Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=89.339µs grafana | logger=migrator t=2024-02-25T11:35:28.861414963Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-02-25T11:35:28.861522224Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=107.471µs grafana | logger=migrator t=2024-02-25T11:35:28.865969899Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-02-25T11:35:28.867096271Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.126702ms grafana | logger=migrator t=2024-02-25T11:35:28.872238016Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-02-25T11:35:28.872284711Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=48.585µs grafana | logger=migrator t=2024-02-25T11:35:28.875797962Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-02-25T11:35:28.880814264Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.010501ms grafana | logger=migrator t=2024-02-25T11:35:28.885092772Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-02-25T11:35:28.885250107Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=156.476µs grafana | logger=migrator t=2024-02-25T11:35:28.888329436Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-02-25T11:35:28.891512053Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.181658ms grafana | logger=migrator t=2024-02-25T11:35:28.894587662Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-02-25T11:35:28.897999993Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.409541ms grafana | logger=migrator t=2024-02-25T11:35:28.901463718Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-02-25T11:35:28.901536296Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=73.388µs grafana | logger=migrator t=2024-02-25T11:35:28.905660178Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-02-25T11:35:28.906633096Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=972.938µs grafana | logger=migrator t=2024-02-25T11:35:28.909944847Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-02-25T11:35:28.911157618Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.212381ms grafana | logger=migrator t=2024-02-25T11:35:28.914846027Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-02-25T11:35:28.916436776Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.584278ms grafana | logger=migrator t=2024-02-25T11:35:28.921031085Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-02-25T11:35:28.922003083Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=971.568µs grafana | logger=migrator t=2024-02-25T11:35:28.925587341Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-02-25T11:35:28.926931576Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.345034ms grafana | logger=migrator t=2024-02-25T11:35:28.931785731Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-02-25T11:35:28.933215094Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.436844ms grafana | logger=migrator t=2024-02-25T11:35:28.937904404Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-02-25T11:35:28.939237736Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.335243ms grafana | logger=migrator t=2024-02-25T11:35:28.943082161Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-02-25T11:35:28.944249108Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.166737ms grafana | logger=migrator t=2024-02-25T11:35:28.948743957Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-02-25T11:35:28.949762208Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.018511ms grafana | logger=migrator t=2024-02-25T11:35:28.986653368Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-02-25T11:35:29.002694622Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=16.047345ms grafana | logger=migrator t=2024-02-25T11:35:29.00655234Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-02-25T11:35:29.007096434Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=543.573µs grafana | logger=migrator t=2024-02-25T11:35:29.011786795Z 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" grafana | logger=migrator t=2024-02-25T11:35:29.01352679Z 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=1.739576ms grafana | logger=migrator t=2024-02-25T11:35:29.017427801Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-02-25T11:35:29.018043953Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=616.241µs grafana | logger=migrator t=2024-02-25T11:35:29.021596169Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-02-25T11:35:29.022228703Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=632.144µs grafana | logger=migrator t=2024-02-25T11:35:29.026462028Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-02-25T11:35:29.027375999Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=908.171µs grafana | logger=migrator t=2024-02-25T11:35:29.031292933Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-02-25T11:35:29.037068432Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.77913ms grafana | logger=migrator t=2024-02-25T11:35:29.040467573Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-02-25T11:35:29.043999858Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.531344ms grafana | logger=migrator t=2024-02-25T11:35:29.049647424Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-02-25T11:35:29.053308772Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.660537ms grafana | logger=migrator t=2024-02-25T11:35:29.056832495Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-02-25T11:35:29.060508565Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.67821ms grafana | logger=migrator t=2024-02-25T11:35:29.064381273Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-02-25T11:35:29.065389355Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.007592ms grafana | logger=migrator t=2024-02-25T11:35:29.069964063Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-02-25T11:35:29.070179515Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=214.941µs grafana | logger=migrator t=2024-02-25T11:35:29.07400978Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-02-25T11:35:29.074220821Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=210.461µs grafana | logger=migrator t=2024-02-25T11:35:29.0778037Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-02-25T11:35:29.078757106Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=951.306µs grafana | logger=migrator t=2024-02-25T11:35:29.082264598Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-25T11:35:29.083315473Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.053115ms grafana | logger=migrator t=2024-02-25T11:35:29.08766912Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-02-25T11:35:29.088611345Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=941.735µs grafana | logger=migrator t=2024-02-25T11:35:29.092134689Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-02-25T11:35:29.093110706Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=974.627µs grafana | logger=migrator t=2024-02-25T11:35:29.096594866Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-25T11:35:29.097658123Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.063467ms grafana | logger=migrator t=2024-02-25T11:35:29.102922851Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-02-25T11:35:29.106730844Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.807233ms grafana | logger=migrator t=2024-02-25T11:35:29.111799892Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-02-25T11:35:29.115389833Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.58989ms grafana | logger=migrator t=2024-02-25T11:35:29.121762892Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-02-25T11:35:29.12194487Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=181.398µs grafana | logger=migrator t=2024-02-25T11:35:29.125437871Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-02-25T11:35:29.126256684Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=818.353µs grafana | logger=migrator t=2024-02-25T11:35:29.131073156Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-02-25T11:35:29.132364096Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.29ms grafana | logger=migrator t=2024-02-25T11:35:29.135903051Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-02-25T11:35:29.141657859Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.755228ms grafana | logger=migrator t=2024-02-25T11:35:29.145992204Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-02-25T11:35:29.146332778Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=341.113µs grafana | logger=migrator t=2024-02-25T11:35:29.154687727Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-02-25T11:35:29.156339593Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.655027ms grafana | logger=migrator t=2024-02-25T11:35:29.159947085Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-02-25T11:35:29.161383579Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.437555ms grafana | logger=migrator t=2024-02-25T11:35:29.167547438Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-02-25T11:35:29.167633686Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=86.298µs grafana | logger=migrator t=2024-02-25T11:35:29.170582392Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-02-25T11:35:29.171745459Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.160437ms grafana | logger=migrator t=2024-02-25T11:35:29.17534739Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-02-25T11:35:29.177054781Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.707331ms grafana | logger=migrator t=2024-02-25T11:35:29.185759416Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-02-25T11:35:29.187811251Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=2.049375ms grafana | logger=migrator t=2024-02-25T11:35:29.19667379Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-02-25T11:35:29.198002014Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.327663ms grafana | logger=migrator t=2024-02-25T11:35:29.201830949Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-02-25T11:35:29.2035451Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.712533ms grafana | logger=migrator t=2024-02-25T11:35:29.207012048Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-02-25T11:35:29.208070404Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.057426ms grafana | logger=migrator t=2024-02-25T11:35:29.212472806Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-02-25T11:35:29.212502299Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=29.803µs grafana | logger=migrator t=2024-02-25T11:35:29.215846255Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-02-25T11:35:29.222557758Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.710483ms grafana | logger=migrator t=2024-02-25T11:35:29.229279773Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-02-25T11:35:29.230013047Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=733.464µs grafana | logger=migrator t=2024-02-25T11:35:29.234299977Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-02-25T11:35:29.242765246Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=8.46854ms grafana | logger=migrator t=2024-02-25T11:35:29.246548876Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-02-25T11:35:29.247052697Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=502.85µs grafana | logger=migrator t=2024-02-25T11:35:29.252754809Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-02-25T11:35:29.254097744Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.341265ms grafana | logger=migrator t=2024-02-25T11:35:29.262168384Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-02-25T11:35:29.263516679Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.353816ms grafana | logger=migrator t=2024-02-25T11:35:29.26960388Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-02-25T11:35:29.28564517Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.0352ms grafana | logger=migrator t=2024-02-25T11:35:29.293725411Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-02-25T11:35:29.294362005Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=638.595µs grafana | logger=migrator t=2024-02-25T11:35:29.296451615Z 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" grafana | logger=migrator t=2024-02-25T11:35:29.29710035Z 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=649.095µs grafana | logger=migrator t=2024-02-25T11:35:29.299913092Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-02-25T11:35:29.300118993Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=203.69µs prometheus | ts=2024-02-25T11:35:27.055Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-02-25T11:35:27.055Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.0, branch=HEAD, revision=814b920e8a6345d35712b5857ebd4cb5e90fc107)" prometheus | ts=2024-02-25T11:35:27.055Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@384077e1cf50, date=20240222-09:38:19, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-02-25T11:35:27.055Z caller=main.go:614 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))" prometheus | ts=2024-02-25T11:35:27.055Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-02-25T11:35:27.056Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-02-25T11:35:27.060Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-02-25T11:35:27.060Z caller=main.go:1118 level=info msg="Starting TSDB ..." prometheus | ts=2024-02-25T11:35:27.066Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-02-25T11:35:27.067Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-02-25T11:35:27.069Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-02-25T11:35:27.069Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.59µs prometheus | ts=2024-02-25T11:35:27.069Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-02-25T11:35:27.070Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-02-25T11:35:27.070Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=27.272µs wal_replay_duration=521.042µs wbl_replay_duration=260ns total_replay_duration=569.035µs prometheus | ts=2024-02-25T11:35:27.072Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-02-25T11:35:27.072Z caller=main.go:1142 level=info msg="TSDB started" prometheus | ts=2024-02-25T11:35:27.072Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-02-25T11:35:27.073Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.013889ms db_storage=1.77µs remote_storage=2.45µs web_handler=420ns query_engine=990ns scrape=306.584µs scrape_sd=123.5µs notify=24.792µs notify_sd=9.98µs rules=2.41µs tracing=7.59µs prometheus | ts=2024-02-25T11:35:27.073Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-02-25T11:35:27.073Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-02-25T11:35:29.30726699Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-02-25T11:35:29.308221395Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=957.256µs grafana | logger=migrator t=2024-02-25T11:35:29.312230998Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-02-25T11:35:29.312694075Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=469.847µs grafana | logger=migrator t=2024-02-25T11:35:29.317295966Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-02-25T11:35:29.321643073Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.346777ms grafana | logger=migrator t=2024-02-25T11:35:29.324830402Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-02-25T11:35:29.328850486Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.019454ms grafana | logger=migrator t=2024-02-25T11:35:29.331734395Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-02-25T11:35:29.333643237Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.907412ms grafana | logger=migrator t=2024-02-25T11:35:29.33924836Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-02-25T11:35:29.340413246Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.170787ms grafana | logger=migrator t=2024-02-25T11:35:29.344201377Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-02-25T11:35:29.344609607Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=413.501µs grafana | logger=migrator t=2024-02-25T11:35:29.348099137Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-02-25T11:35:29.352872077Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.771139ms grafana | logger=migrator t=2024-02-25T11:35:29.358155807Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-02-25T11:35:29.35928562Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.128023ms grafana | logger=migrator t=2024-02-25T11:35:29.362613364Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-02-25T11:35:29.362824775Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=212.721µs grafana | logger=migrator t=2024-02-25T11:35:29.365996744Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-02-25T11:35:29.366435779Z level=info msg="Migration successfully executed" id="Move region to single row" duration=439.834µs grafana | logger=migrator t=2024-02-25T11:35:29.369687184Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-02-25T11:35:29.370335359Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=648.185µs grafana | logger=migrator t=2024-02-25T11:35:29.376404289Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-02-25T11:35:29.377965315Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.566917ms grafana | logger=migrator t=2024-02-25T11:35:29.381612971Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-25T11:35:29.382551096Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=937.355µs grafana | logger=migrator t=2024-02-25T11:35:29.388249118Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-25T11:35:29.389155638Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=904.251µs grafana | logger=migrator t=2024-02-25T11:35:29.392228616Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-02-25T11:35:29.393025337Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=796.651µs grafana | logger=migrator t=2024-02-25T11:35:29.397666122Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-02-25T11:35:29.399182444Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.516602ms grafana | logger=migrator t=2024-02-25T11:35:29.403590847Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-02-25T11:35:29.403709029Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=119.552µs grafana | logger=migrator t=2024-02-25T11:35:29.407187028Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-02-25T11:35:29.408033553Z level=info msg="Migration successfully executed" id="create test_data table" duration=846.905µs grafana | logger=migrator t=2024-02-25T11:35:29.411161516Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-02-25T11:35:29.411956667Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=794.761µs grafana | logger=migrator t=2024-02-25T11:35:29.418717735Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-02-25T11:35:29.419664141Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=945.795µs grafana | logger=migrator t=2024-02-25T11:35:29.424558742Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-02-25T11:35:29.426369713Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.815602ms grafana | logger=migrator t=2024-02-25T11:35:29.429812149Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-02-25T11:35:29.430128041Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=316.303µs grafana | logger=migrator t=2024-02-25T11:35:29.43290832Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-02-25T11:35:29.433319511Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=411.95µs grafana | logger=migrator t=2024-02-25T11:35:29.438767678Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-02-25T11:35:29.438865857Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=101.4µs policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-02-25T11:35:44.912+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 34 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-02-25T11:35:44.915+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-02-25T11:35:46.323+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-02-25T11:35:46.412+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 78 ms. Found 6 JPA repository interfaces. policy-api | [2024-02-25T11:35:47.564+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-02-25T11:35:47.578+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-25T11:35:47.579+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-02-25T11:35:47.579+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-02-25T11:35:47.693+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-02-25T11:35:47.693+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2717 ms policy-api | [2024-02-25T11:35:48.255+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-02-25T11:35:48.334+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-02-25T11:35:48.551+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-02-25T11:35:48.699+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-02-25T11:35:48.803+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-02-25T11:35:48.830+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-02-25T11:35:50.292+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-02-25T11:35:50.304+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-02-25T11:35:51.450+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-02-25T11:35:52.163+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-02-25T11:35:53.218+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@7e34570, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@274010fe, org.springframework.security.web.context.SecurityContextPersistenceFilter@426753a6, org.springframework.security.web.header.HeaderWriterFilter@494f74cd, org.springframework.security.web.authentication.logout.LogoutFilter@1b60c196, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@3116e9d2, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@22816de1, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@376ba8e3, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@975f349, org.springframework.security.web.session.SessionManagementFilter@54c3bae, org.springframework.security.web.access.ExceptionTranslationFilter@2dca3c72, org.springframework.security.web.access.intercept.AuthorizationFilter@793af433] grafana | logger=migrator t=2024-02-25T11:35:29.443006293Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-02-25T11:35:29.444047727Z level=info msg="Migration successfully executed" id="create team table" duration=1.038603ms grafana | logger=migrator t=2024-02-25T11:35:29.448193003Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-02-25T11:35:29.449332628Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.139375ms grafana | logger=migrator t=2024-02-25T11:35:29.45454223Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-02-25T11:35:29.455605217Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.064057ms grafana | logger=migrator t=2024-02-25T11:35:29.459073376Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-02-25T11:35:29.465023412Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.946687ms grafana | logger=migrator t=2024-02-25T11:35:29.468315603Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-02-25T11:35:29.468593281Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=278.588µs grafana | logger=migrator t=2024-02-25T11:35:29.474035657Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-02-25T11:35:29.475185123Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.149425ms grafana | logger=migrator t=2024-02-25T11:35:29.478291024Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-02-25T11:35:29.479161222Z level=info msg="Migration successfully executed" id="create team member table" duration=870.048µs grafana | logger=migrator t=2024-02-25T11:35:29.482855172Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-02-25T11:35:29.484650752Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.80108ms grafana | logger=migrator t=2024-02-25T11:35:29.490509471Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-02-25T11:35:29.49189602Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.385259ms grafana | logger=migrator t=2024-02-25T11:35:29.494899641Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-02-25T11:35:29.495747836Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=847.925µs grafana | logger=migrator t=2024-02-25T11:35:29.498441956Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-02-25T11:35:29.503523516Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.0808ms grafana | logger=migrator t=2024-02-25T11:35:29.506465472Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-02-25T11:35:29.514014449Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.551417ms grafana | logger=migrator t=2024-02-25T11:35:29.520806301Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-02-25T11:35:29.527252028Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=6.447056ms grafana | logger=migrator t=2024-02-25T11:35:29.532495254Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-02-25T11:35:29.533562711Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.067907ms grafana | logger=migrator t=2024-02-25T11:35:29.543925551Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-02-25T11:35:29.546028562Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=2.102421ms grafana | logger=migrator t=2024-02-25T11:35:29.551441076Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-02-25T11:35:29.553583691Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=2.145906ms grafana | logger=migrator t=2024-02-25T11:35:29.561029058Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-02-25T11:35:29.562620398Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.59072ms grafana | logger=migrator t=2024-02-25T11:35:29.604985919Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-02-25T11:35:29.606963448Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.979009ms grafana | logger=migrator t=2024-02-25T11:35:29.642977273Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-02-25T11:35:29.644725738Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.749536ms grafana | logger=migrator t=2024-02-25T11:35:29.715918613Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-02-25T11:35:29.71807873Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=2.170888ms grafana | logger=migrator t=2024-02-25T11:35:29.724048589Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-02-25T11:35:29.725243689Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.197291ms grafana | logger=migrator t=2024-02-25T11:35:29.729803407Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-02-25T11:35:29.730604677Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=798.97µs grafana | logger=migrator t=2024-02-25T11:35:29.736043783Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-02-25T11:35:29.736609029Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=568.398µs grafana | logger=migrator t=2024-02-25T11:35:29.742030654Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-02-25T11:35:29.742967227Z level=info msg="Migration successfully executed" id="create tag table" duration=933.474µs grafana | logger=migrator t=2024-02-25T11:35:29.747584621Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-02-25T11:35:29.748991452Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.404571ms grafana | logger=migrator t=2024-02-25T11:35:29.754921207Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-02-25T11:35:29.756204516Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.282879ms grafana | logger=migrator t=2024-02-25T11:35:29.760092537Z level=info msg="Executing migration" id="add index login_attempt.username" policy-api | [2024-02-25T11:35:53.367+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-02-25T11:35:56.987+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-02-25T11:35:57.015+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-25T11:35:57.053+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-02-25T11:35:57.073+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 13.0 seconds (JVM running for 13.653) policy-api | [2024-02-25T11:36:04.977+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-02-25T11:36:04.978+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-02-25T11:36:04.980+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2024-02-25T11:36:07.439+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-02-25T11:36:07.559+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-02-25T11:36:07.831+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policytypes policy-api | [2024-02-25T11:36:09.045+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-02-25T11:36:11.037+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-02-25T11:36:11.453+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-02-25T11:36:11.699+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-02-25T11:36:11.939+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-02-25T11:36:12.174+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-02-25T11:36:12.406+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-02-25T11:35:29.761197627Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.112331ms grafana | logger=migrator t=2024-02-25T11:35:29.766462296Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-02-25T11:35:29.768122852Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.660497ms grafana | logger=migrator t=2024-02-25T11:35:29.81134501Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-25T11:35:29.832669351Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=21.325591ms grafana | logger=migrator t=2024-02-25T11:35:29.874631951Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-02-25T11:35:29.875868916Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.238614ms grafana | logger=migrator t=2024-02-25T11:35:29.934480758Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-02-25T11:35:29.935760807Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.285639ms grafana | logger=migrator t=2024-02-25T11:35:29.947697045Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-02-25T11:35:29.948780653Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=1.089559ms grafana | logger=migrator t=2024-02-25T11:35:29.989731954Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-02-25T11:35:29.991102991Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.368258ms grafana | logger=migrator t=2024-02-25T11:35:30.071594273Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-02-25T11:35:30.072629506Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.030872ms grafana | logger=migrator t=2024-02-25T11:35:30.110778003Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-02-25T11:35:30.112402775Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.625261ms grafana | logger=migrator t=2024-02-25T11:35:30.169154903Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-02-25T11:35:30.169319359Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=171.687µs grafana | logger=migrator t=2024-02-25T11:35:30.227422992Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-02-25T11:35:30.235552522Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.131509ms grafana | logger=migrator t=2024-02-25T11:35:30.455205774Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-02-25T11:35:30.46381109Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=8.625118ms grafana | logger=migrator t=2024-02-25T11:35:30.513633008Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-02-25T11:35:30.519893221Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.264004ms grafana | logger=migrator t=2024-02-25T11:35:30.540023415Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-02-25T11:35:30.550332461Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=10.310276ms grafana | logger=migrator t=2024-02-25T11:35:30.586333314Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-02-25T11:35:30.587671907Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.346354ms grafana | logger=migrator t=2024-02-25T11:35:30.625981951Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-02-25T11:35:30.635106469Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=9.125718ms grafana | logger=migrator t=2024-02-25T11:35:30.644476071Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-02-25T11:35:30.645298193Z level=info msg="Migration successfully executed" id="create server_lock table" duration=821.881µs grafana | logger=migrator t=2024-02-25T11:35:30.666185912Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-02-25T11:35:30.667170969Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=986.388µs grafana | logger=migrator t=2024-02-25T11:35:30.675090738Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-02-25T11:35:30.675922661Z level=info msg="Migration successfully executed" id="create user auth token table" duration=832.413µs grafana | logger=migrator t=2024-02-25T11:35:30.703249331Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-02-25T11:35:30.705123817Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.887838ms grafana | logger=migrator t=2024-02-25T11:35:30.806409968Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-02-25T11:35:30.808202406Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.798249ms grafana | logger=migrator t=2024-02-25T11:35:30.865308749Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-02-25T11:35:30.866398538Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.095679ms grafana | logger=migrator t=2024-02-25T11:35:30.900123575Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-02-25T11:35:30.906056976Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.938092ms grafana | logger=migrator t=2024-02-25T11:35:30.945000811Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-02-25T11:35:30.946740125Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.741643ms grafana | logger=migrator t=2024-02-25T11:35:30.990772767Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-02-25T11:35:30.991587288Z level=info msg="Migration successfully executed" id="create cache_data table" duration=822.292µs grafana | logger=migrator t=2024-02-25T11:35:31.00594744Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-02-25T11:35:31.00688002Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=927.83µs grafana | logger=migrator t=2024-02-25T11:35:31.051776337Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-02-25T11:35:31.053886109Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=2.113633ms grafana | logger=migrator t=2024-02-25T11:35:31.145776254Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-02-25T11:35:31.147577567Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.806854ms grafana | logger=migrator t=2024-02-25T11:35:31.15325125Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-02-25T11:35:31.153315256Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=64.446µs grafana | logger=migrator t=2024-02-25T11:35:31.201651022Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-02-25T11:35:31.201802217Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=152.994µs grafana | logger=migrator t=2024-02-25T11:35:31.259617171Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-02-25T11:35:31.260819775Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.209545ms grafana | logger=migrator t=2024-02-25T11:35:31.314998981Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-25T11:35:31.318010479Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=3.013888ms grafana | logger=migrator t=2024-02-25T11:35:31.325923506Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-25T11:35:31.327434891Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.510685ms grafana | logger=migrator t=2024-02-25T11:35:31.33411948Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-25T11:35:31.334251373Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=138.113µs grafana | logger=migrator t=2024-02-25T11:35:31.341137321Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-25T11:35:31.342447147Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.310345ms grafana | logger=migrator t=2024-02-25T11:35:31.348089016Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-25T11:35:31.35022031Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=2.141554ms grafana | logger=migrator t=2024-02-25T11:35:31.354760293Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-25T11:35:31.356439174Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.679241ms grafana | logger=migrator t=2024-02-25T11:35:31.363155106Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-25T11:35:31.364734387Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.578832ms grafana | logger=migrator t=2024-02-25T11:35:31.369404433Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-02-25T11:35:31.375515818Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.111834ms grafana | logger=migrator t=2024-02-25T11:35:31.379365746Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-02-25T11:35:31.381511031Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=2.144765ms grafana | logger=migrator t=2024-02-25T11:35:31.391308358Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-02-25T11:35:31.391419308Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=112.211µs grafana | logger=migrator t=2024-02-25T11:35:31.396773979Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-02-25T11:35:31.398109167Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.330407ms grafana | logger=migrator t=2024-02-25T11:35:31.40388338Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-02-25T11:35:31.406101952Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=2.218031ms grafana | logger=migrator t=2024-02-25T11:35:31.410970917Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-02-25T11:35:31.41204748Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.073372ms grafana | logger=migrator t=2024-02-25T11:35:31.415269968Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-25T11:35:31.415364957Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=68.856µs grafana | logger=migrator t=2024-02-25T11:35:31.420120082Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-02-25T11:35:31.421347419Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.226107ms grafana | logger=migrator t=2024-02-25T11:35:31.425196147Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-02-25T11:35:31.426155408Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=958.211µs grafana | logger=migrator t=2024-02-25T11:35:31.430320756Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-02-25T11:35:31.431369437Z 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.045441ms grafana | logger=migrator t=2024-02-25T11:35:31.436137643Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-02-25T11:35:31.437197254Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.058891ms grafana | logger=migrator t=2024-02-25T11:35:31.441315388Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-02-25T11:35:31.450395316Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.081579ms grafana | logger=migrator t=2024-02-25T11:35:31.453547288Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-02-25T11:35:31.454287528Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=739.321µs grafana | logger=migrator t=2024-02-25T11:35:31.460289631Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-02-25T11:35:31.461806516Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.516155ms grafana | logger=migrator t=2024-02-25T11:35:31.466483444Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-02-25T11:35:31.503171541Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.687786ms grafana | logger=migrator t=2024-02-25T11:35:31.507310226Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-02-25T11:35:31.546619935Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=39.357133ms grafana | logger=migrator t=2024-02-25T11:35:31.551475728Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-02-25T11:35:31.552318169Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=841.651µs grafana | logger=migrator t=2024-02-25T11:35:31.557024349Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-02-25T11:35:31.558776357Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.751298ms grafana | logger=migrator t=2024-02-25T11:35:31.564894922Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-02-25T11:35:31.571252169Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.356557ms grafana | logger=migrator t=2024-02-25T11:35:31.576078311Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-02-25T11:35:31.585099012Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=9.021511ms grafana | logger=migrator t=2024-02-25T11:35:31.589647878Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-02-25T11:35:31.590630971Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=980.974µs grafana | logger=migrator t=2024-02-25T11:35:31.604109691Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-02-25T11:35:31.606245115Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.139604ms grafana | logger=migrator t=2024-02-25T11:35:31.611059355Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-02-25T11:35:31.612457239Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.397453ms grafana | logger=migrator t=2024-02-25T11:35:31.620298888Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.621688061Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.393874ms policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2024-02-25T11:35:31.626281729Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.626372598Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=90.149µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.630837655Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.636270305Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.43182ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.640949892Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2024-02-25T11:35:31.646835405Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.884784ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.651865045Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) grafana | logger=migrator t=2024-02-25T11:35:31.658015394Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.149888ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.664311375Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.666576182Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=2.262526ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.672570364Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2024-02-25T11:35:31.674457875Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.886251ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.679354003Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-02-25T11:35:31.688298568Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.944285ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.694011984Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.702806225Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=8.789831ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.708191019Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2024-02-25T11:35:31.709713125Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.57006ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.721042829Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:31.730736024Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.693226ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.736247181Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.746361009Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=10.121468ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.751567826Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2024-02-25T11:35:31.751622801Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=55.345µs policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.754161344Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.75569201Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.528896ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.759730887Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-02-25T11:35:31.761664032Z 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.930984ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.768244771Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:31.7693877Z 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.14297ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.774045495Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.774150105Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=105.84µs policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.778664737Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-02-25T11:35:31.789714293Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=11.048697ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.794354696Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:31.799301009Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.947663ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.802055372Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.808801278Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.744735ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.913882153Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-02-25T11:35:31.922063905Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=8.183573ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.925765349Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:31.931866572Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.100744ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.938365173Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.938430869Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.506µs policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-02-25T11:35:31.942812098Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.943538347Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=726.089µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:31.94721583Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.953424363Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.205334ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.959918504Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.95998305Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=64.676µs policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-02-25T11:35:31.963687354Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.969800548Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.112875ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:31.972314199Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.973338076Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.023617ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.978883007Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.985528401Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.644665ms policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-02-25T11:35:31.989312964Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.990056335Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=744.361µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:31.994164328Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:31.995114128Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=948.941µs policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:31.999114791Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.005403722Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.28794ms policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-02-25T11:35:32.011159531Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.011866869Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=706.917µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.016096382Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.017461013Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.364151ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.022818935Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.023581747Z level=info msg="Migration successfully executed" id="create alert_image table" duration=762.743µs policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-02-25T11:35:32.028356323Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.029389182Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.030178ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.034693308Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.034781077Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=86.968µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-02-25T11:35:32.039423439Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.040299254Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=874.584µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.045411101Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.046987762Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.576ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.051521805Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.051947635Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-02-25T11:35:32.05524431Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.055678972Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=434.352µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.061321541Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.062969728Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.653127ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.067445175Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.075318557Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.870843ms policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-02-25T11:35:32.080039727Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.081715838Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.67607ms grafana | logger=migrator t=2024-02-25T11:35:32.08854913Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-02-25T11:35:32.089577268Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.027698ms grafana | logger=migrator t=2024-02-25T11:35:32.093156Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-02-25T11:35:32.093883689Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=727.47µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.096931101Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.097912184Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=980.264µs policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.106303845Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-02-25T11:35:32.107838462Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.535836ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.113466839Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-02-25T11:35:32.113507563Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=41.894µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.117332558Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.117431858Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=97.779µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.122818191Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.123256674Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=435.942µs policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.126741796Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-25T11:35:32.128056822Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.314856ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.132237211Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.132994263Z level=info msg="Migration successfully executed" id="create secrets table" duration=757.232µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.136621459Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.182438534Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.816075ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.18763851Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-02-25T11:35:32.193173029Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.534499ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.197130877Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.197280091Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=148.774µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.201538298Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.247518128Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=45.982101ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.276243481Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-02-25T11:35:32.320622507Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.379617ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.323829484Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.32462462Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=795.435µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.327897922Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.328910249Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.010497ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.333724909Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-02-25T11:35:32.33394853Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=224.021µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.33636642Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.337171338Z level=info msg="Migration successfully executed" id="create permission table" duration=804.467µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.34233607Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.343880678Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.544877ms policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-02-25T11:35:32.348583897Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.350275798Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.691511ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.353456132Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.354751646Z level=info msg="Migration successfully executed" id="create role table" duration=1.291873ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.358061281Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.365227936Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.164225ms policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-02-25T11:35:32.369865778Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.377294928Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.42813ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.380366181Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.381320143Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=953.942µs policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.384324229Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.385362538Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.037479ms policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-02-25T11:35:32.38820173Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.389233448Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.030898ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.393519567Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.394274709Z level=info msg="Migration successfully executed" id="create team role table" duration=754.442µs policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.397459574Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.398562968Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.102295ms policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-02-25T11:35:32.402729576Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.404497706Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.766849ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.407960966Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.408987844Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.026328ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.412726391Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.413487994Z level=info msg="Migration successfully executed" id="create user role table" duration=761.173µs policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-02-25T11:35:32.416692499Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.41774203Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.049021ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.420852017Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.422638698Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.785701ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.427240886Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.428878733Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.637737ms policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-02-25T11:35:32.433713755Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.434544534Z level=info msg="Migration successfully executed" id="create builtin role table" duration=830.749µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.439271835Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.441914697Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.644393ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.446563782Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.447722403Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.159341ms policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-02-25T11:35:32.450811237Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.45943004Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.617122ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-02-25T11:35:32.462940795Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.464065323Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.124547ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.467486779Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-02-25T11:35:32.46864762Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.16004ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.472810487Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.474000241Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.189774ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.478222204Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.479418239Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.195924ms policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.489140107Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-02-25T11:35:32.490312598Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.171191ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.498248527Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-25T11:35:32.499941188Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.691661ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.509299481Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | grafana | logger=migrator t=2024-02-25T11:35:32.521087616Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.786806ms policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.529715071Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-02-25T11:35:32.53819271Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.47865ms grafana | logger=migrator t=2024-02-25T11:35:32.544653107Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-02-25T11:35:32.555708682Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=11.059656ms grafana | logger=migrator t=2024-02-25T11:35:32.558921389Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-02-25T11:35:32.565703286Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=6.779018ms grafana | logger=migrator t=2024-02-25T11:35:32.608463449Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-02-25T11:35:32.610422536Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.964138ms grafana | logger=migrator t=2024-02-25T11:35:32.61653759Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-02-25T11:35:32.617734204Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.196973ms grafana | logger=migrator t=2024-02-25T11:35:32.621623936Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-02-25T11:35:32.623365461Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.750506ms grafana | logger=migrator t=2024-02-25T11:35:32.62669876Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-02-25T11:35:32.626770727Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=72.537µs grafana | logger=migrator t=2024-02-25T11:35:32.630832045Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-02-25T11:35:32.630916993Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=85.458µs grafana | logger=migrator t=2024-02-25T11:35:32.634042472Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-02-25T11:35:32.634883862Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=839.06µs grafana | logger=migrator t=2024-02-25T11:35:32.63801382Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-02-25T11:35:32.639031958Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.018928ms grafana | logger=migrator t=2024-02-25T11:35:32.642265306Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-02-25T11:35:32.643078994Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=813.948µs grafana | logger=migrator t=2024-02-25T11:35:32.648134087Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-02-25T11:35:32.648646476Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=508.558µs grafana | logger=migrator t=2024-02-25T11:35:32.652366481Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-02-25T11:35:32.653172738Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=810.857µs grafana | logger=migrator t=2024-02-25T11:35:32.657634573Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-02-25T11:35:32.658927597Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.292043ms grafana | logger=migrator t=2024-02-25T11:35:32.664231334Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-02-25T11:35:32.66660213Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.373436ms grafana | logger=migrator t=2024-02-25T11:35:32.672135288Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-02-25T11:35:32.684335693Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=12.192163ms grafana | logger=migrator t=2024-02-25T11:35:32.689448521Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-02-25T11:35:32.689555221Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=112.14µs grafana | logger=migrator t=2024-02-25T11:35:32.692113806Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-02-25T11:35:32.693031483Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=916.957µs grafana | logger=migrator t=2024-02-25T11:35:32.697439614Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-02-25T11:35:32.698427219Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=987.195µs grafana | logger=migrator t=2024-02-25T11:35:32.703858807Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-02-25T11:35:32.705908212Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=2.048306ms grafana | logger=migrator t=2024-02-25T11:35:32.71216542Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-02-25T11:35:32.724494857Z level=info msg="Migration successfully executed" id="add correlation config column" duration=12.326097ms grafana | logger=migrator t=2024-02-25T11:35:32.729213508Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-02-25T11:35:32.730193221Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=985.964µs grafana | logger=migrator t=2024-02-25T11:35:32.735056216Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-02-25T11:35:32.736438368Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.382392ms grafana | logger=migrator t=2024-02-25T11:35:32.741212064Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-25T11:35:32.775292897Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=34.072693ms grafana | logger=migrator t=2024-02-25T11:35:32.778933405Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-02-25T11:35:32.779790257Z level=info msg="Migration successfully executed" id="create correlation v2" duration=858.582µs grafana | logger=migrator t=2024-02-25T11:35:32.783014344Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-02-25T11:35:32.78433527Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.317946ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.788543892Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-02-25T11:35:32.789915693Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.376562ms grafana | logger=migrator t=2024-02-25T11:35:32.793293976Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-02-25T11:35:32.794793379Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.502764ms grafana | logger=migrator t=2024-02-25T11:35:32.798127457Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-02-25T11:35:32.798588412Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=460.784µs grafana | logger=migrator t=2024-02-25T11:35:32.802709525Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-02-25T11:35:32.803700349Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=990.814µs grafana | logger=migrator t=2024-02-25T11:35:32.807287502Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-02-25T11:35:32.819959462Z level=info msg="Migration successfully executed" id="add provisioning column" duration=12.66477ms grafana | logger=migrator t=2024-02-25T11:35:32.823418662Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-02-25T11:35:32.824116779Z level=info msg="Migration successfully executed" id="create entity_events table" duration=698.656µs grafana | logger=migrator t=2024-02-25T11:35:32.828338992Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-02-25T11:35:32.829452148Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.109197ms grafana | logger=migrator t=2024-02-25T11:35:32.833143951Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-02-25T11:35:32.833752609Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-02-25T11:35:32.837467533Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-02-25T11:35:32.838036538Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-02-25T11:35:32.842652079Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-02-25T11:35:32.843706099Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.054221ms grafana | logger=migrator t=2024-02-25T11:35:32.847551427Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-02-25T11:35:32.849171241Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.622914ms grafana | logger=migrator t=2024-02-25T11:35:32.853794593Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-02-25T11:35:32.855126709Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.332997ms grafana | logger=migrator t=2024-02-25T11:35:32.858605571Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-02-25T11:35:32.859920837Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.315926ms grafana | logger=migrator t=2024-02-25T11:35:32.863474466Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-02-25T11:35:32.864674781Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.200055ms grafana | logger=migrator t=2024-02-25T11:35:32.869030107Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-02-25T11:35:32.87032166Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.290114ms grafana | logger=migrator t=2024-02-25T11:35:32.874057416Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-02-25T11:35:32.875071064Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.012877ms grafana | logger=migrator t=2024-02-25T11:35:32.878587569Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-02-25T11:35:32.879972152Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.382852ms grafana | logger=migrator t=2024-02-25T11:35:32.884393533Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-02-25T11:35:32.886180084Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.786021ms grafana | logger=migrator t=2024-02-25T11:35:32.889556657Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-02-25T11:35:32.890932648Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.378251ms grafana | logger=migrator t=2024-02-25T11:35:32.895080063Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-02-25T11:35:32.896343214Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.264131ms grafana | logger=migrator t=2024-02-25T11:35:32.899738969Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-02-25T11:35:32.933240267Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.494068ms grafana | logger=migrator t=2024-02-25T11:35:32.937384623Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-02-25T11:35:32.944597321Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.210978ms grafana | logger=migrator t=2024-02-25T11:35:32.94961215Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-02-25T11:35:32.961222939Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=11.606638ms grafana | logger=migrator t=2024-02-25T11:35:32.964824593Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-02-25T11:35:32.965081607Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=258.725µs grafana | logger=migrator t=2024-02-25T11:35:32.968380892Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-02-25T11:35:32.977524985Z level=info msg="Migration successfully executed" id="add share column" duration=9.141523ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:32.981179184Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-02-25T11:35:32.981366222Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=186.948µs grafana | logger=migrator t=2024-02-25T11:35:32.985542941Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-02-25T11:35:32.986229487Z level=info msg="Migration successfully executed" id="create file table" duration=686.616µs grafana | logger=migrator t=2024-02-25T11:35:32.989643103Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-02-25T11:35:32.991498119Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.854556ms grafana | logger=migrator t=2024-02-25T11:35:32.995345577Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-02-25T11:35:32.996560972Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.208115ms grafana | logger=migrator t=2024-02-25T11:35:33.000785596Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-02-25T11:35:33.001642958Z level=info msg="Migration successfully executed" id="create file_meta table" duration=856.922µs grafana | logger=migrator t=2024-02-25T11:35:33.005340496Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-02-25T11:35:33.006669838Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.332762ms grafana | logger=migrator t=2024-02-25T11:35:33.011440031Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-02-25T11:35:33.011511468Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=69.477µs grafana | logger=migrator t=2024-02-25T11:35:33.016138886Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-02-25T11:35:33.016257079Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=119.323µs grafana | logger=migrator t=2024-02-25T11:35:33.019858736Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-02-25T11:35:33.020791558Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=932.082µs grafana | logger=migrator t=2024-02-25T11:35:33.024334319Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-02-25T11:35:33.024703497Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=368.227µs grafana | logger=migrator t=2024-02-25T11:35:33.028378171Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-02-25T11:35:33.029655028Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.276187ms grafana | logger=migrator t=2024-02-25T11:35:33.034143902Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-02-25T11:35:33.043487709Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.342606ms grafana | logger=migrator t=2024-02-25T11:35:33.047198487Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-02-25T11:35:33.047402907Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=203.94µs grafana | logger=migrator t=2024-02-25T11:35:33.050702765Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-02-25T11:35:33.051953829Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.250374ms grafana | logger=migrator t=2024-02-25T11:35:33.05559322Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-02-25T11:35:33.056124542Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=531.932µs grafana | logger=migrator t=2024-02-25T11:35:33.060398817Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-02-25T11:35:33.060690785Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=290.749µs grafana | logger=migrator t=2024-02-25T11:35:33.064413724Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-02-25T11:35:33.065237956Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=827.033µs grafana | logger=migrator t=2024-02-25T11:35:33.069336752Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-02-25T11:35:33.079565767Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.233356ms grafana | logger=migrator t=2024-02-25T11:35:33.085002046Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-02-25T11:35:33.091243185Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.239989ms grafana | logger=migrator t=2024-02-25T11:35:33.095015929Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-02-25T11:35:33.096224869Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.21053ms grafana | logger=migrator t=2024-02-25T11:35:33.099752959Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-02-25T11:35:33.205865992Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=106.081699ms grafana | logger=migrator t=2024-02-25T11:35:33.211140575Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-02-25T11:35:33.212384629Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.244194ms grafana | logger=migrator t=2024-02-25T11:35:33.216113618Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-02-25T11:35:33.217408767Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.295259ms grafana | logger=migrator t=2024-02-25T11:35:33.221461029Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-02-25T11:35:33.257555458Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.085158ms grafana | logger=migrator t=2024-02-25T11:35:33.262689408Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-02-25T11:35:33.263045433Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=356.444µs grafana | logger=migrator t=2024-02-25T11:35:33.266380644Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-25T11:35:33.266669652Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=288.669µs grafana | logger=migrator t=2024-02-25T11:35:33.269842437Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-02-25T11:35:33.270150647Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=307.85µs grafana | logger=migrator t=2024-02-25T11:35:33.274634862Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-02-25T11:35:33.275713139Z level=info msg="Migration successfully executed" id="create folder table" duration=1.080016ms grafana | logger=migrator t=2024-02-25T11:35:33.327493694Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-02-25T11:35:33.32897041Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.475117ms grafana | logger=migrator t=2024-02-25T11:35:33.332505101Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-02-25T11:35:33.333790988Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.285817ms grafana | logger=migrator t=2024-02-25T11:35:33.337060333Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-02-25T11:35:33.337087816Z level=info msg="Migration successfully executed" id="Update folder title length" duration=28.333µs grafana | logger=migrator t=2024-02-25T11:35:33.341613644Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-25T11:35:33.342876339Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.265455ms grafana | logger=migrator t=2024-02-25T11:35:33.346226102Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-25T11:35:33.347477626Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.252014ms grafana | logger=migrator t=2024-02-25T11:35:33.351125378Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-02-25T11:35:33.352375572Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.249764ms grafana | logger=migrator t=2024-02-25T11:35:33.356852305Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-02-25T11:35:33.357420872Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=569.467µs grafana | logger=migrator t=2024-02-25T11:35:33.360782746Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-02-25T11:35:33.361152052Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=368.836µs grafana | logger=migrator t=2024-02-25T11:35:33.364263671Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-02-25T11:35:33.365245878Z level=info msg="Migration successfully executed" id="create anon_device table" duration=981.577µs grafana | logger=migrator t=2024-02-25T11:35:33.369691248Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-02-25T11:35:33.371051113Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.359835ms grafana | logger=migrator t=2024-02-25T11:35:33.374631248Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-02-25T11:35:33.375924727Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.292788ms grafana | logger=migrator t=2024-02-25T11:35:33.37938932Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-02-25T11:35:33.380370998Z level=info msg="Migration successfully executed" id="create signing_key table" duration=981.408µs grafana | logger=migrator t=2024-02-25T11:35:33.384746082Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-02-25T11:35:33.386186615Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.440462ms grafana | logger=migrator t=2024-02-25T11:35:33.389798893Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-02-25T11:35:33.391091481Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.292458ms grafana | logger=migrator t=2024-02-25T11:35:33.394435643Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-02-25T11:35:33.394799539Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=369.486µs grafana | logger=migrator t=2024-02-25T11:35:33.398942269Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-02-25T11:35:33.408885455Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.939266ms grafana | logger=migrator t=2024-02-25T11:35:33.412328227Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-02-25T11:35:33.413154459Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=826.641µs grafana | logger=migrator t=2024-02-25T11:35:33.416742925Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-02-25T11:35:33.418055535Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.312409ms grafana | logger=migrator t=2024-02-25T11:35:33.422228578Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-02-25T11:35:33.423514326Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.285048ms grafana | logger=migrator t=2024-02-25T11:35:33.42839787Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-02-25T11:35:33.429616912Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.220291ms grafana | logger=migrator t=2024-02-25T11:35:33.433658043Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-02-25T11:35:33.434167302Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=510.47µs grafana | logger=migrator t=2024-02-25T11:35:33.439103562Z level=info msg="migrations completed" performed=526 skipped=0 duration=5.450170514s grafana | logger=sqlstore t=2024-02-25T11:35:33.448496654Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-02-25T11:35:33.448722486Z level=info msg="Created default organization" grafana | logger=secrets t=2024-02-25T11:35:33.452761097Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-02-25T11:35:33.469857742Z level=info msg="Loading plugins..." policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=local.finder t=2024-02-25T11:35:33.520784153Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-02-25T11:35:33.520989743Z level=info msg="Plugins loaded" count=55 duration=51.132411ms grafana | logger=query_data t=2024-02-25T11:35:33.52358532Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-02-25T11:35:33.527649414Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-02-25T11:35:33.533789593Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-02-25T11:35:33.535194842Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-02-25T11:35:33.536123034Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-25T11:35:33.539289118Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-02-25T11:35:33.56916637Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-02-25T11:35:33.571684681Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-02-25T11:35:33.585964106Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-02-25T11:35:33.585981268Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-02-25T11:35:33.587326071Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-02-25T11:35:33.589181996Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.state.manager t=2024-02-25T11:35:33.589804278Z level=info msg="State cache has been initialized" states=0 duration=619.221µs grafana | logger=ngalert.scheduler t=2024-02-25T11:35:33.5900319Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-02-25T11:35:33.590345492Z level=info msg=starting first_tick=2024-02-25T11:35:40Z grafana | logger=ngalert.multiorg.alertmanager t=2024-02-25T11:35:33.590902596Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-02-25T11:35:33.590920308Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana-apiserver t=2024-02-25T11:35:33.591911147Z level=info msg="Authentication is disabled" grafana | logger=grafana-apiserver t=2024-02-25T11:35:33.595550937Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=sqlstore.transactions t=2024-02-25T11:35:33.632860727Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-02-25T11:35:33.662904707Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2024-02-25T11:35:33.674265013Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" grafana | logger=sqlstore.transactions t=2024-02-25T11:35:33.684773185Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=3 code="database is locked" grafana | logger=plugins.update.checker t=2024-02-25T11:35:33.687870343Z level=info msg="Update check succeeded" duration=101.661792ms grafana | logger=sqlstore.transactions t=2024-02-25T11:35:33.695463606Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=4 code="database is locked" grafana | logger=auth t=2024-02-25T11:35:33.696500268Z level=error msg="Failed to lock and execute cleanup of expired auth token" error="database is locked" grafana | logger=sqlstore.transactions t=2024-02-25T11:35:33.719123862Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2024-02-25T11:35:33.719899119Z level=info msg="Update check succeeded" duration=133.808221ms grafana | logger=sqlstore.transactions t=2024-02-25T11:35:33.73038796Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=infra.usagestats t=2024-02-25T11:36:54.600065532Z level=info msg="Usage stats are ready to report" policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:37 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:38 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:39 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:40 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:41 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:41 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:41 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:41 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:41 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:41 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:41 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:41 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2502241135370800u 1 2024-02-25 11:35:41 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:41 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:41 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:41 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:41 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:41 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:41 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:41 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:41 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:41 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:41 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:41 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:41 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2502241135370900u 1 2024-02-25 11:35:42 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2502241135371000u 1 2024-02-25 11:35:42 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2502241135371000u 1 2024-02-25 11:35:42 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2502241135371000u 1 2024-02-25 11:35:42 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2502241135371000u 1 2024-02-25 11:35:42 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2502241135371000u 1 2024-02-25 11:35:42 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2502241135371000u 1 2024-02-25 11:35:42 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2502241135371000u 1 2024-02-25 11:35:42 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2502241135371000u 1 2024-02-25 11:35:42 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2502241135371000u 1 2024-02-25 11:35:42 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2502241135371100u 1 2024-02-25 11:35:42 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2502241135371200u 1 2024-02-25 11:35:42 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2502241135371200u 1 2024-02-25 11:35:42 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2502241135371200u 1 2024-02-25 11:35:42 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2502241135371200u 1 2024-02-25 11:35:42 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing prometheus ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-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.bBq3km2Cxq ]] + rsync -av /tmp/tmp.bBq3km2Cxq/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,346,592 bytes received 95 bytes 2,693,374.00 bytes/sec total size is 1,345,942 speedup is 1.00 + rm -rf /w/workspace/policy-api-london-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2078 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10426783974394246554.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12486171548222625172.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-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-london-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-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins552519041982710489.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-icKS from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-icKS/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14998546371686897203.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config1446189866686026345tmp 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-london-project-csit-api] $ /bin/bash /tmp/jenkins8274772417863444257.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13028535650792013676.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-icKS from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-icKS/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12980633276081709911.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16075605745990511210.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-icKS 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-icKS/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins15443176826914382802.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-icKS from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-icKS/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/282 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-8614 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.996 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 839 27447 0 3880 30872 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:53:48:81 brd ff:ff:ff:ff:ff:ff inet 10.30.106.151/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86044sec preferred_lft 86044sec inet6 fe80::f816:3eff:fe53:4881/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:12:ec:f1:ad 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-8614) 02/25/24 _x86_64_ (8 CPU) 11:32:22 LINUX RESTART (8 CPU) 11:33:01 tps rtps wtps bread/s bwrtn/s 11:34:01 110.08 36.14 73.94 1688.12 18058.46 11:35:01 122.88 22.96 99.92 2758.87 23313.71 11:36:01 364.27 13.28 350.99 803.83 71438.98 11:37:01 11.65 0.22 11.43 17.86 11519.53 11:38:01 50.26 1.48 48.78 117.31 13925.10 Average: 131.83 14.82 117.01 1077.20 27651.15 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30078996 31674912 2860224 8.68 69888 1836360 1449524 4.26 894692 1673152 161032 11:35:01 28872656 31677656 4066564 12.35 102012 2975232 1408744 4.14 974424 2716116 969916 11:36:01 27043300 30610132 5895920 17.90 125692 3643388 4493068 13.22 2128984 3318476 280 11:37:01 26969596 30536752 5969624 18.12 125820 3644640 4543400 13.37 2203008 3316480 56 11:38:01 28091816 31606196 4847404 14.72 128476 3624572 1482468 4.36 1170808 3252940 49452 Average: 28211273 31221130 4727947 14.35 110378 3144838 2675441 7.87 1474383 2855433 236147 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 ens3 77.37 55.21 963.67 10.91 0.00 0.00 0.00 0.00 11:34:01 lo 1.67 1.67 0.18 0.18 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 br-743ef80f255e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 220.53 150.62 6119.39 15.59 0.00 0.00 0.00 0.00 11:35:01 lo 8.20 8.20 0.76 0.76 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 br-743ef80f255e 0.67 0.68 0.06 0.31 0.00 0.00 0.00 0.00 11:36:01 veth735a897 23.91 21.91 12.03 16.86 0.00 0.00 0.00 0.00 11:36:01 vethfe99cb7 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 br-743ef80f255e 3.07 3.53 5.87 2.22 0.00 0.00 0.00 0.00 11:37:01 veth735a897 91.35 73.35 34.66 102.25 0.00 0.00 0.00 0.01 11:37:01 vethfe99cb7 0.18 0.18 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 774.77 520.60 11018.09 109.36 0.00 0.00 0.00 0.00 11:38:01 lo 34.33 34.33 10.43 10.43 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 97.01 66.15 2060.67 11.73 0.00 0.00 0.00 0.00 Average: lo 6.08 6.08 2.02 2.02 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-8614) 02/25/24 _x86_64_ (8 CPU) 11:32:22 LINUX RESTART (8 CPU) 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 10.29 0.00 0.78 2.08 0.03 86.82 11:34:01 0 8.74 0.00 0.60 0.30 0.02 90.35 11:34:01 1 4.29 0.00 0.62 0.32 0.02 94.76 11:34:01 2 7.46 0.00 1.19 6.24 0.05 85.06 11:34:01 3 4.53 0.00 0.33 0.05 0.02 95.07 11:34:01 4 17.14 0.00 0.90 1.10 0.03 80.82 11:34:01 5 16.85 0.00 1.00 0.62 0.05 81.48 11:34:01 6 18.86 0.00 1.14 7.85 0.05 72.10 11:34:01 7 4.47 0.00 0.48 0.17 0.02 94.87 11:35:01 all 10.75 0.00 2.13 2.39 0.04 84.69 11:35:01 0 11.22 0.00 1.81 0.99 0.03 85.95 11:35:01 1 11.59 0.00 2.31 1.54 0.07 84.49 11:35:01 2 7.18 0.00 2.33 1.37 0.05 89.07 11:35:01 3 10.02 0.00 2.01 4.00 0.03 83.93 11:35:01 4 3.65 0.00 1.39 0.03 0.02 94.91 11:35:01 5 10.50 0.00 2.68 0.45 0.03 86.33 11:35:01 6 17.49 0.00 2.52 6.89 0.05 73.05 11:35:01 7 14.37 0.00 2.02 3.83 0.05 79.72 11:36:01 all 16.15 0.00 3.30 5.81 0.06 74.67 11:36:01 0 13.10 0.00 2.77 3.17 0.07 80.89 11:36:01 1 19.77 0.00 2.93 0.79 0.07 76.44 11:36:01 2 16.84 0.00 4.68 29.46 0.12 48.91 11:36:01 3 14.60 0.00 2.89 3.46 0.05 79.00 11:36:01 4 16.27 0.00 3.12 2.46 0.07 78.09 11:36:01 5 20.85 0.00 3.68 1.83 0.05 73.59 11:36:01 6 15.21 0.00 3.56 2.84 0.07 78.32 11:36:01 7 12.57 0.00 2.81 2.73 0.03 81.86 11:37:01 all 4.63 0.00 0.39 0.67 0.03 94.28 11:37:01 0 5.77 0.00 0.38 0.12 0.00 93.73 11:37:01 1 3.52 0.00 0.35 0.00 0.02 96.11 11:37:01 2 4.94 0.00 0.30 5.16 0.02 89.59 11:37:01 3 5.99 0.00 0.55 0.02 0.07 93.37 11:37:01 4 4.31 0.00 0.27 0.00 0.00 95.43 11:37:01 5 5.21 0.00 0.35 0.00 0.02 94.43 11:37:01 6 3.07 0.00 0.33 0.02 0.03 96.54 11:37:01 7 4.22 0.00 0.50 0.00 0.05 95.22 11:38:01 all 6.73 0.00 0.73 0.95 0.03 91.57 11:38:01 0 1.18 0.00 0.52 0.18 0.03 98.08 11:38:01 1 5.82 0.00 0.72 0.32 0.03 93.11 11:38:01 2 17.66 0.00 1.20 5.98 0.05 75.11 11:38:01 3 3.10 0.00 0.72 0.03 0.03 96.11 11:38:01 4 1.67 0.00 0.55 0.10 0.02 97.67 11:38:01 5 1.18 0.00 0.60 0.27 0.02 97.93 11:38:01 6 2.39 0.00 0.63 0.00 0.02 96.96 11:38:01 7 20.86 0.00 0.87 0.69 0.03 77.55 Average: all 9.70 0.00 1.46 2.37 0.04 86.43 Average: 0 7.99 0.00 1.21 0.95 0.03 89.82 Average: 1 8.98 0.00 1.38 0.59 0.04 89.01 Average: 2 10.80 0.00 1.93 9.59 0.06 77.62 Average: 3 7.64 0.00 1.30 1.51 0.04 89.51 Average: 4 8.60 0.00 1.24 0.74 0.03 89.40 Average: 5 10.91 0.00 1.66 0.63 0.03 86.77 Average: 6 11.39 0.00 1.63 3.52 0.04 83.41 Average: 7 11.29 0.00 1.33 1.48 0.04 85.86