Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-8955 (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-KumIuKrvFA5z/agent.2097 SSH_AGENT_PID=2099 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_18276728158884196208.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_18276728158884196208.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/jenkins2698834759711896639.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-mKHz 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-mKHz/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-mKHz/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.11 botocore==1.34.11 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==5.0.0 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 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.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.16.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [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/jenkins2671522734861033937.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/jenkins3460619026817991550.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.Qh78ruPoMW ++ echo ROBOT_VENV=/tmp/tmp.Qh78ruPoMW +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.Qh78ruPoMW ++ source /tmp/tmp.Qh78ruPoMW/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.Qh78ruPoMW +++ 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.Qh78ruPoMW/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.Qh78ruPoMW) ' '!=' x ']' +++ PS1='(tmp.Qh78ruPoMW) ' +++ 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.2 bitarray==2.9.1 certifi==2023.11.17 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.0.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.Qh78ruPoMW/src/onap ++ rm -rf /tmp/tmp.Qh78ruPoMW/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.2 bitarray==2.9.1 certifi==2023.11.17 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==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.0.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.Qh78ruPoMW/bin/activate + '[' -z /tmp/tmp.Qh78ruPoMW/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.Qh78ruPoMW/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.Qh78ruPoMW ++ 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.Qh78ruPoMW/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.Qh78ruPoMW) ' ++ '[' 'x(tmp.Qh78ruPoMW) ' '!=' x ']' ++ PS1='(tmp.Qh78ruPoMW) (tmp.Qh78ruPoMW) ' ++ 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.I2vD1YlcJN + cd /tmp/tmp.I2vD1YlcJN + 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:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 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:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-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 grafana Up 10 seconds policy-api Up 12 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 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 ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:35:57 up 3 min, 0 users, load average: 1.89, 0.86, 0.34 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.9 us, 2.1 sy, 0.0 ni, 83.3 id, 3.6 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 238dad24592a grafana 0.03% 51.51MiB / 31.41GiB 0.16% 18.5kB / 3.41kB 0B / 23.7MB 19 949f767947a4 policy-api 0.12% 983.7MiB / 31.41GiB 3.06% 1.04MB / 739kB 0B / 0B 51 38b5c99a390b mariadb 0.02% 100.4MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 59.3MB 27 7b7ddfd0e504 prometheus 0.00% 18.21MiB / 31.41GiB 0.06% 920B / 158B 225kB / 0B 11 + echo + cd /tmp/tmp.I2vD1YlcJN + 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.I2vD1YlcJN/output.xml Log: /tmp/tmp.I2vD1YlcJN/log.html Report: /tmp/tmp.I2vD1YlcJN/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:08 up 4 min, 0 users, load average: 0.90, 0.79, 0.36 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.2 us, 1.7 sy, 0.0 ni, 86.1 id, 3.0 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 238dad24592a grafana 0.21% 52.05MiB / 31.41GiB 0.16% 19.6kB / 4.65kB 0B / 23.7MB 19 949f767947a4 policy-api 0.12% 1.008GiB / 31.41GiB 3.21% 7.32MB / 2.87MB 0B / 0B 52 38b5c99a390b mariadb 0.02% 101.1MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 59.4MB 18 7b7ddfd0e504 prometheus 0.00% 24.54MiB / 31.41GiB 0.08% 37.5kB / 7.1kB 225kB / 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 grafana, policy-api, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2024-01-01T11:35:32.041452438Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2024-01-01T11:35:32.041703801Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-01T11:35:32.041717731Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-01T11:35:32.041721941Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-01T11:35:32.041725881Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-01T11:35:32.041728981Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-01T11:35:32.041732211Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-01T11:35:32.041735201Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-01T11:35:32.041739061Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-01T11:35:32.041742021Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-01T11:35:32.041746881Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-01T11:35:32.041749821Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-01T11:35:32.041753111Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-01T11:35:32.041758471Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-01T11:35:32.041761901Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-01T11:35:32.041766161Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-01T11:35:32.041769791Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-01T11:35:32.041773221Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-01T11:35:32.041776501Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-01T11:35:32.042061614Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-01T11:35:32.042080754Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-01T11:35:32.04266473Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-01T11:35:32.04362885Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-01T11:35:32.044431579Z level=info msg="Migration successfully executed" id="create migration_log table" duration=802.409µs grafana | logger=migrator t=2024-01-01T11:35:32.123031694Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-01T11:35:32.124275507Z level=info msg="Migration successfully executed" id="create user table" duration=1.239913ms grafana | logger=migrator t=2024-01-01T11:35:32.129105857Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-01T11:35:32.130569302Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.458305ms grafana | logger=migrator t=2024-01-01T11:35:32.135794535Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-01T11:35:32.136559633Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=765.058µs grafana | logger=migrator t=2024-01-01T11:35:32.142294692Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-01T11:35:32.143350073Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.055321ms grafana | logger=migrator t=2024-01-01T11:35:32.146556176Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-01T11:35:32.147340424Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=783.818µs grafana | logger=migrator t=2024-01-01T11:35:32.150415935Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-01T11:35:32.153260364Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.843899ms grafana | logger=migrator t=2024-01-01T11:35:32.156309406Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-01T11:35:32.156986752Z level=info msg="Migration successfully executed" id="create user table v2" duration=676.626µs grafana | logger=migrator t=2024-01-01T11:35:32.161886773Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-01T11:35:32.16257126Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=684.237µs grafana | logger=migrator t=2024-01-01T11:35:32.165655051Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-01T11:35:32.166356259Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=700.738µs grafana | logger=migrator t=2024-01-01T11:35:32.172943276Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-01T11:35:32.173451121Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=511.445µs grafana | logger=migrator t=2024-01-01T11:35:32.179415582Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-01T11:35:32.180279391Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=858.479µs grafana | logger=migrator t=2024-01-01T11:35:32.187223102Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-01T11:35:32.188918809Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.694947ms grafana | logger=migrator t=2024-01-01T11:35:32.194177523Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-01T11:35:32.194220073Z level=info msg="Migration successfully executed" id="Update user table charset" duration=43.72µs grafana | logger=migrator t=2024-01-01T11:35:32.200644839Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-01T11:35:32.202327266Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.682047ms grafana | logger=migrator t=2024-01-01T11:35:32.206343067Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-01T11:35:32.20656932Z level=info msg="Migration successfully executed" id="Add missing user data" duration=226.563µs grafana | logger=migrator t=2024-01-01T11:35:32.210111776Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-01-01T11:35:32.211353168Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.241162ms grafana | logger=migrator t=2024-01-01T11:35:32.215774444Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-01T11:35:32.216516351Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=741.917µs grafana | logger=migrator t=2024-01-01T11:35:32.220583113Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-01T11:35:32.222380841Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.797088ms mariadb | 2024-01-01 11:35:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-01 11:35:27+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-01 11:35:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-01 11:35:28+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-01 11:35:28 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-01 11:35:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-01 11:35:28 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-01-01 11:35:29+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-01 11:35:29+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-01 11:35:29+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-01 11:35:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2024-01-01 11:35:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-01 11:35:29 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-01 11:35:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-01 11:35:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-01 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-01-01 11:35:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-01 11:35:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-01 11:35:29 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-01 11:35:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-01 11:35:29 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-01 11:35:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-01 11:35:29 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-01 11:35:29 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-01-01 11:35:29 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-01 11:35:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-01 11:35:29 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-01 11:35:29 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-01 11:35:29 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-01-01 11:35:30+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-01 11:35:32+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-01 11:35:32+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) grafana | logger=migrator t=2024-01-01T11:35:32.227242671Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-01T11:35:32.238722098Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.478887ms grafana | logger=migrator t=2024-01-01T11:35:32.242381626Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-01T11:35:32.242998922Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=616.136µs grafana | logger=migrator t=2024-01-01T11:35:32.247791051Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-01T11:35:32.249379977Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.586276ms grafana | logger=migrator t=2024-01-01T11:35:32.254981394Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-01T11:35:32.256432159Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.450535ms grafana | logger=migrator t=2024-01-01T11:35:32.259955415Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-01T11:35:32.261321689Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.366084ms grafana | logger=migrator t=2024-01-01T11:35:32.264859026Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-01T11:35:32.26625544Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.395385ms grafana | logger=migrator t=2024-01-01T11:35:32.272005948Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-01T11:35:32.272079119Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=77.181µs grafana | logger=migrator t=2024-01-01T11:35:32.276246592Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-01T11:35:32.277418954Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.171482ms grafana | logger=migrator t=2024-01-01T11:35:32.280810948Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-01T11:35:32.28195698Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.145592ms grafana | logger=migrator t=2024-01-01T11:35:32.287506877Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-01T11:35:32.288312285Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=805.338µs grafana | logger=migrator t=2024-01-01T11:35:32.292316686Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-01T11:35:32.293423377Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.106571ms grafana | logger=migrator t=2024-01-01T11:35:32.296694481Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-01T11:35:32.301984835Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.291274ms grafana | logger=migrator t=2024-01-01T11:35:32.307460641Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-01T11:35:32.30833218Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=871.629µs grafana | logger=migrator t=2024-01-01T11:35:32.311592073Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-01T11:35:32.312641714Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.047991ms grafana | logger=migrator t=2024-01-01T11:35:32.316625104Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-01T11:35:32.317967548Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.341834ms grafana | logger=migrator t=2024-01-01T11:35:32.363594774Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-01T11:35:32.365024819Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.425055ms grafana | logger=migrator t=2024-01-01T11:35:32.368653936Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-01T11:35:32.370113211Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.458785ms grafana | logger=migrator t=2024-01-01T11:35:32.374578317Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-01T11:35:32.375050141Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=471.034µs grafana | logger=migrator t=2024-01-01T11:35:32.378303355Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-01T11:35:32.378901551Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=597.786µs grafana | logger=migrator t=2024-01-01T11:35:32.385138754Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-01T11:35:32.385899322Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=760.068µs grafana | logger=migrator t=2024-01-01T11:35:32.389685891Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-01T11:35:32.390777322Z level=info msg="Migration successfully executed" id="create star table" duration=1.090161ms grafana | logger=migrator t=2024-01-01T11:35:32.395716843Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-01T11:35:32.397059177Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.341553ms grafana | logger=migrator t=2024-01-01T11:35:32.406852076Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-01T11:35:32.40817478Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.320344ms grafana | logger=migrator t=2024-01-01T11:35:32.4140441Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 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 | 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 | mariadb | mariadb | 2024-01-01 11:35:32+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-01-01 11:35:32+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-01T11:35:32.415343513Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.302603ms grafana | logger=migrator t=2024-01-01T11:35:32.422213903Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-01T11:35:32.422904461Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=690.808µs grafana | logger=migrator t=2024-01-01T11:35:32.429383216Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-01T11:35:32.430806531Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.423335ms grafana | logger=migrator t=2024-01-01T11:35:32.437311218Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-01T11:35:32.438616201Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.305733ms grafana | logger=migrator t=2024-01-01T11:35:32.446204658Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-01T11:35:32.447464421Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.259433ms grafana | logger=migrator t=2024-01-01T11:35:32.453125409Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-01T11:35:32.453275811Z level=info msg="Migration successfully executed" id="Update org table charset" duration=150.272µs grafana | logger=migrator t=2024-01-01T11:35:32.459881858Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-01T11:35:32.46007489Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=196.202µs grafana | logger=migrator t=2024-01-01T11:35:32.469383556Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-01T11:35:32.46980025Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=413.484µs grafana | logger=migrator t=2024-01-01T11:35:32.476184855Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-01T11:35:32.477305286Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.118571ms grafana | logger=migrator t=2024-01-01T11:35:32.487062246Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-01T11:35:32.488523051Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.460645ms grafana | logger=migrator t=2024-01-01T11:35:32.492577232Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-01T11:35:32.494056728Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.478926ms grafana | logger=migrator t=2024-01-01T11:35:32.503167281Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-01T11:35:32.503896318Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=728.697µs grafana | logger=migrator t=2024-01-01T11:35:32.515850291Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-01T11:35:32.517299635Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.447674ms grafana | logger=migrator t=2024-01-01T11:35:32.522872352Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-01T11:35:32.52367024Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=798.028µs grafana | logger=migrator t=2024-01-01T11:35:32.531739383Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-01T11:35:32.541615314Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.876761ms grafana | logger=migrator t=2024-01-01T11:35:32.545602125Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-01T11:35:32.546334312Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=731.547µs grafana | logger=migrator t=2024-01-01T11:35:32.555029181Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-01T11:35:32.555815489Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=786.178µs grafana | logger=migrator t=2024-01-01T11:35:32.564273545Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-01T11:35:32.565590489Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.316774ms grafana | logger=migrator t=2024-01-01T11:35:32.570969964Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-01T11:35:32.57160856Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=625.166µs grafana | logger=migrator t=2024-01-01T11:35:32.575125686Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-01T11:35:32.575934074Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=807.688µs grafana | logger=migrator t=2024-01-01T11:35:32.583158198Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-01T11:35:32.583389271Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=225.732µs grafana | logger=migrator t=2024-01-01T11:35:32.588371142Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-01T11:35:32.591241421Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.856379ms grafana | logger=migrator t=2024-01-01T11:35:32.597737507Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 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 | grafana | logger=migrator t=2024-01-01T11:35:32.599481245Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.742728ms grafana | logger=migrator t=2024-01-01T11:35:32.607666139Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-01T11:35:32.610533618Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.866419ms grafana | logger=migrator t=2024-01-01T11:35:32.614434048Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-01T11:35:32.615721521Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.287493ms grafana | logger=migrator t=2024-01-01T11:35:32.623232658Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-01T11:35:32.625062866Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.829668ms grafana | logger=migrator t=2024-01-01T11:35:32.635667755Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:32.63711578Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.443814ms mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | prometheus | ts=2024-01-01T11:35:30.924Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-api | Waiting for mariadb port 3306... grafana | logger=migrator t=2024-01-01T11:35:32.643378714Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-db-migrator | prometheus | ts=2024-01-01T11:35:30.924Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" policy-api | mariadb (172.17.0.2:3306) open grafana | logger=migrator t=2024-01-01T11:35:32.644254663Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=875.519µs mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql prometheus | ts=2024-01-01T11:35:30.924Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" policy-api | Waiting for policy-db-migrator port 6824... grafana | logger=migrator t=2024-01-01T11:35:32.649339265Z level=info msg="Executing migration" id="Update dashboard table charset" mariadb | policy-db-migrator | -------------- prometheus | ts=2024-01-01T11:35:30.924Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" policy-api | policy-db-migrator (172.17.0.4:6824) open grafana | logger=migrator t=2024-01-01T11:35:32.649420336Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=81.861µs mariadb | 2024-01-01 11:35:33+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) prometheus | ts=2024-01-01T11:35:30.924Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml grafana | logger=migrator t=2024-01-01T11:35:32.65768814Z level=info msg="Executing migration" id="Update dashboard_tag table charset" mariadb | 2024-01-01 11:35:33 0 [Note] mariadbd (initiated by: unknown): Normal shutdown policy-db-migrator | -------------- prometheus | ts=2024-01-01T11:35:30.924Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-api | grafana | logger=migrator t=2024-01-01T11:35:32.657831991Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=144.541µs mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: FTS optimize thread exiting. policy-db-migrator | prometheus | ts=2024-01-01T11:35:30.926Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-api | . ____ _ __ _ _ grafana | logger=migrator t=2024-01-01T11:35:32.667116336Z level=info msg="Executing migration" id="Add column folder_id in dashboard" mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Starting shutdown... policy-db-migrator | prometheus | ts=2024-01-01T11:35:30.926Z caller=main.go:1024 level=info msg="Starting TSDB ..." policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ grafana | logger=migrator t=2024-01-01T11:35:32.670180957Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.063841ms mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql prometheus | ts=2024-01-01T11:35:30.932Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ grafana | logger=migrator t=2024-01-01T11:35:32.67525561Z level=info msg="Executing migration" id="Add column isFolder in dashboard" mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 240101 11:35:33 policy-db-migrator | -------------- prometheus | ts=2024-01-01T11:35:30.932Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) grafana | logger=migrator t=2024-01-01T11:35:32.677176079Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.9176ms mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 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) prometheus | ts=2024-01-01T11:35:30.936Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / grafana | logger=migrator t=2024-01-01T11:35:32.684964729Z level=info msg="Executing migration" id="Add column has_acl in dashboard" mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Shutdown completed; log sequence number 340078; transaction id 298 policy-db-migrator | -------------- prometheus | ts=2024-01-01T11:35:30.936Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.37µs policy-api | =========|_|==============|___/=/_/_/_/ grafana | logger=migrator t=2024-01-01T11:35:32.68800915Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.043581ms mariadb | 2024-01-01 11:35:33 0 [Note] mariadbd: Shutdown complete policy-db-migrator | prometheus | ts=2024-01-01T11:35:30.936Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-api | :: Spring Boot :: (v2.7.8) grafana | logger=migrator t=2024-01-01T11:35:32.693699788Z level=info msg="Executing migration" id="Add column uid in dashboard" mariadb | policy-db-migrator | prometheus | ts=2024-01-01T11:35:30.936Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-api | grafana | logger=migrator t=2024-01-01T11:35:32.695600907Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.903109ms mariadb | 2024-01-01 11:35:33+00:00 [Note] [Entrypoint]: Temporary server stopped policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql prometheus | ts=2024-01-01T11:35:30.936Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=110.011µs wal_replay_duration=308.733µs wbl_replay_duration=330ns total_replay_duration=442.224µs policy-api | [2024-01-01T11:35:42.983+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 33 (/app/api.jar started by policy in /opt/app/policy/api/bin) grafana | logger=migrator t=2024-01-01T11:35:32.701917232Z level=info msg="Executing migration" id="Update uid column values in dashboard" mariadb | policy-db-migrator | -------------- prometheus | ts=2024-01-01T11:35:30.938Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC policy-api | [2024-01-01T11:35:42.986+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" grafana | logger=migrator t=2024-01-01T11:35:32.702343976Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=426.384µs mariadb | 2024-01-01 11:35:33+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 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) prometheus | ts=2024-01-01T11:35:30.938Z caller=main.go:1048 level=info msg="TSDB started" policy-api | [2024-01-01T11:35:44.326+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. grafana | logger=migrator t=2024-01-01T11:35:32.709138766Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" mariadb | policy-db-migrator | -------------- prometheus | ts=2024-01-01T11:35:30.938Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-api | [2024-01-01T11:35:44.424+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 86 ms. Found 6 JPA repository interfaces. grafana | logger=migrator t=2024-01-01T11:35:32.710848653Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.709557ms mariadb | 2024-01-01 11:35:33 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | prometheus | ts=2024-01-01T11:35:30.939Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=961.3µs db_storage=1.92µs remote_storage=2.73µs web_handler=470ns query_engine=1.35µs scrape=238.623µs scrape_sd=88.361µs notify=83.64µs notify_sd=19.741µs rules=2.88µs tracing=5.93µs policy-api | [2024-01-01T11:35:45.553+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) grafana | logger=migrator t=2024-01-01T11:35:32.719563532Z level=info msg="Executing migration" id="Remove unique index org_id_slug" mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | prometheus | ts=2024-01-01T11:35:30.939Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." policy-api | [2024-01-01T11:35:45.566+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2024-01-01T11:35:32.720817835Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.254103ms mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Number of transaction pools: 1 prometheus | ts=2024-01-01T11:35:30.939Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-api | [2024-01-01T11:35:45.566+00:00|INFO|StandardService|main] Starting service [Tomcat] grafana | logger=migrator t=2024-01-01T11:35:32.73210222Z level=info msg="Executing migration" id="Update dashboard title length" mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-api | [2024-01-01T11:35:45.566+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] grafana | logger=migrator t=2024-01-01T11:35:32.732285112Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=184.012µs policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql mariadb | 2024-01-01 11:35:33 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-01 11:35:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2024-01-01T11:35:32.73889578Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | -------------- mariadb | 2024-01-01 11:35:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2024-01-01T11:35:32.740262184Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.366034ms 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) mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-01-01T11:35:32.746893172Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | -------------- mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2024-01-01T11:35:32.748035573Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.141231ms policy-db-migrator | mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: log sequence number 340078; transaction id 299 grafana | logger=migrator t=2024-01-01T11:35:32.753769162Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | mariadb | 2024-01-01 11:35:33 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-01-01T11:35:32.763974356Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=10.205854ms policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql mariadb | 2024-01-01 11:35:33 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-01 11:35:33 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. grafana | logger=migrator t=2024-01-01T11:35:32.768818286Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | -------------- mariadb | 2024-01-01 11:35:33 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-01-01 11:35:33 0 [Note] Server socket created on IP: '::'. grafana | logger=migrator t=2024-01-01T11:35:32.769568744Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=750.248µs 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) mariadb | 2024-01-01 11:35:33 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 grafana | logger=migrator t=2024-01-01T11:35:32.775264791Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | -------------- mariadb | 2024-01-01 11:35:33 0 [Note] InnoDB: Buffer pool(s) load completed at 240101 11:35:33 mariadb | 2024-01-01 11:35:34 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-01-01T11:35:32.77606695Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=802.069µs policy-db-migrator | mariadb | 2024-01-01 11:35:34 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2024-01-01T11:35:32.783038811Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | policy-api | [2024-01-01T11:35:45.650+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext grafana | logger=migrator t=2024-01-01T11:35:32.784506866Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.467615ms policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-api | [2024-01-01T11:35:45.650+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2605 ms grafana | logger=migrator t=2024-01-01T11:35:32.791071133Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | -------------- policy-api | [2024-01-01T11:35:46.215+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] grafana | logger=migrator t=2024-01-01T11:35:32.791569318Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=498.385µ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) policy-api | [2024-01-01T11:35:46.313+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final grafana | logger=migrator t=2024-01-01T11:35:32.797867803Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | -------------- policy-api | [2024-01-01T11:35:46.617+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} grafana | logger=migrator t=2024-01-01T11:35:32.798663361Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=794.698µs policy-db-migrator | policy-api | [2024-01-01T11:35:46.764+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... grafana | logger=migrator t=2024-01-01T11:35:32.834239054Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | policy-api | [2024-01-01T11:35:46.871+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. grafana | logger=migrator t=2024-01-01T11:35:32.837602999Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.363135ms policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-api | [2024-01-01T11:35:46.904+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect grafana | logger=migrator t=2024-01-01T11:35:32.843260386Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | -------------- policy-api | [2024-01-01T11:35:48.435+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] grafana | logger=migrator t=2024-01-01T11:35:32.843997944Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=736.638µ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) policy-api | [2024-01-01T11:35:48.452+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' grafana | logger=migrator t=2024-01-01T11:35:32.850860664Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | -------------- policy-api | [2024-01-01T11:35:49.680+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml grafana | logger=migrator t=2024-01-01T11:35:32.851129527Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=268.873µs policy-db-migrator | policy-api | [2024-01-01T11:35:50.445+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] grafana | logger=migrator t=2024-01-01T11:35:32.855821095Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | policy-api | [2024-01-01T11:35:51.552+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@10ac5a14, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5cfcb55c, org.springframework.security.web.context.SecurityContextPersistenceFilter@a555005, org.springframework.security.web.header.HeaderWriterFilter@e73787, org.springframework.security.web.authentication.logout.LogoutFilter@337f6716, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5bee88e3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@42d039ef, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@190a5f74, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@416dd4d8, org.springframework.security.web.session.SessionManagementFilter@50cdaf32, org.springframework.security.web.access.ExceptionTranslationFilter@556d8c78, org.springframework.security.web.access.intercept.AuthorizationFilter@65ff1e6d] grafana | logger=migrator t=2024-01-01T11:35:32.856088398Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=267.623µs policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-api | [2024-01-01T11:35:51.709+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 grafana | logger=migrator t=2024-01-01T11:35:32.862736045Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | -------------- policy-api | [2024-01-01T11:35:55.239+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' grafana | logger=migrator t=2024-01-01T11:35:32.863908497Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.171852ms policy-api | [2024-01-01T11:35:55.267+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 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-01-01T11:35:32.872498235Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-api | [2024-01-01T11:35:55.302+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:32.876087322Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.587877ms policy-api | [2024-01-01T11:35:55.320+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 13.122 seconds (JVM running for 13.725) grafana | logger=migrator t=2024-01-01T11:35:32.880538837Z level=info msg="Executing migration" id="create data_source table" policy-api | [2024-01-01T11:36:00.407+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-db-migrator | policy-api | [2024-01-01T11:36:00.407+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' grafana | logger=migrator t=2024-01-01T11:35:32.881337896Z level=info msg="Migration successfully executed" id="create data_source table" duration=798.649µs policy-db-migrator | policy-api | [2024-01-01T11:36:00.409+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms grafana | logger=migrator t=2024-01-01T11:35:32.88666079Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-api | [2024-01-01T11:36:02.823+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: grafana | logger=migrator t=2024-01-01T11:35:32.887798202Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.133841ms policy-db-migrator | -------------- policy-api | [] grafana | logger=migrator t=2024-01-01T11:35:32.895114886Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-api | [2024-01-01T11:36:02.951+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes grafana | logger=migrator t=2024-01-01T11:35:32.896515651Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.399915ms policy-db-migrator | -------------- policy-api | [2024-01-01T11:36:03.187+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes grafana | logger=migrator t=2024-01-01T11:35:32.90431861Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | policy-api | [2024-01-01T11:36:04.201+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies grafana | logger=migrator t=2024-01-01T11:35:32.905593663Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.275853ms policy-db-migrator | policy-api | [2024-01-01T11:36:06.074+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 grafana | logger=migrator t=2024-01-01T11:35:32.911368732Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-api | [2024-01-01T11:36:06.484+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 grafana | logger=migrator t=2024-01-01T11:35:32.912740357Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.370455ms policy-db-migrator | -------------- policy-api | [2024-01-01T11:36:06.720+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 grafana | logger=migrator t=2024-01-01T11:35:32.919127072Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-api | [2024-01-01T11:36:06.962+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 grafana | logger=migrator t=2024-01-01T11:35:32.929953052Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.82571ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-api | [2024-01-01T11:36:07.198+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 grafana | logger=migrator t=2024-01-01T11:35:32.936918033Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | -------------- policy-api | [2024-01-01T11:36:07.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-01-01T11:35:32.937954684Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.034231ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:32.941584561Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:32.943001246Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.416175ms policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-01-01T11:35:32.951439382Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:32.952345961Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=906.079µs 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-01-01T11:35:32.958692756Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:32.959567165Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=873.879µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:32.964497205Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:32.968691228Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=4.193743ms policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-01-01T11:35:32.97370805Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:32.976010343Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.304563ms 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-01-01T11:35:32.982411788Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:32.982493589Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=81.981µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:32.988538621Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:32.988811094Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=272.773µs policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-01T11:35:32.9943452Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:32.996739705Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.394745ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-01-01T11:35:33.004503294Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.004778797Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=273.893µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.011307004Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.011789069Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=485.005µs policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-01T11:35:33.018386616Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.021666629Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.280953ms 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-01-01T11:35:33.027236287Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.027752612Z level=info msg="Migration successfully executed" id="Update uid value" duration=523.276µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.035927085Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.037174708Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.245963ms policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-01-01T11:35:33.042119749Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.043507433Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.387844ms 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-01-01T11:35:33.049018399Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.050258732Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.239093ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.059484426Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.060803879Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.319903ms policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-01-01T11:35:33.070598009Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.071955053Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.356964ms 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-01-01T11:35:33.078665242Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.08048989Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.823888ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.08637945Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.087657524Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.278064ms policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-01-01T11:35:33.094971498Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.096222081Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.250353ms 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-01-01T11:35:33.10493124Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.106207363Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.275823ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.111855711Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.123008285Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.151334ms policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-01-01T11:35:33.127507301Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.128644342Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.136221ms 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-01-01T11:35:33.137386031Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.138747525Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.361874ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.143610565Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.144961339Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.350744ms policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-01-01T11:35:33.152663918Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.153616207Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=951.689µ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-01-01T11:35:33.162097814Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.162878252Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=780.258µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.167360748Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.168368398Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.00648ms policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-01-01T11:35:33.171891284Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.172110646Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=219.872µs 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-01-01T11:35:33.178092897Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.180691624Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.598457ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.183892966Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.186458343Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.564937ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-01-01T11:35:33.189819827Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.1900709Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=250.943µs 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-01-01T11:35:33.193206961Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.195727317Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.519816ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.200558797Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.203958211Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.398944ms policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-01-01T11:35:33.207215415Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.208026763Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=810.699µs 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-01-01T11:35:33.211129855Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.211738411Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=607.846µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.216956864Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.217829243Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=871.599µs policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-01-01T11:35:33.220985905Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.222199628Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.211683ms 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) grafana | logger=migrator t=2024-01-01T11:35:33.225839105Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.227748975Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.912089ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.23316049Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.234090029Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=931.239µs policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-01-01T11:35:33.237320702Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.237466914Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=145.922µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-01T11:35:33.240389604Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.240461184Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=72.13µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.245413485Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.249276864Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.875189ms policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-01-01T11:35:33.252846191Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.257461788Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=4.616377ms 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)) grafana | logger=migrator t=2024-01-01T11:35:33.260859053Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.261041264Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=182.211µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.264334748Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.265102106Z level=info msg="Migration successfully executed" id="create quota table v1" duration=766.918µs policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.270281809Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 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)) grafana | logger=migrator t=2024-01-01T11:35:33.271170418Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=887.689µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.274620153Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.274774445Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=149.262µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.313436149Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-01-01T11:35:33.314646712Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.210613ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.321608613Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-01T11:35:33.322983277Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.374154ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.326781516Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.331401003Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.618877ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.334855528Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-01-01T11:35:33.334951599Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=95.361µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.340675118Z level=info msg="Executing migration" id="create session table" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-01-01T11:35:33.341671318Z level=info msg="Migration successfully executed" id="create session table" duration=993.84µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.345184154Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.345468887Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=277.533µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.349207515Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-01-01T11:35:33.349461097Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=252.962µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.352898293Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-01-01T11:35:33.35359583Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=697.237µs grafana | logger=migrator t=2024-01-01T11:35:33.358562591Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-01T11:35:33.359252388Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=689.396µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.362551841Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.362701223Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=148.992µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.369073428Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-01-01T11:35:33.36922568Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=165.571µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.380133931Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-01T11:35:33.38494943Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.812779ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.394986652Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.399756341Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.769239ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.410605602Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-01-01T11:35:33.410860454Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=254.092µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.419999108Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-01-01T11:35:33.420264191Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=264.842µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.433832799Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.435040891Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.204272ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.478178313Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-01-01T11:35:33.478330184Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=151.541µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.484449267Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-01-01T11:35:33.489412806Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.963899ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.498221546Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.49859181Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=369.894µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.502994145Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-01-01T11:35:33.506938775Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.94536ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.510870125Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-01-01T11:35:33.514233719Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.355794ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-01T11:35:33.518504323Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.518655535Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=150.962µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.525880068Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.52705295Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.173232ms policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-01-01T11:35:33.53192644Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.53284926Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=926.48µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-01-01T11:35:33.537977312Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.53978421Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.804928ms policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-01-01T11:35:33.544545679Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.546137315Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.591036ms 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)) grafana | logger=migrator t=2024-01-01T11:35:33.54958605Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.550411209Z level=info msg="Migration successfully executed" id="add index alert state" duration=822.489µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.555054326Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.556276749Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.221213ms policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-01-01T11:35:33.559810175Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.560856945Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.04533ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-01T11:35:33.565326661Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.566490283Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.166622ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.571761737Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.572630216Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=868.399µs policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-01-01T11:35:33.575703207Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.589629149Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.926052ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-01-01T11:35:33.592949913Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.593483589Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=533.766µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.600394059Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.6023937Z 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.999181ms policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-01-01T11:35:33.606239989Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.606626793Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=382.564µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-01-01T11:35:33.612888557Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.613505863Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=616.496µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.618370993Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.619558445Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.186652ms policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-01-01T11:35:33.623840699Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.629900111Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.058592ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-01T11:35:33.635445397Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.638542569Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.094722ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.642145516Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.644786293Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=2.640597ms policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-01-01T11:35:33.648484461Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.652003316Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.518155ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-01-01T11:35:33.655992167Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.65721744Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.225003ms grafana | logger=migrator t=2024-01-01T11:35:33.662754547Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.662781797Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=27.9µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.666814078Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-01-01T11:35:33.666841818Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=27.98µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.671374975Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-01-01T11:35:33.672109652Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=733.947µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.677220184Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.67874615Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.524936ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.68361506Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-01-01T11:35:33.685189846Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.574166ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.690147326Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-01T11:35:33.691268778Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.120382ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.696084057Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.696997206Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=912.349µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.701247039Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-01-01T11:35:33.706971258Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.723459ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.71502973Z level=info msg="Executing migration" id="Add column uid in alert_notification" 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 | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.720963831Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=5.932051ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.729566719Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.729801161Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=235.072µs policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-01-01T11:35:33.735620981Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.736966105Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.343324ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-01-01T11:35:33.741555311Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.743177328Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.617597ms policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.747758225Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.751440972Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.681977ms policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-01-01T11:35:33.755083409Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.75514818Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=67.741µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-01T11:35:33.757915858Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.758778427Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=861.939µs policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.785606691Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-01-01T11:35:33.787519041Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.91512ms policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.791600963Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-01T11:35:33.791859505Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=257.992µs grafana | logger=migrator t=2024-01-01T11:35:33.795476352Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-01T11:35:33.796310641Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=834.119µs grafana | logger=migrator t=2024-01-01T11:35:33.800664805Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-01T11:35:33.801592135Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=926.87µs grafana | logger=migrator t=2024-01-01T11:35:33.805236452Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-01-01T11:35:33.806164201Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=927.469µs grafana | logger=migrator t=2024-01-01T11:35:33.809827019Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-01T11:35:33.810808819Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=981.51µs grafana | logger=migrator t=2024-01-01T11:35:33.815434606Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-01T11:35:33.816466766Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.03161ms grafana | logger=migrator t=2024-01-01T11:35:33.820500768Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-01T11:35:33.821562139Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.061661ms grafana | logger=migrator t=2024-01-01T11:35:33.825075875Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-01T11:35:33.825145105Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=72.05µs grafana | logger=migrator t=2024-01-01T11:35:33.829491669Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-01T11:35:33.835887375Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.395056ms grafana | logger=migrator t=2024-01-01T11:35:33.839893496Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-01T11:35:33.840584083Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=690.457µs grafana | logger=migrator t=2024-01-01T11:35:33.843901577Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-01T11:35:33.847316122Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.413155ms grafana | logger=migrator t=2024-01-01T11:35:33.851458444Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-01T11:35:33.852156721Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=697.557µs grafana | logger=migrator t=2024-01-01T11:35:33.855549826Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-01T11:35:33.856476955Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=928.419µs grafana | logger=migrator t=2024-01-01T11:35:33.860084732Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-01T11:35:33.861063032Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=977.91µs grafana | logger=migrator t=2024-01-01T11:35:33.865931362Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-01T11:35:33.879378269Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=13.448397ms grafana | logger=migrator t=2024-01-01T11:35:33.883961276Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-01T11:35:33.884493221Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=531.335µs grafana | logger=migrator t=2024-01-01T11:35:33.887749705Z 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-01-01T11:35:33.888580943Z 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=831.258µs grafana | logger=migrator t=2024-01-01T11:35:33.892988108Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-01T11:35:33.893590854Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=601.916µs 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 | -------------- grafana | logger=migrator t=2024-01-01T11:35:33.897476494Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-01-01T11:35:33.898376273Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=900.349µs grafana | logger=migrator t=2024-01-01T11:35:33.901754148Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-01T11:35:33.90200394Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=249.152µs grafana | logger=migrator t=2024-01-01T11:35:33.906218023Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-01T11:35:33.912871261Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.651038ms grafana | logger=migrator t=2024-01-01T11:35:33.916820751Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-01T11:35:33.919789882Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=2.968591ms grafana | logger=migrator t=2024-01-01T11:35:33.923236537Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-01T11:35:33.924159887Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=921.26µs grafana | logger=migrator t=2024-01-01T11:35:33.928557152Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-01T11:35:33.929488501Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=930.899µs grafana | logger=migrator t=2024-01-01T11:35:33.933007847Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-01T11:35:33.933471322Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=462.405µs grafana | logger=migrator t=2024-01-01T11:35:33.937347781Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-01T11:35:33.943177941Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.83123ms grafana | logger=migrator t=2024-01-01T11:35:33.946802918Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-01T11:35:33.947880259Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.077041ms grafana | logger=migrator t=2024-01-01T11:35:33.952382885Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-01T11:35:33.952560157Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=176.742µs grafana | logger=migrator t=2024-01-01T11:35:33.956524077Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-01-01T11:35:33.956889311Z level=info msg="Migration successfully executed" id="Move region to single row" duration=364.924µs grafana | logger=migrator t=2024-01-01T11:35:33.960290056Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-01T11:35:33.96171296Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.422594ms grafana | logger=migrator t=2024-01-01T11:35:33.966429068Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-01-01T11:35:33.967309007Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=879.249µs grafana | logger=migrator t=2024-01-01T11:35:33.970998355Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-01T11:35:33.972209717Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.210252ms grafana | logger=migrator t=2024-01-01T11:35:33.975773194Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-01T11:35:33.976856715Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.082891ms grafana | logger=migrator t=2024-01-01T11:35:33.981545843Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-01T11:35:33.982444582Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=898.26µs grafana | logger=migrator t=2024-01-01T11:35:33.986596994Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-01T11:35:33.987536234Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=938.29µs grafana | logger=migrator t=2024-01-01T11:35:33.991842288Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-01T11:35:33.99199013Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=144.942µs grafana | logger=migrator t=2024-01-01T11:35:33.995539216Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-01-01T11:35:33.996355764Z level=info msg="Migration successfully executed" id="create test_data table" duration=816.268µs grafana | logger=migrator t=2024-01-01T11:35:34.000117442Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-01T11:35:34.001842601Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.725009ms grafana | logger=migrator t=2024-01-01T11:35:34.006133542Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-01T11:35:34.007616418Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.481866ms grafana | logger=migrator t=2024-01-01T11:35:34.012446863Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-01T11:35:34.013449705Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.002142ms grafana | logger=migrator t=2024-01-01T11:35:34.017073196Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-01T11:35:34.0173692Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=294.874µs grafana | logger=migrator t=2024-01-01T11:35:34.021252834Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-01T11:35:34.021951892Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=698.428µs grafana | logger=migrator t=2024-01-01T11:35:34.026863198Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 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 | -------------- 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 | grafana | logger=migrator t=2024-01-01T11:35:34.02705494Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=193.602µs grafana | logger=migrator t=2024-01-01T11:35:34.030834354Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-01-01T11:35:34.031672043Z level=info msg="Migration successfully executed" id="create team table" duration=837.529µs grafana | logger=migrator t=2024-01-01T11:35:34.035373696Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-01T11:35:34.036393827Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.020091ms grafana | logger=migrator t=2024-01-01T11:35:34.040916859Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-01T11:35:34.042239204Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.320645ms grafana | logger=migrator t=2024-01-01T11:35:34.046169009Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-01T11:35:34.052001216Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.832567ms grafana | logger=migrator t=2024-01-01T11:35:34.056128613Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-01T11:35:34.05670081Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=575.067µs grafana | logger=migrator t=2024-01-01T11:35:34.060350281Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-01T11:35:34.062050351Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.69955ms grafana | logger=migrator t=2024-01-01T11:35:34.066728945Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-01T11:35:34.067531434Z level=info msg="Migration successfully executed" id="create team member table" duration=801.979µs grafana | logger=migrator t=2024-01-01T11:35:34.07062409Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-01T11:35:34.07156917Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=950.081µs grafana | logger=migrator t=2024-01-01T11:35:34.074610515Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-01T11:35:34.075613707Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.002612ms grafana | logger=migrator t=2024-01-01T11:35:34.078632952Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-01T11:35:34.079659043Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.025731ms grafana | logger=migrator t=2024-01-01T11:35:34.084284987Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-01T11:35:34.089051022Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.765595ms grafana | logger=migrator t=2024-01-01T11:35:34.092198568Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-01T11:35:34.096835482Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.632644ms grafana | logger=migrator t=2024-01-01T11:35:34.100229211Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-01T11:35:34.104920065Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.690234ms grafana | logger=migrator t=2024-01-01T11:35:34.109572359Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-01T11:35:34.11056699Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=993.961µs grafana | logger=migrator t=2024-01-01T11:35:34.113941409Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-01T11:35:34.115252934Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.310045ms grafana | logger=migrator t=2024-01-01T11:35:34.118603493Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-01T11:35:34.120334743Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.73048ms grafana | logger=migrator t=2024-01-01T11:35:34.125496582Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-01T11:35:34.126535644Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.038822ms grafana | logger=migrator t=2024-01-01T11:35:34.129504759Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-01T11:35:34.130541341Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.036142ms grafana | logger=migrator t=2024-01-01T11:35:34.135515018Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-01T11:35:34.13651335Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=997.462µs grafana | logger=migrator t=2024-01-01T11:35:34.139657096Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-01-01T11:35:34.140728648Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.071222ms grafana | logger=migrator t=2024-01-01T11:35:34.143856784Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-01T11:35:34.144861886Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.004542ms grafana | logger=migrator t=2024-01-01T11:35:34.14786979Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-01T11:35:34.148471907Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=600.837µs grafana | logger=migrator t=2024-01-01T11:35:34.153384514Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-01T11:35:34.153735568Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=350.604µs grafana | logger=migrator t=2024-01-01T11:35:34.156868745Z level=info msg="Executing migration" id="create tag table" 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 | 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 | -------------- grafana | logger=migrator t=2024-01-01T11:35:34.157829386Z level=info msg="Migration successfully executed" id="create tag table" duration=958.651µs grafana | logger=migrator t=2024-01-01T11:35:34.163179937Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-01T11:35:34.164821636Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.641129ms grafana | logger=migrator t=2024-01-01T11:35:34.168061673Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-01T11:35:34.168837562Z level=info msg="Migration successfully executed" id="create login attempt table" duration=775.109µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT 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 | -------------- grafana | logger=migrator t=2024-01-01T11:35:34.171926408Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-01-01T11:35:34.172998831Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.071823ms grafana | logger=migrator t=2024-01-01T11:35:34.177946488Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-01T11:35:34.17897125Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.022072ms grafana | logger=migrator t=2024-01-01T11:35:34.182121426Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-01T11:35:34.203203159Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=21.081843ms grafana | logger=migrator t=2024-01-01T11:35:34.206525238Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-01T11:35:34.207156395Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=631.007µs grafana | logger=migrator t=2024-01-01T11:35:34.211754628Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-01T11:35:34.212743159Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=988.551µs grafana | logger=migrator t=2024-01-01T11:35:34.215903296Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-01T11:35:34.21627427Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=370.664µs grafana | logger=migrator t=2024-01-01T11:35:34.219257125Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-01T11:35:34.219946332Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=688.487µs grafana | logger=migrator t=2024-01-01T11:35:34.224823699Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-01T11:35:34.225673909Z level=info msg="Migration successfully executed" id="create user auth table" duration=849.58µs grafana | logger=migrator t=2024-01-01T11:35:34.228877045Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-01T11:35:34.229923367Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.046012ms grafana | logger=migrator t=2024-01-01T11:35:34.233053954Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-01T11:35:34.233204995Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=150.101µs grafana | logger=migrator t=2024-01-01T11:35:34.273713513Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-01T11:35:34.280179328Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.469815ms grafana | logger=migrator t=2024-01-01T11:35:34.28474304Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-01T11:35:34.28986728Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.123539ms grafana | logger=migrator t=2024-01-01T11:35:34.293041236Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-01T11:35:34.298022123Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.980147ms grafana | logger=migrator t=2024-01-01T11:35:34.302567966Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-01-01T11:35:34.307635804Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.068018ms grafana | logger=migrator t=2024-01-01T11:35:34.310935653Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-01-01T11:35:34.311885764Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=949.721µs grafana | logger=migrator t=2024-01-01T11:35:34.314968929Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-01-01T11:35:34.319970497Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.000888ms grafana | logger=migrator t=2024-01-01T11:35:34.324977155Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-01T11:35:34.325777644Z level=info msg="Migration successfully executed" id="create server_lock table" duration=799.919µs grafana | logger=migrator t=2024-01-01T11:35:34.328769848Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-01-01T11:35:34.32978674Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.016132ms grafana | logger=migrator t=2024-01-01T11:35:34.332801685Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-01-01T11:35:34.333806047Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.003952ms grafana | logger=migrator t=2024-01-01T11:35:34.338626002Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-01-01T11:35:34.339677034Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.050982ms grafana | logger=migrator t=2024-01-01T11:35:34.342732089Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-01-01T11:35:34.343782281Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.049842ms grafana | logger=migrator t=2024-01-01T11:35:34.346787886Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-01-01T11:35:34.347898139Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.110033ms grafana | logger=migrator t=2024-01-01T11:35:34.352632054Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-01-01T11:35:34.358014316Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.381772ms grafana | logger=migrator t=2024-01-01T11:35:34.361040901Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-01-01T11:35:34.362120703Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.079772ms 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 | -------------- grafana | logger=migrator t=2024-01-01T11:35:34.365592943Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-01-01T11:35:34.366401833Z level=info msg="Migration successfully executed" id="create cache_data table" duration=808.51µs grafana | logger=migrator t=2024-01-01T11:35:34.371212388Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-01-01T11:35:34.37226454Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.051902ms grafana | logger=migrator t=2024-01-01T11:35:34.375295755Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-01-01T11:35:34.376141055Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=844.66µs grafana | logger=migrator t=2024-01-01T11:35:34.37920891Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-01-01T11:35:34.380268153Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.060643ms grafana | logger=migrator t=2024-01-01T11:35:34.384989507Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-01-01T11:35:34.385118979Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=129.011µs grafana | logger=migrator t=2024-01-01T11:35:34.388600769Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-01-01T11:35:34.388894252Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=294.923µs grafana | logger=migrator t=2024-01-01T11:35:34.3921971Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-01-01T11:35:34.393556236Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.360096ms grafana | logger=migrator t=2024-01-01T11:35:34.396675102Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-01T11:35:34.397825755Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.152283ms grafana | logger=migrator t=2024-01-01T11:35:34.402391668Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-01T11:35:34.4034695Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.075572ms grafana | logger=migrator t=2024-01-01T11:35:34.406616317Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-01T11:35:34.406771408Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=154.581µs grafana | logger=migrator t=2024-01-01T11:35:34.409692662Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-01T11:35:34.410750054Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.057322ms grafana | logger=migrator t=2024-01-01T11:35:34.415316447Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-01T11:35:34.416339939Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.023762ms grafana | logger=migrator t=2024-01-01T11:35:34.419307403Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-01T11:35:34.420388216Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.080683ms grafana | logger=migrator t=2024-01-01T11:35:34.425345143Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-01T11:35:34.426440355Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.096802ms grafana | logger=migrator t=2024-01-01T11:35:34.42942139Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-01-01T11:35:34.435091735Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.669555ms grafana | logger=migrator t=2024-01-01T11:35:34.438145061Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-01-01T11:35:34.439186583Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.040972ms grafana | logger=migrator t=2024-01-01T11:35:34.443875977Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-01-01T11:35:34.444057049Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=181.493µs grafana | logger=migrator t=2024-01-01T11:35:34.447120144Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-01-01T11:35:34.448036525Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=915.801µs grafana | logger=migrator t=2024-01-01T11:35:34.451002629Z 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-01-01T11:35:34.452081741Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.078962ms grafana | logger=migrator t=2024-01-01T11:35:34.456932567Z 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-01-01T11:35:34.45804687Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.112333ms grafana | logger=migrator t=2024-01-01T11:35:34.460860823Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-01T11:35:34.460982594Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=121.521µs grafana | logger=migrator t=2024-01-01T11:35:34.46410962Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-01-01T11:35:34.465114562Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.004592ms grafana | logger=migrator t=2024-01-01T11:35:34.469843436Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-01-01T11:35:34.471257473Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.412847ms grafana | logger=migrator t=2024-01-01T11:35:34.474818654Z 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-01-01T11:35:34.476514773Z 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.695689ms grafana | logger=migrator t=2024-01-01T11:35:34.48140148Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-01-01T11:35:34.483205731Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.804001ms grafana | logger=migrator t=2024-01-01T11:35:34.486746791Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-01-01T11:35:34.492465527Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.718456ms 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 grafana | logger=migrator t=2024-01-01T11:35:34.495587854Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-01T11:35:34.496539975Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=952.411µs grafana | logger=migrator t=2024-01-01T11:35:34.501486212Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-01T11:35:34.502435943Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=949.911µs grafana | logger=migrator t=2024-01-01T11:35:34.505253455Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-01-01T11:35:34.539398309Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=34.145064ms grafana | logger=migrator t=2024-01-01T11:35:34.542567056Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-01-01T11:35:34.576927022Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=34.359196ms grafana | logger=migrator t=2024-01-01T11:35:34.585772584Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-01T11:35:34.587462174Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.69148ms grafana | logger=migrator t=2024-01-01T11:35:34.591368699Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-01T11:35:34.593126399Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.7574ms grafana | logger=migrator t=2024-01-01T11:35:34.596278045Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-01-01T11:35:34.602086183Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.807558ms grafana | logger=migrator t=2024-01-01T11:35:34.606881668Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-01-01T11:35:34.607768388Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=886.41µs grafana | logger=migrator t=2024-01-01T11:35:34.612810136Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-01-01T11:35:34.614493396Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.683ms grafana | logger=migrator t=2024-01-01T11:35:34.618252179Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-01-01T11:35:34.619881928Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.629469ms grafana | logger=migrator t=2024-01-01T11:35:34.624928206Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-01-01T11:35:34.62609442Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.163874ms grafana | logger=migrator t=2024-01-01T11:35:34.62960524Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-01T11:35:34.629808513Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=199.043µs grafana | logger=migrator t=2024-01-01T11:35:34.633317853Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-01-01T11:35:34.64085184Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.534447ms grafana | logger=migrator t=2024-01-01T11:35:34.645715406Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-01-01T11:35:34.651681285Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.965459ms grafana | logger=migrator t=2024-01-01T11:35:34.654669019Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-01-01T11:35:34.660691639Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.02202ms grafana | logger=migrator t=2024-01-01T11:35:34.663894316Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-01-01T11:35:34.664842307Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=947.921µs grafana | logger=migrator t=2024-01-01T11:35:34.669879075Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-01-01T11:35:34.671278261Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.397796ms grafana | logger=migrator t=2024-01-01T11:35:34.674745721Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-01-01T11:35:34.683258609Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.516818ms grafana | logger=migrator t=2024-01-01T11:35:34.687944953Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-01-01T11:35:34.693951403Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.00572ms grafana | logger=migrator t=2024-01-01T11:35:34.700278526Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-01-01T11:35:34.701362428Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.083512ms grafana | logger=migrator t=2024-01-01T11:35:34.70497042Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-01-01T11:35:34.71106626Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.09533ms grafana | logger=migrator t=2024-01-01T11:35:34.714694512Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-01-01T11:35:34.72056811Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.873578ms grafana | logger=migrator t=2024-01-01T11:35:34.754918626Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-01-01T11:35:34.755135419Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=216.773µs grafana | logger=migrator t=2024-01-01T11:35:34.76047832Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-01-01T11:35:34.762261961Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.783211ms grafana | logger=migrator t=2024-01-01T11:35:34.76823278Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-01-01T11:35:34.769339463Z 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.106223ms grafana | logger=migrator t=2024-01-01T11:35:34.774170829Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-01-01T11:35:34.775303992Z 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.132493ms grafana | logger=migrator t=2024-01-01T11:35:34.778933194Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-01T11:35:34.779002784Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=70.291µs grafana | logger=migrator t=2024-01-01T11:35:34.782407893Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-01-01T11:35:34.78902291Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.614777ms grafana | logger=migrator t=2024-01-01T11:35:34.797298586Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-01-01T11:35:34.803414626Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.11524ms grafana | logger=migrator t=2024-01-01T11:35:34.80725073Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-01-01T11:35:34.813365991Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.114491ms grafana | logger=migrator t=2024-01-01T11:35:34.81762635Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-01-01T11:35:34.823871782Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.244002ms grafana | logger=migrator t=2024-01-01T11:35:34.828219022Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-01-01T11:35:34.832624863Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=4.405331ms grafana | logger=migrator t=2024-01-01T11:35:34.835937451Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-01-01T11:35:34.836035033Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=95.061µs grafana | logger=migrator t=2024-01-01T11:35:34.839518073Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-01-01T11:35:34.840326392Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=807.559µs grafana | logger=migrator t=2024-01-01T11:35:34.844810394Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-01-01T11:35:34.851161277Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.352564ms grafana | logger=migrator t=2024-01-01T11:35:34.854668248Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-01-01T11:35:34.854762349Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=67.991µs grafana | logger=migrator t=2024-01-01T11:35:34.859105709Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-01-01T11:35:34.865445612Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.339703ms grafana | logger=migrator t=2024-01-01T11:35:34.869000513Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-01-01T11:35:34.870106866Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.106353ms grafana | logger=migrator t=2024-01-01T11:35:34.879192821Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-01-01T11:35:34.889295037Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=10.101306ms grafana | logger=migrator t=2024-01-01T11:35:34.892087939Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-01-01T11:35:34.892632856Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=544.447µs grafana | logger=migrator t=2024-01-01T11:35:34.895737961Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-01-01T11:35:34.89647677Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=738.939µs grafana | logger=migrator t=2024-01-01T11:35:34.900499547Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-01-01T11:35:34.90692563Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.425234ms grafana | logger=migrator t=2024-01-01T11:35:34.910223048Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-01-01T11:35:34.911006348Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=781.569µs grafana | logger=migrator t=2024-01-01T11:35:34.914188834Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-01-01T11:35:34.915241767Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.052562ms grafana | logger=migrator t=2024-01-01T11:35:34.921159965Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-01-01T11:35:34.921984944Z level=info msg="Migration successfully executed" id="create alert_image table" duration=823.819µs grafana | logger=migrator t=2024-01-01T11:35:34.925030889Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-01-01T11:35:34.926543297Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.513228ms grafana | logger=migrator t=2024-01-01T11:35:34.930132868Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-01-01T11:35:34.93029221Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=158.612µs grafana | logger=migrator t=2024-01-01T11:35:34.93374553Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-01-01T11:35:34.934657021Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=910.41µs policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:35 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:36 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:37 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0101241135340800u 1 2024-01-01 11:35:38 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:38 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:38 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:38 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:38 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:38 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:39 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:39 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:39 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:39 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:39 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:39 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:39 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0101241135340900u 1 2024-01-01 11:35:39 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0101241135341000u 1 2024-01-01 11:35:39 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0101241135341000u 1 2024-01-01 11:35:39 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0101241135341000u 1 2024-01-01 11:35:39 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0101241135341000u 1 2024-01-01 11:35:39 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0101241135341000u 1 2024-01-01 11:35:39 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0101241135341000u 1 2024-01-01 11:35:39 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0101241135341000u 1 2024-01-01 11:35:39 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0101241135341000u 1 2024-01-01 11:35:39 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0101241135341000u 1 2024-01-01 11:35:39 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0101241135341100u 1 2024-01-01 11:35:39 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0101241135341200u 1 2024-01-01 11:35:39 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0101241135341200u 1 2024-01-01 11:35:39 grafana | logger=migrator t=2024-01-01T11:35:34.938707977Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-01-01T11:35:34.939703959Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=996.052µs grafana | logger=migrator t=2024-01-01T11:35:34.942861965Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-01T11:35:34.9432978Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-01T11:35:34.947222716Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-01-01T11:35:34.947676071Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=451.035µs grafana | logger=migrator t=2024-01-01T11:35:34.950346001Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-01-01T11:35:34.951403324Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.057123ms grafana | logger=migrator t=2024-01-01T11:35:34.954443109Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-01-01T11:35:34.960925014Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.481225ms grafana | logger=migrator t=2024-01-01T11:35:34.965099842Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-01-01T11:35:34.966056793Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=956.451µs grafana | logger=migrator t=2024-01-01T11:35:34.969177779Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-01-01T11:35:34.970314402Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.137243ms grafana | logger=migrator t=2024-01-01T11:35:34.974001375Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-01-01T11:35:34.974812194Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=811.56µs grafana | logger=migrator t=2024-01-01T11:35:34.978152433Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-01-01T11:35:34.979314626Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.161934ms grafana | logger=migrator t=2024-01-01T11:35:34.986744422Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-01-01T11:35:34.987810494Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.066042ms grafana | logger=migrator t=2024-01-01T11:35:34.994117127Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-01-01T11:35:34.994187857Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=76.29µs grafana | logger=migrator t=2024-01-01T11:35:34.997637207Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-01-01T11:35:34.997724078Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=87.721µs grafana | logger=migrator t=2024-01-01T11:35:35.000717313Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-01-01T11:35:35.001078117Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=360.654µs grafana | logger=migrator t=2024-01-01T11:35:35.004166683Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-01-01T11:35:35.00562844Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.456257ms grafana | logger=migrator t=2024-01-01T11:35:35.010630017Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-01-01T11:35:35.011897532Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.267175ms grafana | logger=migrator t=2024-01-01T11:35:35.015511504Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-01-01T11:35:35.063002321Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.489507ms grafana | logger=migrator t=2024-01-01T11:35:35.066410021Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-01-01T11:35:35.072554401Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.14273ms grafana | logger=migrator t=2024-01-01T11:35:35.077273026Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-01-01T11:35:35.077452028Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=179.272µs grafana | logger=migrator t=2024-01-01T11:35:35.083247755Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-01-01T11:35:35.131788044Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=48.536139ms grafana | logger=migrator t=2024-01-01T11:35:35.135351075Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-01-01T11:35:35.184101118Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=48.748383ms grafana | logger=migrator t=2024-01-01T11:35:35.18869503Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-01-01T11:35:35.189285427Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=590.177µs grafana | logger=migrator t=2024-01-01T11:35:35.192862879Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-01-01T11:35:35.193727969Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=864.31µs grafana | logger=migrator t=2024-01-01T11:35:35.198533544Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0101241135341200u 1 2024-01-01 11:35:40 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0101241135341200u 1 2024-01-01 11:35:40 policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2024-01-01T11:35:35.198866078Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=332.844µs grafana | logger=migrator t=2024-01-01T11:35:35.237739396Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-01-01T11:35:35.239340075Z level=info msg="Migration successfully executed" id="create permission table" duration=1.600289ms grafana | logger=migrator t=2024-01-01T11:35:35.247326667Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-01-01T11:35:35.248928975Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.601708ms grafana | logger=migrator t=2024-01-01T11:35:35.254214776Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-01-01T11:35:35.255815335Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.599859ms grafana | logger=migrator t=2024-01-01T11:35:35.25978272Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-01-01T11:35:35.260964684Z level=info msg="Migration successfully executed" id="create role table" duration=1.181614ms grafana | logger=migrator t=2024-01-01T11:35:35.26665919Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-01-01T11:35:35.278192703Z level=info msg="Migration successfully executed" id="add column display_name" duration=11.536894ms grafana | logger=migrator t=2024-01-01T11:35:35.281329949Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-01-01T11:35:35.286508659Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.17814ms grafana | logger=migrator t=2024-01-01T11:35:35.290907799Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-01-01T11:35:35.291881911Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=974.632µs grafana | logger=migrator t=2024-01-01T11:35:35.296694326Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-01-01T11:35:35.298356325Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.661459ms grafana | logger=migrator t=2024-01-01T11:35:35.302187019Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-01-01T11:35:35.303831328Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.643379ms grafana | logger=migrator t=2024-01-01T11:35:35.307543361Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-01-01T11:35:35.30825259Z level=info msg="Migration successfully executed" id="create team role table" duration=708.568µs grafana | logger=migrator t=2024-01-01T11:35:35.315029497Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-01-01T11:35:35.31697869Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.946073ms grafana | logger=migrator t=2024-01-01T11:35:35.322995959Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-01-01T11:35:35.324095702Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.096543ms grafana | logger=migrator t=2024-01-01T11:35:35.327503091Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-01-01T11:35:35.328482012Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=978.741µs grafana | logger=migrator t=2024-01-01T11:35:35.333909225Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-01-01T11:35:35.334665674Z level=info msg="Migration successfully executed" id="create user role table" duration=756.029µs grafana | logger=migrator t=2024-01-01T11:35:35.339166296Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-01-01T11:35:35.340761244Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.594278ms grafana | logger=migrator t=2024-01-01T11:35:35.344481137Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-01-01T11:35:35.346230087Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.7483ms grafana | logger=migrator t=2024-01-01T11:35:35.351913433Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-01-01T11:35:35.352912054Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=998.821µs grafana | logger=migrator t=2024-01-01T11:35:35.358721921Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-01-01T11:35:35.359870504Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.148013ms grafana | logger=migrator t=2024-01-01T11:35:35.363435986Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-01-01T11:35:35.365019064Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.582498ms grafana | logger=migrator t=2024-01-01T11:35:35.370061052Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-01-01T11:35:35.371133725Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.072202ms grafana | logger=migrator t=2024-01-01T11:35:35.375438094Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-01-01T11:35:35.387039088Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=11.602204ms grafana | logger=migrator t=2024-01-01T11:35:35.391233826Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-01-01T11:35:35.391998745Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=764.179µs grafana | logger=migrator t=2024-01-01T11:35:35.398319928Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-01-01T11:35:35.39935276Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.032012ms grafana | logger=migrator t=2024-01-01T11:35:35.402939891Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-01-01T11:35:35.404512059Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.572128ms grafana | logger=migrator t=2024-01-01T11:35:35.408557686Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-01-01T11:35:35.410235945Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.677749ms grafana | logger=migrator t=2024-01-01T11:35:35.416023492Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-01-01T11:35:35.4167531Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=730.068µs grafana | logger=migrator t=2024-01-01T11:35:35.420496704Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-01-01T11:35:35.422575118Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.077454ms grafana | logger=migrator t=2024-01-01T11:35:35.431934346Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-01-01T11:35:35.442150423Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.215317ms grafana | logger=migrator t=2024-01-01T11:35:35.446529094Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-01-01T11:35:35.454359574Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.82982ms grafana | logger=migrator t=2024-01-01T11:35:35.459630635Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-01-01T11:35:35.465188869Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.557544ms grafana | logger=migrator t=2024-01-01T11:35:35.468566148Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-01-01T11:35:35.476411958Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.84523ms grafana | logger=migrator t=2024-01-01T11:35:35.48174605Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-01-01T11:35:35.482772632Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.026072ms grafana | logger=migrator t=2024-01-01T11:35:35.486606526Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-01-01T11:35:35.488048973Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.438367ms grafana | logger=migrator t=2024-01-01T11:35:35.49565279Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-01-01T11:35:35.496725743Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.071253ms grafana | logger=migrator t=2024-01-01T11:35:35.502279347Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-01-01T11:35:35.502361948Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=81.481µs grafana | logger=migrator t=2024-01-01T11:35:35.506179872Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-01-01T11:35:35.506228362Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=49.31µs grafana | logger=migrator t=2024-01-01T11:35:35.510199108Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-01-01T11:35:35.510917446Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=718.268µs grafana | logger=migrator t=2024-01-01T11:35:35.514849782Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-01-01T11:35:35.515380238Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=531.136µs grafana | logger=migrator t=2024-01-01T11:35:35.519563716Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-01-01T11:35:35.520183723Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=620.027µs grafana | logger=migrator t=2024-01-01T11:35:35.52423768Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-01-01T11:35:35.524560184Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=322.244µs grafana | logger=migrator t=2024-01-01T11:35:35.530490552Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-01-01T11:35:35.53114228Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=651.888µs grafana | logger=migrator t=2024-01-01T11:35:35.538476194Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-01-01T11:35:35.539638147Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.161713ms grafana | logger=migrator t=2024-01-01T11:35:35.544743196Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-01-01T11:35:35.546489867Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.747411ms grafana | logger=migrator t=2024-01-01T11:35:35.550474653Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-01-01T11:35:35.558390914Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.915221ms grafana | logger=migrator t=2024-01-01T11:35:35.563835347Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-01-01T11:35:35.563902088Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=66.75µs grafana | logger=migrator t=2024-01-01T11:35:35.570409112Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-01-01T11:35:35.571307243Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=897.721µs grafana | logger=migrator t=2024-01-01T11:35:35.575346299Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-01-01T11:35:35.577644876Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.293647ms grafana | logger=migrator t=2024-01-01T11:35:35.583245691Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-01-01T11:35:35.584277642Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.032022ms grafana | logger=migrator t=2024-01-01T11:35:35.590285362Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-01-01T11:35:35.601319219Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.034357ms grafana | logger=migrator t=2024-01-01T11:35:35.608276939Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-01-01T11:35:35.609341142Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.064762ms grafana | logger=migrator t=2024-01-01T11:35:35.613154855Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-01-01T11:35:35.614212967Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.057492ms grafana | logger=migrator t=2024-01-01T11:35:35.620668562Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-01T11:35:35.655370742Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=34.70551ms grafana | logger=migrator t=2024-01-01T11:35:35.659245777Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-01-01T11:35:35.659946335Z level=info msg="Migration successfully executed" id="create correlation v2" duration=746.329µs grafana | logger=migrator t=2024-01-01T11:35:35.66731882Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-01-01T11:35:35.668465013Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.146013ms grafana | logger=migrator t=2024-01-01T11:35:35.67770602Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-01-01T11:35:35.679928725Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.222145ms grafana | logger=migrator t=2024-01-01T11:35:35.710432117Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-01-01T11:35:35.712246248Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.817881ms grafana | logger=migrator t=2024-01-01T11:35:35.717312687Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-01-01T11:35:35.71760792Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=295.103µs grafana | logger=migrator t=2024-01-01T11:35:35.721166401Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-01-01T11:35:35.72199056Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=824.079µs grafana | logger=migrator t=2024-01-01T11:35:35.728369274Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-01-01T11:35:35.741438435Z level=info msg="Migration successfully executed" id="add provisioning column" duration=13.068881ms grafana | logger=migrator t=2024-01-01T11:35:35.746572014Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-01-01T11:35:35.74713834Z level=info msg="Migration successfully executed" id="create entity_events table" duration=565.866µs grafana | logger=migrator t=2024-01-01T11:35:35.7505685Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-01-01T11:35:35.751213117Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=644.167µs grafana | logger=migrator t=2024-01-01T11:35:35.755001921Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-01T11:35:35.75575718Z 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-01-01T11:35:35.760386263Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-01T11:35:35.760858789Z 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-01-01T11:35:35.766624725Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-01-01T11:35:35.767402774Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=775.899µs grafana | logger=migrator t=2024-01-01T11:35:35.773021359Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-01-01T11:35:35.778643244Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=5.617905ms grafana | logger=migrator t=2024-01-01T11:35:35.782784741Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-01T11:35:35.784115227Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.334766ms grafana | logger=migrator t=2024-01-01T11:35:35.78787939Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-01T11:35:35.790183477Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=2.306497ms grafana | logger=migrator t=2024-01-01T11:35:35.795437927Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-01T11:35:35.796603231Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.165034ms grafana | logger=migrator t=2024-01-01T11:35:35.801247704Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-01T11:35:35.802396678Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.148984ms grafana | logger=migrator t=2024-01-01T11:35:35.807203773Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-01-01T11:35:35.808063113Z level=info msg="Migration successfully executed" id="Drop public config table" duration=859.07µs grafana | logger=migrator t=2024-01-01T11:35:35.81301455Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-01-01T11:35:35.814568618Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.552638ms grafana | logger=migrator t=2024-01-01T11:35:35.818808957Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-01T11:35:35.821234175Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=2.424728ms grafana | logger=migrator t=2024-01-01T11:35:35.826301513Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-01T11:35:35.82773276Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.429657ms grafana | logger=migrator t=2024-01-01T11:35:35.831429492Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-01-01T11:35:35.832864649Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.434107ms grafana | logger=migrator t=2024-01-01T11:35:35.841078694Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-01-01T11:35:35.87541562Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=34.338076ms grafana | logger=migrator t=2024-01-01T11:35:35.880717981Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-01-01T11:35:35.88935925Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.640609ms grafana | logger=migrator t=2024-01-01T11:35:35.893170514Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-01-01T11:35:35.902131338Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.957594ms grafana | logger=migrator t=2024-01-01T11:35:35.906073823Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-01-01T11:35:35.906401437Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=327.704µs grafana | logger=migrator t=2024-01-01T11:35:35.912197184Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-01-01T11:35:35.920788263Z level=info msg="Migration successfully executed" id="add share column" duration=8.592949ms grafana | logger=migrator t=2024-01-01T11:35:35.925489687Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-01-01T11:35:35.925835191Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=347.054µs grafana | logger=migrator t=2024-01-01T11:35:35.929297711Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-01-01T11:35:35.930353753Z level=info msg="Migration successfully executed" id="create file table" duration=1.055482ms grafana | logger=migrator t=2024-01-01T11:35:35.934010635Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-01-01T11:35:35.935200119Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.189564ms grafana | logger=migrator t=2024-01-01T11:35:35.941585183Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-01-01T11:35:35.942800927Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.215554ms grafana | logger=migrator t=2024-01-01T11:35:35.949481854Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-01-01T11:35:35.95089971Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.412746ms grafana | logger=migrator t=2024-01-01T11:35:35.956292072Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-01-01T11:35:35.958518008Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.225656ms grafana | logger=migrator t=2024-01-01T11:35:35.965273646Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-01-01T11:35:35.965464698Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=190.542µs grafana | logger=migrator t=2024-01-01T11:35:35.970084441Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-01-01T11:35:35.970259293Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=174.322µs grafana | logger=migrator t=2024-01-01T11:35:35.975285451Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-01-01T11:35:35.976431704Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.114853ms grafana | logger=migrator t=2024-01-01T11:35:35.980318579Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-01-01T11:35:35.980605913Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=288.004µs grafana | logger=migrator t=2024-01-01T11:35:35.988464033Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-01T11:35:35.990075412Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.611639ms grafana | logger=migrator t=2024-01-01T11:35:35.995296922Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-01T11:35:36.005250767Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.955115ms grafana | logger=migrator t=2024-01-01T11:35:36.009914881Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-01T11:35:36.010101963Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=186.952µs grafana | logger=migrator t=2024-01-01T11:35:36.017124693Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-01T11:35:36.019135297Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.010164ms grafana | logger=migrator t=2024-01-01T11:35:36.026919187Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-01T11:35:36.027722366Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=803.94µs grafana | logger=migrator t=2024-01-01T11:35:36.031752702Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-01T11:35:36.032294358Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=540.326µs grafana | logger=migrator t=2024-01-01T11:35:36.037201355Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-01T11:35:36.037844613Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=643.267µs grafana | logger=migrator t=2024-01-01T11:35:36.043512448Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-01T11:35:36.055338504Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.826966ms grafana | logger=migrator t=2024-01-01T11:35:36.059990408Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-01T11:35:36.06887978Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.888932ms grafana | logger=migrator t=2024-01-01T11:35:36.072873046Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-01T11:35:36.074021339Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.147853ms grafana | logger=migrator t=2024-01-01T11:35:36.078496131Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-01T11:35:36.183111786Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=104.614695ms grafana | logger=migrator t=2024-01-01T11:35:36.188811522Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-01T11:35:36.190079297Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.269135ms grafana | logger=migrator t=2024-01-01T11:35:36.193774119Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-01T11:35:36.194990603Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.218214ms grafana | logger=migrator t=2024-01-01T11:35:36.199584816Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-01T11:35:36.234831752Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.249266ms grafana | logger=migrator t=2024-01-01T11:35:36.242123686Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-01T11:35:36.24243515Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=310.994µs grafana | logger=migrator t=2024-01-01T11:35:36.247248905Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-01T11:35:36.247562659Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=313.134µs grafana | logger=migrator t=2024-01-01T11:35:36.25111375Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-01-01T11:35:36.251565355Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=451.025µs grafana | logger=migrator t=2024-01-01T11:35:36.255049765Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-01T11:35:36.256580893Z level=info msg="Migration successfully executed" id="create folder table" duration=1.532018ms grafana | logger=migrator t=2024-01-01T11:35:36.260929793Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-01T11:35:36.262204728Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.274335ms grafana | logger=migrator t=2024-01-01T11:35:36.265351834Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-01T11:35:36.266924142Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.567528ms grafana | logger=migrator t=2024-01-01T11:35:36.272408975Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-01T11:35:36.272558737Z level=info msg="Migration successfully executed" id="Update folder title length" duration=148.702µs grafana | logger=migrator t=2024-01-01T11:35:36.278139841Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-01T11:35:36.279365645Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.225464ms grafana | logger=migrator t=2024-01-01T11:35:36.283859367Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-01T11:35:36.28582587Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.965183ms grafana | logger=migrator t=2024-01-01T11:35:36.290249581Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-01T11:35:36.292465276Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.235866ms grafana | logger=migrator t=2024-01-01T11:35:36.295699454Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-01T11:35:36.296455242Z level=info msg="Migration successfully executed" id="create anon_device table" duration=756.068µs grafana | logger=migrator t=2024-01-01T11:35:36.30323074Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-01T11:35:36.305503027Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.269216ms grafana | logger=migrator t=2024-01-01T11:35:36.310432093Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-01T11:35:36.311658597Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.225834ms grafana | logger=migrator t=2024-01-01T11:35:36.316408282Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-01T11:35:36.317330283Z level=info msg="Migration successfully executed" id="create signing_key table" duration=921.711µs grafana | logger=migrator t=2024-01-01T11:35:36.322134828Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-01T11:35:36.324133351Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.998813ms grafana | logger=migrator t=2024-01-01T11:35:36.328004156Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-01T11:35:36.329186199Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.180663ms grafana | logger=migrator t=2024-01-01T11:35:36.335013327Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-01T11:35:36.335583073Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=571.156µs grafana | logger=migrator t=2024-01-01T11:35:36.339745441Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-01T11:35:36.351193283Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.447922ms grafana | logger=migrator t=2024-01-01T11:35:36.354720684Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-01T11:35:36.355411432Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=691.108µs grafana | logger=migrator t=2024-01-01T11:35:36.359013373Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-01T11:35:36.360275158Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.261595ms grafana | logger=migrator t=2024-01-01T11:35:36.364524077Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-01T11:35:36.365485478Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=960.571µs grafana | logger=migrator t=2024-01-01T11:35:36.372333347Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-01T11:35:36.373136636Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=803.909µs grafana | logger=migrator t=2024-01-01T11:35:36.376775498Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-01T11:35:36.377376015Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=601.597µs grafana | logger=migrator t=2024-01-01T11:35:36.383138941Z level=info msg="migrations completed" performed=523 skipped=0 duration=4.339534381s grafana | logger=sqlstore t=2024-01-01T11:35:36.396792648Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-01T11:35:36.397084272Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-01T11:35:36.402483534Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-01T11:35:36.421726866Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-01T11:35:36.45857627Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-01T11:35:36.458733052Z level=info msg="Plugins loaded" count=55 duration=37.007576ms grafana | logger=query_data t=2024-01-01T11:35:36.462395934Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-01T11:35:36.469027151Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-01T11:35:36.479084997Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-01T11:35:36.479958867Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-01T11:35:36.480312571Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2024-01-01T11:35:36.480682105Z level=warn msg="No available receivers" grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-01T11:35:36.483216344Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-01T11:35:36.510782902Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-01T11:35:36.513077658Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-01T11:35:36.525307119Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-01T11:35:36.525324499Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-01-01T11:35:36.525804505Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-01-01T11:35:36.526645855Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2024-01-01T11:35:36.533958749Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.multiorg.alertmanager t=2024-01-01T11:35:36.536532629Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=sqlstore.transactions t=2024-01-01T11:35:36.548236613Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=plugins.update.checker t=2024-01-01T11:35:36.610486491Z level=info msg="Update check succeeded" duration=74.081074ms grafana | logger=ngalert.state.manager t=2024-01-01T11:35:36.611727235Z level=info msg="State cache has been initialized" states=0 duration=85.07839ms grafana | logger=ngalert.scheduler t=2024-01-01T11:35:36.611786346Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-01T11:35:36.611972438Z level=info msg=starting first_tick=2024-01-01T11:35:40Z grafana | logger=grafana.update.checker t=2024-01-01T11:35:39.689730907Z level=info msg="Update check succeeded" duration=3.152915565s grafana | logger=infra.usagestats t=2024-01-01T11:36:39.547995024Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-db-migrator ... done Removing policy-api ... done Removing grafana ... done Removing mariadb ... done Removing prometheus ... 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.I2vD1YlcJN ]] + rsync -av /tmp/tmp.I2vD1YlcJN/ /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,345,463 bytes received 95 bytes 2,691,116.00 bytes/sec total size is 1,344,814 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 2099 killed; [ssh-agent] Stopped. Robot results publisher started... -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/jenkins12547960076718655720.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12379267027944942807.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/jenkins14529878114947892845.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-mKHz from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-mKHz/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5370345170490707383.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config13392817069395917029tmp 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/jenkins8378275721574170524.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9277341700618988420.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-mKHz from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-mKHz/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3185195898732169826.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3928926092996593998.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-mKHz from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-mKHz/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/jenkins9814389935697796650.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-mKHz from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-mKHz/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/227 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-8955 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 836 27411 0 3919 30874 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:e0:42:7c brd ff:ff:ff:ff:ff:ff inet 10.30.107.158/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86045sec preferred_lft 86045sec inet6 fe80::f816:3eff:fee0:427c/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:07:40:a7:ce 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-8955) 01/01/24 _x86_64_ (8 CPU) 11:32:21 LINUX RESTART (8 CPU) 11:33:01 tps rtps wtps bread/s bwrtn/s 11:34:01 106.77 36.16 70.60 1690.12 22715.28 11:35:01 127.15 22.78 104.37 2725.95 30592.23 11:36:01 376.80 13.46 363.34 865.19 75873.32 11:37:02 14.71 0.00 14.71 0.00 16884.32 11:38:01 56.23 2.07 54.16 129.20 19608.80 Average: 136.60 14.94 121.66 1085.28 33180.02 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30137480 31725188 2801740 8.51 68500 1829976 1384156 4.07 847128 1666796 157172 11:35:01 29118872 31659848 3820348 11.60 97224 2722036 1580548 4.65 995368 2465780 646732 11:36:01 26808544 30424988 6130676 18.61 126528 3677068 4722092 13.89 2319608 3362468 620 11:37:02 26815984 30420188 6123236 18.59 126676 3677760 4722092 13.89 2325932 3348812 100 11:38:01 28130064 31675216 4809156 14.60 130300 3651552 1410860 4.15 1104368 3279708 54020 Average: 28202189 31181086 4737031 14.38 109846 3111678 2763950 8.13 1518481 2824713 171729 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 ens3 63.07 43.89 912.27 8.83 0.00 0.00 0.00 0.00 11:34:01 lo 1.33 1.33 0.14 0.14 0.00 0.00 0.00 0.00 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 130.78 88.15 3016.41 11.64 0.00 0.00 0.00 0.00 11:35:01 lo 5.47 5.47 0.51 0.51 0.00 0.00 0.00 0.00 11:35:01 br-174346f7d3b3 0.00 0.00 0.00 0.00 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:36:01 veth46c28af 55.39 67.86 27.37 18.53 0.00 0.00 0.00 0.00 11:36:01 ens3 204.30 126.60 6343.53 9.92 0.00 0.00 0.00 0.00 11:36:01 lo 5.65 5.65 0.53 0.53 0.00 0.00 0.00 0.00 11:36:01 br-174346f7d3b3 0.87 0.92 0.10 0.34 0.00 0.00 0.00 0.00 11:37:02 veth46c28af 63.91 81.37 92.29 26.17 0.00 0.00 0.00 0.01 11:37:02 ens3 3.40 2.98 0.64 0.86 0.00 0.00 0.00 0.00 11:37:02 lo 9.92 9.92 8.21 8.21 0.00 0.00 0.00 0.00 11:37:02 br-174346f7d3b3 2.88 3.30 5.84 2.20 0.00 0.00 0.00 0.00 11:38:01 ens3 59.96 51.91 124.85 26.17 0.00 0.00 0.00 0.00 11:38:01 lo 7.64 7.64 0.68 0.68 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 Average: ens3 92.41 62.74 2086.08 11.43 0.00 0.00 0.00 0.00 Average: lo 6.00 6.00 2.02 2.02 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 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-8955) 01/01/24 _x86_64_ (8 CPU) 11:32:21 LINUX RESTART (8 CPU) 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 8.89 0.00 0.72 2.61 0.03 87.75 11:34:01 0 10.83 0.00 0.93 0.63 0.02 87.59 11:34:01 1 16.27 0.00 0.62 2.14 0.05 80.92 11:34:01 2 13.57 0.00 1.60 16.69 0.07 68.06 11:34:01 3 14.53 0.00 1.01 0.56 0.03 83.87 11:34:01 4 8.55 0.00 0.57 0.28 0.02 90.59 11:34:01 5 1.83 0.00 0.23 0.00 0.02 97.92 11:34:01 6 4.79 0.00 0.43 0.15 0.02 94.61 11:34:01 7 0.80 0.00 0.37 0.42 0.00 98.42 11:35:01 all 10.56 0.00 1.40 2.49 0.04 85.50 11:35:01 0 2.35 0.00 1.62 0.00 0.02 96.01 11:35:01 1 2.48 0.00 1.31 5.86 0.07 90.29 11:35:01 2 1.54 0.00 0.99 8.88 0.05 88.54 11:35:01 3 21.34 0.00 1.78 0.96 0.05 75.87 11:35:01 4 12.51 0.00 1.19 0.58 0.03 85.69 11:35:01 5 28.35 0.00 1.94 1.55 0.05 68.11 11:35:01 6 13.35 0.00 1.62 1.74 0.05 83.24 11:35:01 7 2.62 0.00 0.73 0.40 0.03 96.21 11:36:01 all 18.31 0.00 3.77 5.19 0.08 72.65 11:36:01 0 20.83 0.00 4.66 21.22 0.08 53.21 11:36:01 1 17.84 0.00 3.67 11.20 0.07 67.22 11:36:01 2 19.45 0.00 4.17 1.71 0.08 74.58 11:36:01 3 17.81 0.00 3.69 4.20 0.07 74.23 11:36:01 4 18.53 0.00 3.49 1.30 0.08 76.60 11:36:01 5 18.73 0.00 3.34 0.49 0.07 77.37 11:36:01 6 16.99 0.00 3.45 0.57 0.07 78.92 11:36:01 7 16.29 0.00 3.79 0.84 0.08 78.99 11:37:02 all 3.09 0.00 0.27 0.92 0.03 95.70 11:37:02 0 3.50 0.00 0.37 7.07 0.03 89.02 11:37:02 1 3.37 0.00 0.08 0.00 0.02 96.53 11:37:02 2 3.11 0.00 0.25 0.00 0.03 96.61 11:37:02 3 3.80 0.00 0.28 0.20 0.02 95.70 11:37:02 4 2.74 0.00 0.28 0.00 0.07 96.91 11:37:02 5 4.22 0.00 0.38 0.00 0.02 95.38 11:37:02 6 1.82 0.00 0.27 0.05 0.00 97.86 11:37:02 7 2.14 0.00 0.20 0.00 0.02 97.64 11:38:01 all 7.21 0.00 0.71 1.46 0.03 90.59 11:38:01 0 3.26 0.00 0.58 7.30 0.02 88.84 11:38:01 1 1.61 0.00 0.56 0.61 0.02 97.20 11:38:01 2 2.87 0.00 0.70 1.54 0.03 94.86 11:38:01 3 1.58 0.00 0.46 0.08 0.02 97.86 11:38:01 4 0.76 0.00 0.36 0.03 0.03 98.81 11:38:01 5 15.35 0.00 0.58 0.93 0.03 83.10 11:38:01 6 29.02 0.00 1.79 1.05 0.07 68.07 11:38:01 7 3.31 0.00 0.66 0.14 0.03 95.86 Average: all 9.61 0.00 1.37 2.53 0.04 86.45 Average: 0 8.15 0.00 1.63 7.21 0.03 82.98 Average: 1 8.32 0.00 1.24 3.96 0.04 86.43 Average: 2 8.11 0.00 1.54 5.78 0.05 84.51 Average: 3 11.82 0.00 1.44 1.20 0.04 85.50 Average: 4 8.62 0.00 1.17 0.44 0.05 89.72 Average: 5 13.69 0.00 1.30 0.59 0.04 84.38 Average: 6 13.12 0.00 1.51 0.71 0.04 84.62 Average: 7 5.02 0.00 1.15 0.36 0.03 93.44