Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-5263 (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-5lkSK7TcdsMP/agent.2130 SSH_AGENT_PID=2132 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_822061845811634148.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_822061845811634148.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/jenkins15749716014171876896.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-H4Qc 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-H4Qc/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-H4Qc/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.1 botocore==1.34.1 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.2.2 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.0 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.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.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.13.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.9.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.3 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/jenkins14669194856199800446.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/jenkins17090444543447439593.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.FYYmbIE4ac ++ echo ROBOT_VENV=/tmp/tmp.FYYmbIE4ac +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.FYYmbIE4ac ++ source /tmp/tmp.FYYmbIE4ac/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.FYYmbIE4ac +++ 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.FYYmbIE4ac/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.FYYmbIE4ac) ' '!=' x ']' +++ PS1='(tmp.FYYmbIE4ac) ' +++ 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.8.5 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==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 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.FYYmbIE4ac/src/onap ++ rm -rf /tmp/tmp.FYYmbIE4ac/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.8.5 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==4.9.3 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.3.1 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.FYYmbIE4ac/bin/activate + '[' -z /tmp/tmp.FYYmbIE4ac/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.FYYmbIE4ac/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.FYYmbIE4ac ++ 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.FYYmbIE4ac/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.FYYmbIE4ac) ' ++ '[' 'x(tmp.FYYmbIE4ac) ' '!=' x ']' ++ PS1='(tmp.FYYmbIE4ac) (tmp.FYYmbIE4ac) ' ++ 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.kqN3eR2rmy + cd /tmp/tmp.kqN3eR2rmy + 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:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f 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 11 seconds policy-db-migrator Up 12 seconds prometheus Up 10 seconds mariadb Up 12 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 16 seconds prometheus Up 16 seconds mariadb Up 17 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 21 seconds prometheus Up 21 seconds mariadb Up 23 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds prometheus Up 26 seconds mariadb Up 28 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:35:54 up 3 min, 0 users, load average: 2.32, 0.95, 0.37 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.1 us, 2.1 sy, 0.0 ni, 82.9 id, 3.8 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 26 seconds prometheus Up 26 seconds mariadb Up 28 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 96f25f3b29c4 grafana 0.02% 95.82MiB / 31.41GiB 0.30% 18.2kB / 3.16kB 0B / 23.4MB 19 bc60dded4841 policy-api 0.09% 941.7MiB / 31.41GiB 2.93% 1.04MB / 739kB 0B / 0B 50 c10e6f03245f prometheus 0.21% 18.7MiB / 31.41GiB 0.06% 990B / 158B 98.3kB / 0B 13 0c80fd2eccc0 mariadb 0.01% 100MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.9MB 26 + echo + cd /tmp/tmp.kqN3eR2rmy + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + 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.kqN3eR2rmy/output.xml Log: /tmp/tmp.kqN3eR2rmy/log.html Report: /tmp/tmp.kqN3eR2rmy/report.html + RESULT=0 + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:05 up 4 min, 0 users, load average: 0.78, 0.77, 0.35 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.4 us, 1.7 sy, 0.0 ni, 85.7 id, 3.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.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 About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 96f25f3b29c4 grafana 1.37% 96.23MiB / 31.41GiB 0.30% 19.3kB / 4.44kB 0B / 23.4MB 19 bc60dded4841 policy-api 0.10% 956.6MiB / 31.41GiB 2.97% 7.32MB / 2.87MB 0B / 0B 52 c10e6f03245f prometheus 0.00% 25.31MiB / 31.41GiB 0.08% 37.5kB / 7.09kB 98.3kB / 0B 13 0c80fd2eccc0 mariadb 0.02% 100.9MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 68MB 18 + 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, prometheus, mariadb grafana | logger=settings t=2023-12-15T11:35:29.164668462Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-12-15T11:35:29.164869019Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-15T11:35:29.164880379Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-15T11:35:29.164884519Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-15T11:35:29.164887849Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-15T11:35:29.164892149Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-15T11:35:29.16489547Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-15T11:35:29.16489834Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-15T11:35:29.16490142Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-15T11:35:29.16490528Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-15T11:35:29.16490964Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-15T11:35:29.16491337Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-15T11:35:29.16491739Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-15T11:35:29.164922771Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-15T11:35:29.164928071Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-15T11:35:29.164931771Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-15T11:35:29.164935451Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-15T11:35:29.164938941Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-15T11:35:29.164943251Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-15T11:35:29.16519714Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-15T11:35:29.165214341Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-15T11:35:29.165862795Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-15T11:35:29.166717317Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-15T11:35:29.167402452Z level=info msg="Migration successfully executed" id="create migration_log table" duration=684.635µs grafana | logger=migrator t=2023-12-15T11:35:29.17066202Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-15T11:35:29.171126218Z level=info msg="Migration successfully executed" id="create user table" duration=464.508µs grafana | logger=migrator t=2023-12-15T11:35:29.175972185Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-15T11:35:29.176505065Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=532.65µs grafana | logger=migrator t=2023-12-15T11:35:29.179486754Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-15T11:35:29.180603414Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.11168ms grafana | logger=migrator t=2023-12-15T11:35:29.184665463Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-15T11:35:29.18566737Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.002057ms grafana | logger=migrator t=2023-12-15T11:35:29.188622128Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-15T11:35:29.189239151Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=617.133µs grafana | logger=migrator t=2023-12-15T11:35:29.194913018Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-15T11:35:29.19905839Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.141742ms grafana | logger=migrator t=2023-12-15T11:35:29.202365861Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-15T11:35:29.203418569Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.052498ms grafana | logger=migrator t=2023-12-15T11:35:29.206669759Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-15T11:35:29.207364954Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=694.625µs grafana | logger=migrator t=2023-12-15T11:35:29.212095816Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-15T11:35:29.212888846Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=792.13µs grafana | logger=migrator t=2023-12-15T11:35:29.215916087Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-15T11:35:29.216546Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=629.683µs grafana | logger=migrator t=2023-12-15T11:35:29.219724976Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-15T11:35:29.220522425Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=769.939µs grafana | logger=migrator t=2023-12-15T11:35:29.225488667Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-15T11:35:29.226555476Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.066519ms grafana | logger=migrator t=2023-12-15T11:35:29.229295226Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-15T11:35:29.229320017Z level=info msg="Migration successfully executed" id="Update user table charset" duration=25.441µs grafana | logger=migrator t=2023-12-15T11:35:29.232364868Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-15T11:35:29.23349705Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.131772ms grafana | logger=migrator t=2023-12-15T11:35:29.236257821Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-15T11:35:29.236466578Z level=info msg="Migration successfully executed" id="Add missing user data" duration=208.627µs grafana | logger=migrator t=2023-12-15T11:35:29.241580936Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-15T11:35:29.242715157Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.146351ms grafana | logger=migrator t=2023-12-15T11:35:29.245283281Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-15T11:35:29.246011038Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=726.897µs grafana | logger=migrator t=2023-12-15T11:35:29.248661575Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-15T11:35:29.249799086Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.135651ms grafana | logger=migrator t=2023-12-15T11:35:29.252520196Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-15T11:35:29.262040865Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.518609ms grafana | logger=migrator t=2023-12-15T11:35:29.266624752Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-15T11:35:29.267312167Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=687.005µs grafana | logger=migrator t=2023-12-15T11:35:29.270159591Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-15T11:35:29.270847016Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=687.235µs grafana | logger=migrator t=2023-12-15T11:35:29.273520554Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-15T11:35:29.27422891Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=707.916µs grafana | logger=migrator t=2023-12-15T11:35:29.278757607Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-15T11:35:29.279452602Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=694.145µs grafana | logger=migrator t=2023-12-15T11:35:29.282135499Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-15T11:35:29.282846545Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=710.756µs grafana | logger=migrator t=2023-12-15T11:35:29.285591706Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-15T11:35:29.285618967Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=26.671µs grafana | logger=migrator t=2023-12-15T11:35:29.323262605Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-15T11:35:29.324251061Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=989.116µs grafana | logger=migrator t=2023-12-15T11:35:29.32777947Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-15T11:35:29.328780587Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=969.975µs grafana | logger=migrator t=2023-12-15T11:35:29.331695473Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-15T11:35:29.332291055Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=595.192µs grafana | logger=migrator t=2023-12-15T11:35:29.336666075Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-15T11:35:29.337306819Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=640.793µs grafana | logger=migrator t=2023-12-15T11:35:29.34006982Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-15T11:35:29.344080157Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.008657ms grafana | logger=migrator t=2023-12-15T11:35:29.346603499Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-15T11:35:29.347295125Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=687.686µs grafana | logger=migrator t=2023-12-15T11:35:29.351747247Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-15T11:35:29.352443593Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=696.056µs grafana | logger=migrator t=2023-12-15T11:35:29.355115641Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-15T11:35:29.355792306Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=676.374µs grafana | logger=migrator t=2023-12-15T11:35:29.357792759Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-15T11:35:29.358471274Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=677.655µs grafana | logger=migrator t=2023-12-15T11:35:29.36275714Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-15T11:35:29.363440726Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=683.055µs grafana | logger=migrator t=2023-12-15T11:35:29.366204207Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-15T11:35:29.36657088Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=366.613µs grafana | logger=migrator t=2023-12-15T11:35:29.369235677Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-15T11:35:29.369722935Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=486.738µs grafana | logger=migrator t=2023-12-15T11:35:29.372359041Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-15T11:35:29.372684934Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=325.393µs grafana | logger=migrator t=2023-12-15T11:35:29.376937069Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-15T11:35:29.3775043Z level=info msg="Migration successfully executed" id="create star table" duration=567.281µs grafana | logger=migrator t=2023-12-15T11:35:29.380073573Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-15T11:35:29.38078709Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=712.696µs grafana | logger=migrator t=2023-12-15T11:35:29.383987447Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-15T11:35:29.384646261Z level=info msg="Migration successfully executed" id="create org table v1" duration=658.964µs grafana | logger=migrator t=2023-12-15T11:35:29.390278427Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-12-15T11:35:29.391357976Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.079389ms grafana | logger=migrator t=2023-12-15T11:35:29.394147478Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-15T11:35:29.395073003Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=924.725µs grafana | logger=migrator t=2023-12-15T11:35:29.398020651Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-15T11:35:29.398786248Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=766.338µs grafana | logger=migrator t=2023-12-15T11:35:29.401399194Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-15T11:35:29.402131231Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=733.487µs grafana | logger=migrator t=2023-12-15T11:35:29.406298074Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-15T11:35:29.407004689Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=706.515µs grafana | logger=migrator t=2023-12-15T11:35:29.409598105Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-15T11:35:29.409622416Z level=info msg="Migration successfully executed" id="Update org table charset" duration=25.31µs grafana | logger=migrator t=2023-12-15T11:35:29.412019823Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-15T11:35:29.412044034Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=25.221µs grafana | logger=migrator t=2023-12-15T11:35:29.414110289Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-15T11:35:29.414271755Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=161.656µs grafana | logger=migrator t=2023-12-15T11:35:29.419016719Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-15T11:35:29.419638182Z level=info msg="Migration successfully executed" id="create dashboard table" duration=621.123µs grafana | logger=migrator t=2023-12-15T11:35:29.422139923Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-15T11:35:29.422892411Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=752.508µs grafana | logger=migrator t=2023-12-15T11:35:29.425373481Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-15T11:35:29.426207572Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=834.331µs grafana | logger=migrator t=2023-12-15T11:35:29.42889311Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-15T11:35:29.429596016Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=702.396µs grafana | logger=migrator t=2023-12-15T11:35:29.434042618Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-15T11:35:29.434784296Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=741.478µs grafana | logger=migrator t=2023-12-15T11:35:29.437587899Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-15T11:35:29.438252862Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=664.923µs grafana | logger=migrator t=2023-12-15T11:35:29.440861328Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-15T11:35:29.448238668Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.37267ms grafana | logger=migrator t=2023-12-15T11:35:29.452815025Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-15T11:35:29.453462139Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=646.804µs grafana | logger=migrator t=2023-12-15T11:35:29.456282792Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-15T11:35:29.456982978Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=700.086µs grafana | logger=migrator t=2023-12-15T11:35:29.459871034Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-15T11:35:29.460572869Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=703.136µs grafana | logger=migrator t=2023-12-15T11:35:29.465172288Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-15T11:35:29.465562182Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=389.234µs grafana | logger=migrator t=2023-12-15T11:35:29.469226667Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-15T11:35:29.47044106Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.214064ms grafana | logger=migrator t=2023-12-15T11:35:29.473353888Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-15T11:35:29.473463352Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=110.113µs grafana | logger=migrator t=2023-12-15T11:35:29.477974396Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-15T11:35:29.479740181Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.765095ms grafana | logger=migrator t=2023-12-15T11:35:29.482495242Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-15T11:35:29.484180833Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.685531ms grafana | logger=migrator t=2023-12-15T11:35:29.487313049Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-15T11:35:29.490318378Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=3.00958ms grafana | logger=migrator t=2023-12-15T11:35:29.495088083Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-15T11:35:29.496312747Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.225594ms grafana | logger=migrator t=2023-12-15T11:35:29.499295057Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-15T11:35:29.502239454Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.944077ms grafana | logger=migrator t=2023-12-15T11:35:29.505074228Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-12-15T11:35:29.505899048Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=824.34µs grafana | logger=migrator t=2023-12-15T11:35:29.509351395Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-12-15T11:35:29.510144133Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=791.999µs grafana | logger=migrator t=2023-12-15T11:35:29.512927325Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-15T11:35:29.512951836Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=25.291µs grafana | logger=migrator t=2023-12-15T11:35:29.515691206Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-15T11:35:29.515717287Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=26.691µs grafana | logger=migrator t=2023-12-15T11:35:29.519303009Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-15T11:35:29.521158347Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.854929ms grafana | logger=migrator t=2023-12-15T11:35:29.52533989Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-15T11:35:29.527369414Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.029004ms grafana | logger=migrator t=2023-12-15T11:35:29.530114505Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-15T11:35:29.531982292Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.867747ms grafana | logger=migrator t=2023-12-15T11:35:29.535363456Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-15T11:35:29.537276647Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.91261ms grafana | logger=migrator t=2023-12-15T11:35:29.540037958Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-15T11:35:29.540222004Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=183.926µs grafana | logger=migrator t=2023-12-15T11:35:29.542883102Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-15T11:35:29.543629129Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=745.497µs grafana | logger=migrator t=2023-12-15T11:35:29.54722444Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-15T11:35:29.547939527Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=716.836µs grafana | logger=migrator t=2023-12-15T11:35:29.550324534Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-15T11:35:29.550369156Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=44.062µs grafana | logger=migrator t=2023-12-15T11:35:29.553517301Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-15T11:35:29.554829809Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.311358ms grafana | logger=migrator t=2023-12-15T11:35:29.558794304Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-15T11:35:29.559414227Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=619.563µs grafana | logger=migrator t=2023-12-15T11:35:29.562619814Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-15T11:35:29.569637001Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.016346ms grafana | logger=migrator t=2023-12-15T11:35:29.572387091Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-15T11:35:29.572996854Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=609.523µs grafana | logger=migrator t=2023-12-15T11:35:29.575775765Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-15T11:35:29.576492172Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=716.347µs grafana | logger=migrator t=2023-12-15T11:35:29.580082023Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-15T11:35:29.580872262Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=789.769µs grafana | logger=migrator t=2023-12-15T11:35:29.583505768Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-15T11:35:29.583789628Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=283.62µs grafana | logger=migrator t=2023-12-15T11:35:29.585688688Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-15T11:35:29.586208857Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=518.599µs grafana | logger=migrator t=2023-12-15T11:35:29.589784018Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-15T11:35:29.591761021Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.977402ms grafana | logger=migrator t=2023-12-15T11:35:29.59447442Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-15T11:35:29.595232048Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=757.107µs grafana | logger=migrator t=2023-12-15T11:35:29.597839832Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-12-15T11:35:29.598005299Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=165.297µs grafana | logger=migrator t=2023-12-15T11:35:29.601480236Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-15T11:35:29.601665343Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=185.027µs grafana | logger=migrator t=2023-12-15T11:35:29.604181474Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-15T11:35:29.604926362Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=744.418µs grafana | logger=migrator t=2023-12-15T11:35:29.607687493Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-15T11:35:29.6097903Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.101836ms grafana | logger=migrator t=2023-12-15T11:35:29.61308216Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-12-15T11:35:29.613934371Z level=info msg="Migration successfully executed" id="create data_source table" duration=851.581µs policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-12-15T11:35:40.318+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-12-15T11:35:40.321+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-12-15T11:35:41.679+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-12-15T11:35:41.775+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 83 ms. Found 6 JPA repository interfaces. policy-api | [2023-12-15T11:35:42.931+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-12-15T11:35:42.944+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-15T11:35:42.945+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-12-15T11:35:42.945+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-12-15T11:35:43.032+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-12-15T11:35:43.033+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2651 ms policy-api | [2023-12-15T11:35:43.574+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-12-15T11:35:43.642+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-12-15T11:35:43.873+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-12-15T11:35:44.010+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-12-15T11:35:44.120+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-12-15T11:35:44.142+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-12-15T11:35:45.687+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-12-15T11:35:45.703+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-12-15T11:35:46.759+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-12-15T11:35:47.428+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-12-15T11:35:48.509+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@65c2610f, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@73e4ecb, org.springframework.security.web.context.SecurityContextPersistenceFilter@556d8c78, org.springframework.security.web.header.HeaderWriterFilter@14c5625d, org.springframework.security.web.authentication.logout.LogoutFilter@190a5f74, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2416378c, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5e147821, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@395065af, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1942a960, org.springframework.security.web.session.SessionManagementFilter@2b5854a7, org.springframework.security.web.access.ExceptionTranslationFilter@8dba70a, org.springframework.security.web.access.intercept.AuthorizationFilter@780ccdc9] policy-api | [2023-12-15T11:35:48.649+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-12-15T11:35:51.200+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-12-15T11:35:51.226+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-15T11:35:51.262+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-12-15T11:35:51.279+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.721 seconds (JVM running for 12.338) policy-api | [2023-12-15T11:35:57.420+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-12-15T11:35:57.420+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' policy-api | [2023-12-15T11:35:57.422+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 2 ms policy-api | [2023-12-15T11:36:00.093+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-12-15T11:36:00.207+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-12-15T11:36:00.474+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2023-12-15T11:36:01.539+00:00|WARN|CommonRestController|http-nio-6969-exec-1] POST /policies policy-api | [2023-12-15T11:36:03.439+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-12-15T11:36:03.830+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-12-15T11:36:04.051+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-12-15T11:36:04.286+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-12-15T11:36:04.510+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-12-15T11:36:04.734+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 mariadb | 2023-12-15 11:35:26+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-15 11:35:26+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-15 11:35:26+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-15 11:35:26+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-15 11:35:26 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-15 11:35:26 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-15 11:35:26 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 | 2023-12-15 11:35:27+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-15 11:35:27+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-15 11:35:27+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-12-15 11:35:27 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2023-12-15 11:35:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-15 11:35:27 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-15 11:35:27 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-15 11:35:27 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-15 11:35:27 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-15 11:35:27 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-15 11:35:27 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-15 11:35:27 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-15 11:35:27 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-15 11:35:27 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-15 11:35:27 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-15 11:35:27 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-15 11:35:27 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-12-15 11:35:27 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-15 11:35:27 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-15 11:35:27 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-15 11:35:27 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-15 11:35:27 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 | 2023-12-15 11:35:28+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-15 11:35:30+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-15 11:35:30+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-12-15 11:35:30+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-12-15 11:35:30+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'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 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 | 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-12-15 11:35:31+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-12-15 11:35:31 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-12-15 11:35:31 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-12-15 11:35:31 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-12-15 11:35:31 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-15 11:35:31 0 [Note] InnoDB: Buffer pool(s) dump completed at 231215 11:35:31 mariadb | 2023-12-15 11:35:31 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-12-15 11:35:31 0 [Note] InnoDB: Shutdown completed; log sequence number 347319; transaction id 298 mariadb | 2023-12-15 11:35:31 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-12-15 11:35:31+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-12-15 11:35:31+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-12-15 11:35:31 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-12-15 11:35:31 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-15 11:35:31 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-15 11:35:31 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-15 11:35:31 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-15 11:35:31 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-15 11:35:31 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-15 11:35:31 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-15 11:35:31 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-15 11:35:32 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-15 11:35:32 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-15 11:35:32 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-15 11:35:32 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-15 11:35:32 0 [Note] InnoDB: log sequence number 347319; transaction id 299 mariadb | 2023-12-15 11:35:32 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-15 11:35:32 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-15 11:35:32 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-15 11:35:32 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-12-15 11:35:32 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-12-15 11:35:32 0 [Note] Server socket created on IP: '::'. mariadb | 2023-12-15 11:35:32 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2023-12-15 11:35:32 0 [Note] InnoDB: Buffer pool(s) load completed at 231215 11:35:32 mariadb | 2023-12-15 11:35:32 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2023-12-15 11:35:32 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) prometheus | ts=2023-12-15T11:35:28.142Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-12-15T11:35:28.142Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" prometheus | ts=2023-12-15T11:35:28.142Z 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)" prometheus | ts=2023-12-15T11:35:28.142Z 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))" prometheus | ts=2023-12-15T11:35:28.143Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-12-15T11:35:28.143Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-12-15T11:35:28.144Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-12-15T11:35:28.145Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-12-15T11:35:28.147Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-12-15T11:35:28.147Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-12-15T11:35:28.151Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-12-15T11:35:28.151Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.421µs prometheus | ts=2023-12-15T11:35:28.152Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-12-15T11:35:28.152Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-12-15T11:35:28.152Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=143.636µs wal_replay_duration=454.257µs wbl_replay_duration=300ns total_replay_duration=879.255µs prometheus | ts=2023-12-15T11:35:28.155Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-12-15T11:35:28.155Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-12-15T11:35:28.155Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-12-15T11:35:28.157Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.24609ms db_storage=1.27µs remote_storage=2.39µs web_handler=510ns query_engine=970ns scrape=1.5095ms scrape_sd=104.554µs notify=28.642µs notify_sd=10.69µs rules=1.38µs tracing=5.751µs prometheus | ts=2023-12-15T11:35:28.157Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-12-15T11:35:28.157Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.616726993Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-15T11:35:29.617511213Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=782.01µs grafana | logger=migrator t=2023-12-15T11:35:29.620389588Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-15T11:35:29.621161646Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=771.338µs grafana | logger=migrator t=2023-12-15T11:35:29.624549031Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-15T11:35:29.625244316Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=694.886µs grafana | logger=migrator t=2023-12-15T11:35:29.627884992Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-15T11:35:29.628586137Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=701.215µs grafana | logger=migrator t=2023-12-15T11:35:29.631220184Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-15T11:35:29.638896425Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.675041ms grafana | logger=migrator t=2023-12-15T11:35:29.648920512Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-15T11:35:29.649761003Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=839.272µs grafana | logger=migrator t=2023-12-15T11:35:29.652533705Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-15T11:35:29.653875083Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.342689ms grafana | logger=migrator t=2023-12-15T11:35:29.656951406Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-15T11:35:29.658297605Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.345459ms grafana | logger=migrator t=2023-12-15T11:35:29.66198543Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-15T11:35:29.662509199Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=523.739µs grafana | logger=migrator t=2023-12-15T11:35:29.665183427Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-15T11:35:29.667519713Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.336686ms grafana | logger=migrator t=2023-12-15T11:35:29.670522882Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-15T11:35:29.672738473Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.215671ms grafana | logger=migrator t=2023-12-15T11:35:29.676184389Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-15T11:35:29.67621097Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=25.501µs grafana | logger=migrator t=2023-12-15T11:35:29.678995292Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-15T11:35:29.679162409Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=165.637µs grafana | logger=migrator t=2023-12-15T11:35:29.681209654Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-15T11:35:29.68410604Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.890127ms grafana | logger=migrator t=2023-12-15T11:35:29.688097095Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-15T11:35:29.688392007Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=298.081µs grafana | logger=migrator t=2023-12-15T11:35:29.691866384Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-15T11:35:29.692128583Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=262.369µs grafana | logger=migrator t=2023-12-15T11:35:29.695351911Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-15T11:35:29.697604484Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.252082ms grafana | logger=migrator t=2023-12-15T11:35:29.700389305Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-15T11:35:29.700557921Z level=info msg="Migration successfully executed" id="Update uid value" duration=168.666µs grafana | logger=migrator t=2023-12-15T11:35:29.704100371Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-15T11:35:29.70544092Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.340059ms grafana | logger=migrator t=2023-12-15T11:35:29.708617157Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-15T11:35:29.710025528Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.407581ms grafana | logger=migrator t=2023-12-15T11:35:29.712942485Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-15T11:35:29.713658891Z level=info msg="Migration successfully executed" id="create api_key table" duration=716.166µs grafana | logger=migrator t=2023-12-15T11:35:29.717220031Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-15T11:35:29.718026001Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=805.92µs grafana | logger=migrator t=2023-12-15T11:35:29.720689178Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-15T11:35:29.721479707Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=788.709µs grafana | logger=migrator t=2023-12-15T11:35:29.724211297Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-15T11:35:29.725029257Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=817.3µs grafana | logger=migrator t=2023-12-15T11:35:29.729730109Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-15T11:35:29.730435945Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=705.456µs grafana | logger=migrator t=2023-12-15T11:35:29.733149065Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-15T11:35:29.733922153Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=770.759µs grafana | logger=migrator t=2023-12-15T11:35:29.736676014Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.73738636Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=709.966µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.740787334Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2023-12-15T11:35:29.749105148Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.317064ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.751805277Z level=info msg="Executing migration" id="create api_key table v2" 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=2023-12-15T11:35:29.752261014Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=455.697µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.755786203Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.756305142Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=520.65µs policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.758807583Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2023-12-15T11:35:29.759519949Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=712.096µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.762122894Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 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=2023-12-15T11:35:29.762899673Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=773.569µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.766317838Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.766616678Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=298.4µs policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.769451613Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2023-12-15T11:35:29.770004983Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=551.419µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.772702371Z level=info msg="Executing migration" id="Update api_key table charset" 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=2023-12-15T11:35:29.772724132Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=22.621µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.775518104Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.777922133Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.403409ms policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.781700571Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2023-12-15T11:35:29.784112849Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.412058ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.786625041Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 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=2023-12-15T11:35:29.786778656Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=153.475µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.788836762Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.791252101Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.414629ms policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.794483638Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2023-12-15T11:35:29.796896037Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.411659ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.7994623Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 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=2023-12-15T11:35:29.800110204Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=647.544µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.802888276Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.803451827Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=563.051µs policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.807236086Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2023-12-15T11:35:29.808152679Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=916.323µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.810982703Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 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=2023-12-15T11:35:29.81173348Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=750.528µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.814381697Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.815131554Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=749.257µs policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.818483667Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2023-12-15T11:35:29.819282026Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=797.869µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.822090979Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 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=2023-12-15T11:35:29.822153461Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=62.962µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.824882291Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.824904962Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=23.101µs policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.82840423Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2023-12-15T11:35:29.831165061Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.760981ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.833971304Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 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=2023-12-15T11:35:29.836707104Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.73736ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.839707124Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.839790717Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=82.843µs policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:29.842177014Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2023-12-15T11:35:29.842878339Z level=info msg="Migration successfully executed" id="create quota table v1" duration=700.296µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.846550074Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:29.847578511Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.027447ms grafana | logger=migrator t=2023-12-15T11:35:29.850597062Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-15T11:35:29.850636034Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=39.091µs grafana | logger=migrator t=2023-12-15T11:35:29.853690425Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-15T11:35:29.854508885Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=817.82µs grafana | logger=migrator t=2023-12-15T11:35:29.857931861Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-15T11:35:29.858823813Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=891.093µs grafana | logger=migrator t=2023-12-15T11:35:29.861709458Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-15T11:35:29.864685658Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.97718ms grafana | logger=migrator t=2023-12-15T11:35:29.867615865Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-15T11:35:29.867643736Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=28.171µs grafana | logger=migrator t=2023-12-15T11:35:29.870003412Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-15T11:35:29.870811981Z level=info msg="Migration successfully executed" id="create session table" duration=808.229µs grafana | logger=migrator t=2023-12-15T11:35:29.874552059Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-15T11:35:29.874672723Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=117.114µs grafana | logger=migrator t=2023-12-15T11:35:29.877802627Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-15T11:35:29.877925652Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=122.655µs grafana | logger=migrator t=2023-12-15T11:35:29.880960503Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-15T11:35:29.881673149Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=712.056µs grafana | logger=migrator t=2023-12-15T11:35:29.886143783Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-15T11:35:29.886852399Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=708.185µs grafana | logger=migrator t=2023-12-15T11:35:29.889656801Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-15T11:35:29.889694673Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=37.411µs grafana | logger=migrator t=2023-12-15T11:35:29.892582748Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-15T11:35:29.892609419Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=26.771µs grafana | logger=migrator t=2023-12-15T11:35:29.896345336Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-15T11:35:29.899545033Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.198887ms grafana | logger=migrator t=2023-12-15T11:35:29.902360576Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-15T11:35:29.90546487Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.103814ms grafana | logger=migrator t=2023-12-15T11:35:29.908541722Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-15T11:35:29.908653106Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=110.074µs grafana | logger=migrator t=2023-12-15T11:35:29.91148494Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-15T11:35:29.911601385Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=113.175µs grafana | logger=migrator t=2023-12-15T11:35:29.915484766Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-15T11:35:29.916353658Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=868.282µs grafana | logger=migrator t=2023-12-15T11:35:29.920587343Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-15T11:35:29.920618104Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=29.511µs grafana | logger=migrator t=2023-12-15T11:35:29.923320243Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-15T11:35:29.926491249Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.170206ms grafana | logger=migrator t=2023-12-15T11:35:29.930224776Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-15T11:35:29.930420003Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=195.347µs grafana | logger=migrator t=2023-12-15T11:35:30.054682742Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-15T11:35:30.058254323Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.572561ms grafana | logger=migrator t=2023-12-15T11:35:30.063069734Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-12-15T11:35:30.066423637Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.353383ms grafana | logger=migrator t=2023-12-15T11:35:30.069215667Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-15T11:35:30.06927835Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=65.183µs grafana | logger=migrator t=2023-12-15T11:35:30.071782678Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-15T11:35:30.072668094Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=885.096µs grafana | logger=migrator t=2023-12-15T11:35:30.076444733Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-15T11:35:30.077252075Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=806.602µs grafana | logger=migrator t=2023-12-15T11:35:30.080108218Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-12-15T11:35:30.081017345Z level=info msg="Migration successfully executed" id="create alert table v1" duration=908.426µs grafana | logger=migrator t=2023-12-15T11:35:30.084779933Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:30.08572314Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=942.457µs grafana | logger=migrator t=2023-12-15T11:35:30.088571893Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-15T11:35:30.089378035Z level=info msg="Migration successfully executed" id="add index alert state" duration=805.162µs grafana | logger=migrator t=2023-12-15T11:35:30.09356213Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-15T11:35:30.094426095Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=863.675µs grafana | logger=migrator t=2023-12-15T11:35:30.098000966Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-15T11:35:30.098637452Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=636.216µs grafana | logger=migrator t=2023-12-15T11:35:30.101719313Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-15T11:35:30.102587657Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=865.594µs grafana | logger=migrator t=2023-12-15T11:35:30.106507503Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-15T11:35:30.107275343Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=767.54µs grafana | logger=migrator t=2023-12-15T11:35:30.111261041Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-15T11:35:30.123720794Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.459073ms grafana | logger=migrator t=2023-12-15T11:35:30.126440971Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-15T11:35:30.126960162Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=519.361µs grafana | logger=migrator t=2023-12-15T11:35:30.129780174Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-12-15T11:35:30.1306792Z 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=898.306µs grafana | logger=migrator t=2023-12-15T11:35:30.139354663Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-15T11:35:30.139920185Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=572.763µs grafana | logger=migrator t=2023-12-15T11:35:30.142899033Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-15T11:35:30.143780828Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=881.685µs grafana | logger=migrator t=2023-12-15T11:35:30.146003855Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-15T11:35:30.147203233Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.198928ms grafana | logger=migrator t=2023-12-15T11:35:30.150230863Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-15T11:35:30.153729481Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.498338ms grafana | logger=migrator t=2023-12-15T11:35:30.156540832Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-15T11:35:30.159940087Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.398775ms grafana | logger=migrator t=2023-12-15T11:35:30.162620083Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-15T11:35:30.166121722Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.501529ms grafana | logger=migrator t=2023-12-15T11:35:30.169658812Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-15T11:35:30.17314788Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.488218ms grafana | logger=migrator t=2023-12-15T11:35:30.175979982Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-15T11:35:30.177050275Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.068743ms grafana | logger=migrator t=2023-12-15T11:35:30.180188869Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-15T11:35:30.18022892Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=38.312µs grafana | logger=migrator t=2023-12-15T11:35:30.183667846Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-15T11:35:30.183696237Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=28.661µs grafana | logger=migrator t=2023-12-15T11:35:30.18602325Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-15T11:35:30.1867903Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=766.47µs grafana | logger=migrator t=2023-12-15T11:35:30.189605502Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-15T11:35:30.190519408Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=913.685µs grafana | logger=migrator t=2023-12-15T11:35:30.194338578Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-15T11:35:30.195200683Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=861.155µs grafana | logger=migrator t=2023-12-15T11:35:30.253801661Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2023-12-15T11:35:30.254581322Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=778.251µs grafana | logger=migrator t=2023-12-15T11:35:30.257775439Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-15T11:35:30.259247187Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.470368ms grafana | logger=migrator t=2023-12-15T11:35:30.263270197Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-15T11:35:30.266913141Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.642144ms grafana | logger=migrator t=2023-12-15T11:35:30.269619818Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-12-15T11:35:30.273254132Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.633603ms grafana | logger=migrator t=2023-12-15T11:35:30.275964069Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-15T11:35:30.276141756Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=177.257µs grafana | logger=migrator t=2023-12-15T11:35:30.2790257Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-15T11:35:30.279874774Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=848.524µs grafana | logger=migrator t=2023-12-15T11:35:30.285043818Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-15T11:35:30.28584365Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=799.592µs grafana | logger=migrator t=2023-12-15T11:35:30.289117Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-15T11:35:30.292729362Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.611063ms grafana | logger=migrator t=2023-12-15T11:35:30.333749246Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-12-15T11:35:30.33384617Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=97.374µs grafana | logger=migrator t=2023-12-15T11:35:30.339275804Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-12-15T11:35:30.340627047Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.349543ms grafana | logger=migrator t=2023-12-15T11:35:30.459202791Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-12-15T11:35:30.460919828Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.720268ms grafana | logger=migrator t=2023-12-15T11:35:30.466005059Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-12-15T11:35:30.466090023Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=82.684µs grafana | logger=migrator t=2023-12-15T11:35:30.470009728Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-12-15T11:35:30.470935065Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=923.857µs grafana | logger=migrator t=2023-12-15T11:35:30.47437541Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-12-15T11:35:30.475717884Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.341923ms grafana | logger=migrator t=2023-12-15T11:35:30.479477473Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-12-15T11:35:30.480277295Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=799.321µs grafana | logger=migrator t=2023-12-15T11:35:30.485590344Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-12-15T11:35:30.486440319Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=848.895µs grafana | logger=migrator t=2023-12-15T11:35:30.490438136Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-12-15T11:35:30.491369614Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=928.487µs grafana | logger=migrator t=2023-12-15T11:35:30.493961996Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-12-15T11:35:30.494878623Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=915.877µs grafana | logger=migrator t=2023-12-15T11:35:30.49785152Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-12-15T11:35:30.497874411Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=23.481µs grafana | logger=migrator t=2023-12-15T11:35:30.513068582Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-12-15T11:35:30.519387072Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.31774ms grafana | logger=migrator t=2023-12-15T11:35:30.523357739Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-12-15T11:35:30.524160751Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=803.262µs grafana | logger=migrator t=2023-12-15T11:35:30.530334615Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-12-15T11:35:30.536523Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.187855ms grafana | logger=migrator t=2023-12-15T11:35:30.540240778Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-12-15T11:35:30.540690975Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=450.787µs grafana | logger=migrator t=2023-12-15T11:35:30.543441684Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-12-15T11:35:30.544054248Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=612.294µs grafana | logger=migrator t=2023-12-15T11:35:30.547868709Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-12-15T11:35:30.549102868Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.227409ms grafana | logger=migrator t=2023-12-15T11:35:30.552263203Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-12-15T11:35:30.570643081Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=18.381068ms grafana | logger=migrator t=2023-12-15T11:35:30.573887999Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-12-15T11:35:30.574337286Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=449.047µs grafana | logger=migrator t=2023-12-15T11:35:30.577245431Z 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=2023-12-15T11:35:30.577862786Z 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=616.845µs grafana | logger=migrator t=2023-12-15T11:35:30.580793492Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-12-15T11:35:30.581211689Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=417.887µs grafana | logger=migrator t=2023-12-15T11:35:30.585068572Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 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=2023-12-15T11:35:30.585892754Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=824.212µs grafana | logger=migrator t=2023-12-15T11:35:30.588934564Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-12-15T11:35:30.589099021Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=164.096µs grafana | logger=migrator t=2023-12-15T11:35:30.591976774Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-12-15T11:35:30.596225192Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.251038ms grafana | logger=migrator t=2023-12-15T11:35:30.600407218Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-12-15T11:35:30.604465369Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.057261ms grafana | logger=migrator t=2023-12-15T11:35:30.608645364Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-12-15T11:35:30.609539989Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=894.395µs grafana | logger=migrator t=2023-12-15T11:35:30.613627601Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-12-15T11:35:30.614569599Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=941.808µs grafana | logger=migrator t=2023-12-15T11:35:30.617842118Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-12-15T11:35:30.61812784Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=287.932µs grafana | logger=migrator t=2023-12-15T11:35:30.621379658Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-12-15T11:35:30.625490751Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.110263ms grafana | logger=migrator t=2023-12-15T11:35:30.629431397Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-12-15T11:35:30.630301601Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=869.764µs grafana | logger=migrator t=2023-12-15T11:35:30.633439616Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-12-15T11:35:30.633619853Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=180.287µs grafana | logger=migrator t=2023-12-15T11:35:30.636398313Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-12-15T11:35:30.636806788Z level=info msg="Migration successfully executed" id="Move region to single row" duration=409.505µs grafana | logger=migrator t=2023-12-15T11:35:30.639753386Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-12-15T11:35:30.640588889Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=834.763µs grafana | logger=migrator t=2023-12-15T11:35:30.645369768Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-12-15T11:35:30.646210951Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=841.693µs grafana | logger=migrator t=2023-12-15T11:35:30.649396227Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-15T11:35:30.650269032Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=872.935µs grafana | logger=migrator t=2023-12-15T11:35:30.654858953Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-15T11:35:30.655748028Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=888.155µs grafana | logger=migrator t=2023-12-15T11:35:30.658127403Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-12-15T11:35:30.658907193Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=779.83µs grafana | logger=migrator t=2023-12-15T11:35:30.66209099Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-12-15T11:35:30.662900732Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=809.072µs grafana | logger=migrator t=2023-12-15T11:35:30.66692494Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-12-15T11:35:30.666990554Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=66.104µs grafana | logger=migrator t=2023-12-15T11:35:30.669713361Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-12-15T11:35:30.670461021Z level=info msg="Migration successfully executed" id="create test_data table" duration=746.98µs grafana | logger=migrator t=2023-12-15T11:35:30.674478149Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-12-15T11:35:30.675190198Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=713.158µs grafana | logger=migrator t=2023-12-15T11:35:30.680440856Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-12-15T11:35:30.681263318Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=822.412µs grafana | logger=migrator t=2023-12-15T11:35:30.684493736Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-12-15T11:35:30.686028307Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.534611ms grafana | logger=migrator t=2023-12-15T11:35:30.68938569Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-12-15T11:35:30.689737974Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=349.193µs grafana | logger=migrator t=2023-12-15T11:35:30.692893589Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-12-15T11:35:30.693231112Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=337.563µs grafana | logger=migrator t=2023-12-15T11:35:30.697543952Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-12-15T11:35:30.697626635Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=83.463µs grafana | logger=migrator t=2023-12-15T11:35:30.70076881Z level=info msg="Executing migration" id="create team table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-12-15T11:35:30.701890844Z level=info msg="Migration successfully executed" id="create team table" duration=1.121484ms grafana | logger=migrator t=2023-12-15T11:35:30.7053319Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-12-15T11:35:30.706913714Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.581674ms grafana | logger=migrator t=2023-12-15T11:35:30.710860869Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-12-15T11:35:30.711743014Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=881.495µs grafana | logger=migrator t=2023-12-15T11:35:30.714679831Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-12-15T11:35:30.719144167Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.463606ms grafana | logger=migrator t=2023-12-15T11:35:30.722178637Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-12-15T11:35:30.722351305Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=173.677µs grafana | logger=migrator t=2023-12-15T11:35:30.726230788Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-12-15T11:35:30.727122413Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=889.965µs grafana | logger=migrator t=2023-12-15T11:35:30.730700835Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-12-15T11:35:30.731368672Z level=info msg="Migration successfully executed" id="create team member table" duration=667.666µs grafana | logger=migrator t=2023-12-15T11:35:30.737024445Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-12-15T11:35:30.73789535Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=870.714µs grafana | logger=migrator t=2023-12-15T11:35:30.745042702Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-12-15T11:35:30.74600392Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=960.018µs grafana | logger=migrator t=2023-12-15T11:35:30.750399014Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-12-15T11:35:30.751325171Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=926.257µs grafana | logger=migrator t=2023-12-15T11:35:30.758723094Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-12-15T11:35:30.763259843Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.533429ms grafana | logger=migrator t=2023-12-15T11:35:30.805105249Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-12-15T11:35:30.810777894Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.669974ms grafana | logger=migrator t=2023-12-15T11:35:30.816201689Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-12-15T11:35:30.820767329Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.580191ms grafana | logger=migrator t=2023-12-15T11:35:30.827778066Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-12-15T11:35:30.82886403Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.085223ms grafana | logger=migrator t=2023-12-15T11:35:30.836424919Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-12-15T11:35:30.837957899Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.53398ms grafana | logger=migrator t=2023-12-15T11:35:30.843832902Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-12-15T11:35:30.845698096Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.861074ms grafana | logger=migrator t=2023-12-15T11:35:30.849989605Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-12-15T11:35:30.850974544Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=984.559µs grafana | logger=migrator t=2023-12-15T11:35:30.856089707Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-12-15T11:35:30.857409139Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.318142ms grafana | logger=migrator t=2023-12-15T11:35:30.862909676Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-12-15T11:35:30.864541952Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.633195ms grafana | logger=migrator t=2023-12-15T11:35:30.87005128Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-12-15T11:35:30.870987036Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=932.836µs grafana | logger=migrator t=2023-12-15T11:35:30.878885929Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-12-15T11:35:30.880370987Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.485178ms grafana | logger=migrator t=2023-12-15T11:35:30.884449169Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-12-15T11:35:30.885201749Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=750.899µs grafana | logger=migrator t=2023-12-15T11:35:30.890676865Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-12-15T11:35:30.89103702Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=360.355µs grafana | logger=migrator t=2023-12-15T11:35:30.897207644Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-12-15T11:35:30.898342669Z level=info msg="Migration successfully executed" id="create tag table" duration=1.133836ms grafana | logger=migrator t=2023-12-15T11:35:30.905883057Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-12-15T11:35:30.906758182Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=875.055µs grafana | logger=migrator t=2023-12-15T11:35:30.912050142Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-12-15T11:35:30.913161695Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.130914ms grafana | logger=migrator t=2023-12-15T11:35:30.920681613Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-12-15T11:35:30.922242575Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.564681ms grafana | logger=migrator t=2023-12-15T11:35:30.931533592Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-12-15T11:35:30.933030732Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.49668ms grafana | logger=migrator t=2023-12-15T11:35:30.936893884Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-15T11:35:30.955616396Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.723582ms grafana | logger=migrator t=2023-12-15T11:35:30.962706056Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-12-15T11:35:30.963185375Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=479.419µs grafana | logger=migrator t=2023-12-15T11:35:30.966957264Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-12-15T11:35:30.968381741Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.424006ms grafana | logger=migrator t=2023-12-15T11:35:30.972706371Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-12-15T11:35:30.973146649Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=440.478µs grafana | logger=migrator t=2023-12-15T11:35:30.983841732Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-12-15T11:35:30.984784179Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=942.177µs grafana | logger=migrator t=2023-12-15T11:35:30.993200862Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-12-15T11:35:30.994286176Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.085064ms grafana | logger=migrator t=2023-12-15T11:35:30.999875097Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-12-15T11:35:31.001288403Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.412666ms grafana | logger=migrator t=2023-12-15T11:35:31.009687805Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-12-15T11:35:31.009752158Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=64.973µs grafana | logger=migrator t=2023-12-15T11:35:31.022466061Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-12-15T11:35:31.030200077Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.734587ms grafana | logger=migrator t=2023-12-15T11:35:31.034401493Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-12-15T11:35:31.039343778Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.941525ms grafana | logger=migrator t=2023-12-15T11:35:31.048310933Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-12-15T11:35:31.05352839Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.229517ms grafana | logger=migrator t=2023-12-15T11:35:31.058282718Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-12-15T11:35:31.063297447Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.013949ms grafana | logger=migrator t=2023-12-15T11:35:31.067897839Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-12-15T11:35:31.069423769Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.526191ms grafana | logger=migrator t=2023-12-15T11:35:31.076371234Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-12-15T11:35:31.08435622Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.008007ms grafana | logger=migrator t=2023-12-15T11:35:31.090782525Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-12-15T11:35:31.091329696Z level=info msg="Migration successfully executed" id="create server_lock table" duration=546.941µs grafana | logger=migrator t=2023-12-15T11:35:31.096617115Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-12-15T11:35:31.098156696Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.539431ms grafana | logger=migrator t=2023-12-15T11:35:31.105807679Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-12-15T11:35:31.106995766Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.187647ms grafana | logger=migrator t=2023-12-15T11:35:31.111612189Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-12-15T11:35:31.113039346Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.426526ms grafana | logger=migrator t=2023-12-15T11:35:31.154891681Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-12-15T11:35:31.156318577Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.424526ms grafana | logger=migrator t=2023-12-15T11:35:31.163829855Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-12-15T11:35:31.165407857Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.577352ms grafana | logger=migrator t=2023-12-15T11:35:31.16924575Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-12-15T11:35:31.176156263Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.910704ms grafana | logger=migrator t=2023-12-15T11:35:31.181345748Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-12-15T11:35:31.182968623Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.622645ms grafana | logger=migrator t=2023-12-15T11:35:31.188318104Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-12-15T11:35:31.189395347Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.078263ms grafana | logger=migrator t=2023-12-15T11:35:31.19479473Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-12-15T11:35:31.196532439Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.737259ms grafana | logger=migrator t=2023-12-15T11:35:31.203161931Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-12-15T11:35:31.204239484Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.076713ms 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 | -------------- grafana | logger=migrator t=2023-12-15T11:35:31.213051774Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-12-15T11:35:31.214300532Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.243499ms grafana | logger=migrator t=2023-12-15T11:35:31.219461577Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-12-15T11:35:31.219565821Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=107.744µs grafana | logger=migrator t=2023-12-15T11:35:31.225594129Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-12-15T11:35:31.225677263Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=83.784µs grafana | logger=migrator t=2023-12-15T11:35:31.233926539Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-12-15T11:35:31.235537553Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.613874ms grafana | logger=migrator t=2023-12-15T11:35:31.243893864Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-15T11:35:31.245492787Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.598863ms grafana | logger=migrator t=2023-12-15T11:35:31.252284106Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-15T11:35:31.254115898Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.830422ms grafana | logger=migrator t=2023-12-15T11:35:31.259008972Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-15T11:35:31.259114546Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=105.024µs grafana | logger=migrator t=2023-12-15T11:35:31.266880643Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-15T11:35:31.268426355Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.546022ms grafana | logger=migrator t=2023-12-15T11:35:31.278348647Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-15T11:35:31.279873578Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.52466ms grafana | logger=migrator t=2023-12-15T11:35:31.287156715Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-15T11:35:31.288909415Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.75233ms grafana | logger=migrator t=2023-12-15T11:35:31.293271858Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-15T11:35:31.295019687Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.747519ms grafana | logger=migrator t=2023-12-15T11:35:31.303157539Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-12-15T11:35:31.309073943Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.914544ms grafana | logger=migrator t=2023-12-15T11:35:31.315268399Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-12-15T11:35:31.316396643Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.127584ms grafana | logger=migrator t=2023-12-15T11:35:31.320574938Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-12-15T11:35:31.320699503Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=124.085µs grafana | logger=migrator t=2023-12-15T11:35:31.33047186Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-12-15T11:35:31.331935757Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.463128ms grafana | logger=migrator t=2023-12-15T11:35:31.340363961Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2023-12-15T11:35:31.342231895Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.867444ms grafana | logger=migrator t=2023-12-15T11:35:31.347442901Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2023-12-15T11:35:31.348870868Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.426717ms grafana | logger=migrator t=2023-12-15T11:35:31.354562064Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-15T11:35:31.354762041Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=199.548µs grafana | logger=migrator t=2023-12-15T11:35:31.362792679Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-12-15T11:35:31.364227815Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.433887ms grafana | logger=migrator t=2023-12-15T11:35:31.373507563Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-12-15T11:35:31.374524003Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.01357ms grafana | logger=migrator t=2023-12-15T11:35:31.380242429Z 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=2023-12-15T11:35:31.382329292Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=2.086093ms grafana | logger=migrator t=2023-12-15T11:35:31.386377472Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-12-15T11:35:31.387722455Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.344443ms grafana | logger=migrator t=2023-12-15T11:35:31.391899941Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-12-15T11:35:31.398143828Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.243197ms grafana | logger=migrator t=2023-12-15T11:35:31.4075426Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-15T11:35:31.40931534Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.772681ms grafana | logger=migrator t=2023-12-15T11:35:31.415752005Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-15T11:35:31.417706362Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.953577ms grafana | logger=migrator t=2023-12-15T11:35:31.424463649Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-12-15T11:35:31.466511234Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=42.046645ms grafana | logger=migrator t=2023-12-15T11:35:31.504622382Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-12-15T11:35:31.545329623Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=40.70885ms grafana | logger=migrator t=2023-12-15T11:35:31.551406583Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-15T11:35:31.553005076Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.598723ms grafana | logger=migrator t=2023-12-15T11:35:31.562062515Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-15T11:35:31.562977241Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=914.446µs grafana | logger=migrator t=2023-12-15T11:35:31.569915255Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-12-15T11:35:31.577299998Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.375223ms grafana | logger=migrator t=2023-12-15T11:35:31.580677932Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-12-15T11:35:31.581618189Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=939.827µs grafana | logger=migrator t=2023-12-15T11:35:31.585888408Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-12-15T11:35:31.586911779Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.023351ms grafana | logger=migrator t=2023-12-15T11:35:31.590347624Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-12-15T11:35:31.591977569Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.628285ms grafana | logger=migrator t=2023-12-15T11:35:31.595785819Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-12-15T11:35:31.597517258Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.730729ms grafana | logger=migrator t=2023-12-15T11:35:31.602201753Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-15T11:35:31.602265435Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=64.182µs grafana | logger=migrator t=2023-12-15T11:35:31.605560036Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-12-15T11:35:31.611522252Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.961206ms grafana | logger=migrator t=2023-12-15T11:35:31.615113624Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-12-15T11:35:31.620967216Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.852622ms grafana | logger=migrator t=2023-12-15T11:35:31.625243275Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-12-15T11:35:31.631192441Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.948416ms grafana | logger=migrator t=2023-12-15T11:35:31.634745971Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-12-15T11:35:31.63574051Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=994.039µs grafana | logger=migrator t=2023-12-15T11:35:31.639250149Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-12-15T11:35:31.640301101Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.052162ms grafana | logger=migrator t=2023-12-15T11:35:31.644612712Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-12-15T11:35:31.650603019Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.989416ms grafana | logger=migrator t=2023-12-15T11:35:31.653892469Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-12-15T11:35:31.65972972Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.836631ms grafana | logger=migrator t=2023-12-15T11:35:31.663409956Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2023-12-15T11:35:31.664463187Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.052531ms grafana | logger=migrator t=2023-12-15T11:35:31.669205965Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-12-15T11:35:31.675213273Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.006848ms grafana | logger=migrator t=2023-12-15T11:35:31.67867685Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-12-15T11:35:31.684586534Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.909433ms grafana | logger=migrator t=2023-12-15T11:35:31.688088322Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-12-15T11:35:31.688152005Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=64.302µs grafana | logger=migrator t=2023-12-15T11:35:31.692688455Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-12-15T11:35:31.693763237Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.073932ms grafana | logger=migrator t=2023-12-15T11:35:31.69739342Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 grafana | logger=migrator t=2023-12-15T11:35:31.698529555Z 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.135565ms grafana | logger=migrator t=2023-12-15T11:35:31.702230012Z 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=2023-12-15T11:35:31.704088475Z 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.857814ms grafana | logger=migrator t=2023-12-15T11:35:31.708949908Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-15T11:35:31.70901506Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=65.462µs grafana | logger=migrator t=2023-12-15T11:35:31.712561961Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-12-15T11:35:31.721476044Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.911433ms grafana | logger=migrator t=2023-12-15T11:35:31.725325306Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-12-15T11:35:31.729767362Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.442067ms grafana | logger=migrator t=2023-12-15T11:35:31.734115264Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-12-15T11:35:31.74032172Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.201665ms grafana | logger=migrator t=2023-12-15T11:35:31.743852449Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-12-15T11:35:31.750137818Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.284479ms grafana | logger=migrator t=2023-12-15T11:35:31.753634476Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-12-15T11:35:31.7598022Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.167264ms grafana | logger=migrator t=2023-12-15T11:35:31.764624621Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-12-15T11:35:31.764688613Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=64.282µs grafana | logger=migrator t=2023-12-15T11:35:31.768352979Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-12-15T11:35:31.76915357Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=799.991µs grafana | logger=migrator t=2023-12-15T11:35:31.777616415Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-12-15T11:35:31.787252977Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.638122ms grafana | logger=migrator t=2023-12-15T11:35:31.79542744Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-12-15T11:35:31.795646979Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=219.39µs grafana | logger=migrator t=2023-12-15T11:35:31.804320622Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-12-15T11:35:31.814522226Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.197354ms grafana | logger=migrator t=2023-12-15T11:35:31.858665033Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-12-15T11:35:31.860395591Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.726658ms grafana | logger=migrator t=2023-12-15T11:35:31.870116326Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-12-15T11:35:31.878005398Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=7.890011ms grafana | logger=migrator t=2023-12-15T11:35:31.90054694Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-12-15T11:35:31.901847071Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.299541ms grafana | logger=migrator t=2023-12-15T11:35:31.906633821Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-12-15T11:35:31.908228733Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.595222ms grafana | logger=migrator t=2023-12-15T11:35:31.912735372Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-12-15T11:35:31.919677907Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.943385ms grafana | logger=migrator t=2023-12-15T11:35:31.924296599Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-12-15T11:35:31.92505267Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=755.821µs grafana | logger=migrator t=2023-12-15T11:35:31.928986275Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-12-15T11:35:31.9301107Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.124275ms grafana | logger=migrator t=2023-12-15T11:35:31.934443721Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-12-15T11:35:31.935679421Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.235169ms grafana | logger=migrator t=2023-12-15T11:35:31.940768872Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-12-15T11:35:31.941856745Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.087933ms grafana | logger=migrator t=2023-12-15T11:35:31.944959308Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-12-15T11:35:31.945144345Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=184.608µs grafana | logger=migrator t=2023-12-15T11:35:31.948447496Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-12-15T11:35:31.949405043Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=957.037µs grafana | logger=migrator t=2023-12-15T11:35:31.95439151Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:33 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:34 grafana | logger=migrator t=2023-12-15T11:35:31.955442992Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.051622ms grafana | logger=migrator t=2023-12-15T11:35:31.958633678Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-15T11:35:31.959216491Z 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=2023-12-15T11:35:31.96296072Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-12-15T11:35:31.96349064Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=531.83µs grafana | logger=migrator t=2023-12-15T11:35:31.96625506Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-12-15T11:35:31.96801936Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.76426ms grafana | logger=migrator t=2023-12-15T11:35:31.972509037Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-12-15T11:35:31.979203753Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.694606ms grafana | logger=migrator t=2023-12-15T11:35:31.98368799Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-12-15T11:35:31.984563035Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=874.855µs grafana | logger=migrator t=2023-12-15T11:35:31.989024061Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-12-15T11:35:31.990178607Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.153876ms grafana | logger=migrator t=2023-12-15T11:35:31.995328491Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-12-15T11:35:31.996134113Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=804.782µs grafana | logger=migrator t=2023-12-15T11:35:32.0342394Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-12-15T11:35:32.036066083Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.825693ms grafana | logger=migrator t=2023-12-15T11:35:32.040731788Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-12-15T11:35:32.042477926Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.745118ms grafana | logger=migrator t=2023-12-15T11:35:32.046001966Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-12-15T11:35:32.046022907Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=21.951µs grafana | logger=migrator t=2023-12-15T11:35:32.050419491Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-12-15T11:35:32.050595398Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=172.767µs grafana | logger=migrator t=2023-12-15T11:35:32.054975991Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-12-15T11:35:32.055518033Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=538.402µs grafana | logger=migrator t=2023-12-15T11:35:32.061157236Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-12-15T11:35:32.062180796Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.02307ms grafana | logger=migrator t=2023-12-15T11:35:32.06606984Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-12-15T11:35:32.067247737Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.176217ms grafana | logger=migrator t=2023-12-15T11:35:32.071172052Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-12-15T11:35:32.117114171Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.943298ms grafana | logger=migrator t=2023-12-15T11:35:32.121456372Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-12-15T11:35:32.129263121Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.805599ms grafana | logger=migrator t=2023-12-15T11:35:32.13403592Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-12-15T11:35:32.13429072Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=254.66µs grafana | logger=migrator t=2023-12-15T11:35:32.140671862Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-12-15T11:35:32.187545037Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=46.873255ms grafana | logger=migrator t=2023-12-15T11:35:32.22803472Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-12-15T11:35:32.273956257Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.922368ms grafana | logger=migrator t=2023-12-15T11:35:32.278421684Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-12-15T11:35:32.279161323Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=739.609µs grafana | logger=migrator t=2023-12-15T11:35:32.282553747Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-12-15T11:35:32.283659091Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.104804ms grafana | logger=migrator t=2023-12-15T11:35:32.287186281Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-12-15T11:35:32.287496243Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=309.192µs grafana | logger=migrator t=2023-12-15T11:35:32.29170892Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-12-15T11:35:32.292577704Z level=info msg="Migration successfully executed" id="create permission table" duration=868.225µs grafana | logger=migrator t=2023-12-15T11:35:32.297398045Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-12-15T11:35:32.299123203Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.720299ms grafana | logger=migrator t=2023-12-15T11:35:32.302627942Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:35 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:36 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:37 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1512231135330800u 1 2023-12-15 11:35:37 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1512231135330900u 1 2023-12-15 11:35:37 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1512231135331000u 1 2023-12-15 11:35:37 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1512231135331000u 1 2023-12-15 11:35:37 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1512231135331000u 1 2023-12-15 11:35:37 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1512231135331000u 1 2023-12-15 11:35:37 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1512231135331000u 1 2023-12-15 11:35:37 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1512231135331000u 1 2023-12-15 11:35:37 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1512231135331000u 1 2023-12-15 11:35:38 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1512231135331000u 1 2023-12-15 11:35:38 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1512231135331000u 1 2023-12-15 11:35:38 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1512231135331100u 1 2023-12-15 11:35:38 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1512231135331200u 1 2023-12-15 11:35:38 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1512231135331200u 1 2023-12-15 11:35:38 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1512231135331200u 1 2023-12-15 11:35:38 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1512231135331200u 1 2023-12-15 11:35:38 policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2023-12-15T11:35:32.304124351Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.497009ms grafana | logger=migrator t=2023-12-15T11:35:32.308620319Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-12-15T11:35:32.309486284Z level=info msg="Migration successfully executed" id="create role table" duration=865.535µs grafana | logger=migrator t=2023-12-15T11:35:32.31293548Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-12-15T11:35:32.320225778Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.289698ms grafana | logger=migrator t=2023-12-15T11:35:32.32354867Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-12-15T11:35:32.328778097Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.228616ms grafana | logger=migrator t=2023-12-15T11:35:32.332697872Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-12-15T11:35:32.333793385Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.093093ms grafana | logger=migrator t=2023-12-15T11:35:32.336904929Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-12-15T11:35:32.338063544Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.142315ms grafana | logger=migrator t=2023-12-15T11:35:32.341651507Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-12-15T11:35:32.342801621Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.149454ms grafana | logger=migrator t=2023-12-15T11:35:32.346837171Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-12-15T11:35:32.347760488Z level=info msg="Migration successfully executed" id="create team role table" duration=921.176µs grafana | logger=migrator t=2023-12-15T11:35:32.351119311Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-12-15T11:35:32.352832969Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.713008ms grafana | logger=migrator t=2023-12-15T11:35:32.356448502Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-12-15T11:35:32.35766647Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.217397ms grafana | logger=migrator t=2023-12-15T11:35:32.361636257Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-12-15T11:35:32.362753242Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.118704ms grafana | logger=migrator t=2023-12-15T11:35:32.366047551Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-12-15T11:35:32.366944817Z level=info msg="Migration successfully executed" id="create user role table" duration=896.326µs grafana | logger=migrator t=2023-12-15T11:35:32.370101292Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-12-15T11:35:32.371216266Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.114064ms grafana | logger=migrator t=2023-12-15T11:35:32.375185953Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-12-15T11:35:32.376293827Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.107574ms grafana | logger=migrator t=2023-12-15T11:35:32.37964548Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-12-15T11:35:32.380779654Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.131074ms grafana | logger=migrator t=2023-12-15T11:35:32.385633466Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-12-15T11:35:32.386506592Z level=info msg="Migration successfully executed" id="create builtin role table" duration=872.386µs grafana | logger=migrator t=2023-12-15T11:35:32.389797431Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-12-15T11:35:32.390913476Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.115875ms grafana | logger=migrator t=2023-12-15T11:35:32.394866863Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-12-15T11:35:32.396201834Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.333762ms grafana | logger=migrator t=2023-12-15T11:35:32.399834059Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-12-15T11:35:32.408862286Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.028957ms grafana | logger=migrator t=2023-12-15T11:35:32.412233709Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-12-15T11:35:32.413353194Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.119145ms grafana | logger=migrator t=2023-12-15T11:35:32.417631933Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-12-15T11:35:32.41882605Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.180507ms grafana | logger=migrator t=2023-12-15T11:35:32.422129972Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-12-15T11:35:32.423239245Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.106394ms grafana | logger=migrator t=2023-12-15T11:35:32.426440242Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-12-15T11:35:32.427602487Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.161925ms grafana | logger=migrator t=2023-12-15T11:35:32.431762362Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-12-15T11:35:32.432589855Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=826.432µs grafana | logger=migrator t=2023-12-15T11:35:32.435844894Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-12-15T11:35:32.436974269Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.128785ms grafana | logger=migrator t=2023-12-15T11:35:32.44030461Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-12-15T11:35:32.448349799Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.042608ms grafana | logger=migrator t=2023-12-15T11:35:32.452463222Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-12-15T11:35:32.460405836Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.941954ms grafana | logger=migrator t=2023-12-15T11:35:32.463815681Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-12-15T11:35:32.471784296Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.968334ms grafana | logger=migrator t=2023-12-15T11:35:32.475085027Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-12-15T11:35:32.482968338Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.880302ms grafana | logger=migrator t=2023-12-15T11:35:32.487466357Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-12-15T11:35:32.48830636Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=839.613µs grafana | logger=migrator t=2023-12-15T11:35:32.491466575Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-12-15T11:35:32.492914793Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.445457ms grafana | logger=migrator t=2023-12-15T11:35:32.496704662Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-12-15T11:35:32.498535295Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.830063ms grafana | logger=migrator t=2023-12-15T11:35:32.502735591Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-12-15T11:35:32.502854446Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=118.245µs grafana | logger=migrator t=2023-12-15T11:35:32.506188588Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-12-15T11:35:32.50624602Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=58.502µs grafana | logger=migrator t=2023-12-15T11:35:32.509733818Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-12-15T11:35:32.510570311Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=836.733µs grafana | logger=migrator t=2023-12-15T11:35:32.514259687Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-12-15T11:35:32.515323449Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.063772ms grafana | logger=migrator t=2023-12-15T11:35:32.519765055Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-12-15T11:35:32.520530575Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=765.47µs grafana | logger=migrator t=2023-12-15T11:35:32.524003673Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-12-15T11:35:32.524491982Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=487.94µs grafana | logger=migrator t=2023-12-15T11:35:32.528032832Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-12-15T11:35:32.528711729Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=678.747µs grafana | logger=migrator t=2023-12-15T11:35:32.532559361Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-12-15T11:35:32.533450537Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=890.386µs grafana | logger=migrator t=2023-12-15T11:35:32.537724246Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-12-15T11:35:32.538895032Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.170015ms grafana | logger=migrator t=2023-12-15T11:35:32.542248835Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-12-15T11:35:32.553458908Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.212274ms grafana | logger=migrator t=2023-12-15T11:35:32.59316Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-12-15T11:35:32.593468211Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=304.292µs grafana | logger=migrator t=2023-12-15T11:35:32.598592065Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-12-15T11:35:32.5999805Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.386395ms grafana | logger=migrator t=2023-12-15T11:35:32.603451307Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-12-15T11:35:32.604672935Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.221458ms grafana | logger=migrator t=2023-12-15T11:35:32.609703244Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-12-15T11:35:32.61086037Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.157087ms grafana | logger=migrator t=2023-12-15T11:35:32.615359438Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-12-15T11:35:32.626074272Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.714604ms grafana | logger=migrator t=2023-12-15T11:35:32.629888743Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-12-15T11:35:32.630708875Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=819.642µs grafana | logger=migrator t=2023-12-15T11:35:32.634231204Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-12-15T11:35:32.63537212Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.140226ms grafana | logger=migrator t=2023-12-15T11:35:32.639951391Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-15T11:35:32.670822083Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.872102ms grafana | logger=migrator t=2023-12-15T11:35:32.674367383Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-12-15T11:35:32.675152104Z level=info msg="Migration successfully executed" id="create correlation v2" duration=783.961µs grafana | logger=migrator t=2023-12-15T11:35:32.679508286Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-12-15T11:35:32.681427803Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.917206ms grafana | logger=migrator t=2023-12-15T11:35:32.685700332Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-12-15T11:35:32.68768258Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.983219ms grafana | logger=migrator t=2023-12-15T11:35:32.691443349Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-12-15T11:35:32.692619755Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.176106ms grafana | logger=migrator t=2023-12-15T11:35:32.697085352Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-12-15T11:35:32.697477388Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=391.396µs grafana | logger=migrator t=2023-12-15T11:35:32.701275548Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-12-15T11:35:32.702195525Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=919.497µs grafana | logger=migrator t=2023-12-15T11:35:32.705716764Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-12-15T11:35:32.713942209Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.224845ms grafana | logger=migrator t=2023-12-15T11:35:32.718143575Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-12-15T11:35:32.719039421Z level=info msg="Migration successfully executed" id="create entity_events table" duration=895.346µs grafana | logger=migrator t=2023-12-15T11:35:32.722431915Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-12-15T11:35:32.724216136Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.783381ms grafana | logger=migrator t=2023-12-15T11:35:32.728063769Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-15T11:35:32.728935473Z 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=2023-12-15T11:35:32.733605507Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-15T11:35:32.734149909Z 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=2023-12-15T11:35:32.737444379Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-12-15T11:35:32.738328044Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=884.065µs grafana | logger=migrator t=2023-12-15T11:35:32.741802022Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-12-15T11:35:32.743568902Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.766361ms grafana | logger=migrator t=2023-12-15T11:35:32.748179744Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-15T11:35:32.74934632Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.164096ms grafana | logger=migrator t=2023-12-15T11:35:32.752962533Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-15T11:35:32.754157611Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.194938ms grafana | logger=migrator t=2023-12-15T11:35:32.757614548Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-15T11:35:32.758734931Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.120233ms grafana | logger=migrator t=2023-12-15T11:35:32.763011181Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-15T11:35:32.764147706Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.136325ms grafana | logger=migrator t=2023-12-15T11:35:32.767427886Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-12-15T11:35:32.768347182Z level=info msg="Migration successfully executed" id="Drop public config table" duration=918.556µs grafana | logger=migrator t=2023-12-15T11:35:32.772647612Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-12-15T11:35:32.773781857Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.133655ms grafana | logger=migrator t=2023-12-15T11:35:32.777166332Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-15T11:35:32.778355938Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.189527ms grafana | logger=migrator t=2023-12-15T11:35:32.781871647Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-15T11:35:32.783050704Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.179117ms grafana | logger=migrator t=2023-12-15T11:35:32.787153937Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-12-15T11:35:32.788333224Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.179137ms grafana | logger=migrator t=2023-12-15T11:35:32.791734487Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-12-15T11:35:32.823556667Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=31.8221ms grafana | logger=migrator t=2023-12-15T11:35:32.826773094Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-12-15T11:35:32.832964639Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.190645ms grafana | logger=migrator t=2023-12-15T11:35:32.836888335Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-12-15T11:35:32.845458004Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.568888ms grafana | logger=migrator t=2023-12-15T11:35:32.848987283Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-12-15T11:35:32.849340168Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=351.424µs grafana | logger=migrator t=2023-12-15T11:35:32.852548534Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-12-15T11:35:32.860876954Z level=info msg="Migration successfully executed" id="add share column" duration=8.32778ms grafana | logger=migrator t=2023-12-15T11:35:32.865345461Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-12-15T11:35:32.865728216Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=382.475µs grafana | logger=migrator t=2023-12-15T11:35:32.869406161Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-12-15T11:35:32.870403601Z level=info msg="Migration successfully executed" id="create file table" duration=997.18µs grafana | logger=migrator t=2023-12-15T11:35:32.873930261Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-12-15T11:35:32.875818606Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.888185ms grafana | logger=migrator t=2023-12-15T11:35:32.880267291Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-12-15T11:35:32.8822457Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.977949ms grafana | logger=migrator t=2023-12-15T11:35:32.885884494Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-12-15T11:35:32.886749908Z level=info msg="Migration successfully executed" id="create file_meta table" duration=864.784µs grafana | logger=migrator t=2023-12-15T11:35:32.889934054Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-12-15T11:35:32.891212055Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.277591ms grafana | logger=migrator t=2023-12-15T11:35:32.896737503Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-12-15T11:35:32.896800746Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=64.023µs grafana | logger=migrator t=2023-12-15T11:35:32.899886778Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-12-15T11:35:32.900003032Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=115.464µs grafana | logger=migrator t=2023-12-15T11:35:32.903437288Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-12-15T11:35:32.904440767Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.002629ms grafana | logger=migrator t=2023-12-15T11:35:32.940932122Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-12-15T11:35:32.941410381Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=474.368µs grafana | logger=migrator t=2023-12-15T11:35:32.946213361Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-12-15T11:35:32.947556104Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.342223ms grafana | logger=migrator t=2023-12-15T11:35:32.951220779Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-12-15T11:35:32.960160093Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.939104ms grafana | logger=migrator t=2023-12-15T11:35:32.963535987Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-12-15T11:35:32.963845469Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=311.311µs grafana | logger=migrator t=2023-12-15T11:35:32.966867319Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-12-15T11:35:32.968049255Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.181576ms grafana | logger=migrator t=2023-12-15T11:35:32.972234441Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-12-15T11:35:32.972795933Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=561.593µs grafana | logger=migrator t=2023-12-15T11:35:32.979427476Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-12-15T11:35:32.979952566Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=524.4µs grafana | logger=migrator t=2023-12-15T11:35:32.984349621Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-12-15T11:35:32.984926383Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=573.341µs grafana | logger=migrator t=2023-12-15T11:35:32.99014936Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-12-15T11:35:32.99925241Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.1029ms grafana | logger=migrator t=2023-12-15T11:35:33.003265029Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-12-15T11:35:33.011804877Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.539418ms grafana | logger=migrator t=2023-12-15T11:35:33.014776024Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-12-15T11:35:33.015585566Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=809.672µs grafana | logger=migrator t=2023-12-15T11:35:33.019525272Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-12-15T11:35:33.124867441Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=105.341949ms grafana | logger=migrator t=2023-12-15T11:35:33.127980665Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-12-15T11:35:33.128859439Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=878.685µs grafana | logger=migrator t=2023-12-15T11:35:33.131834877Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-12-15T11:35:33.132851467Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.0132ms grafana | logger=migrator t=2023-12-15T11:35:33.136833224Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-12-15T11:35:33.171402333Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=34.568729ms grafana | logger=migrator t=2023-12-15T11:35:33.174712253Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-12-15T11:35:33.174948563Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=236.19µs grafana | logger=migrator t=2023-12-15T11:35:33.178083427Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-12-15T11:35:33.178335037Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=250.43µs grafana | logger=migrator t=2023-12-15T11:35:33.182427258Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-12-15T11:35:33.182884117Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=456.859µs grafana | logger=migrator t=2023-12-15T11:35:33.186365985Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-12-15T11:35:33.188080703Z level=info msg="Migration successfully executed" id="create folder table" duration=1.713518ms grafana | logger=migrator t=2023-12-15T11:35:33.191728727Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-12-15T11:35:33.193864802Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.135825ms grafana | logger=migrator t=2023-12-15T11:35:33.198445032Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-12-15T11:35:33.200576247Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.131085ms grafana | logger=migrator t=2023-12-15T11:35:33.203572166Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-12-15T11:35:33.203598347Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.251µs grafana | logger=migrator t=2023-12-15T11:35:33.206249882Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-15T11:35:33.207420908Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.170866ms grafana | logger=migrator t=2023-12-15T11:35:33.211279521Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-15T11:35:33.212400765Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.132974ms grafana | logger=migrator t=2023-12-15T11:35:33.215477817Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-12-15T11:35:33.216719286Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.240788ms grafana | logger=migrator t=2023-12-15T11:35:33.219741276Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-12-15T11:35:33.220704804Z level=info msg="Migration successfully executed" id="create anon_device table" duration=963.037µs grafana | logger=migrator t=2023-12-15T11:35:33.225069036Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-12-15T11:35:33.22643879Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.369844ms grafana | logger=migrator t=2023-12-15T11:35:33.22970281Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-12-15T11:35:33.230919198Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.216308ms grafana | logger=migrator t=2023-12-15T11:35:33.234058252Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-12-15T11:35:33.234922446Z level=info msg="Migration successfully executed" id="create signing_key table" duration=863.574µs grafana | logger=migrator t=2023-12-15T11:35:33.238642554Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-12-15T11:35:33.239801189Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.158765ms grafana | logger=migrator t=2023-12-15T11:35:33.242905672Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-12-15T11:35:33.244037338Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.131875ms grafana | logger=migrator t=2023-12-15T11:35:33.247075157Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-12-15T11:35:33.247432671Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=358.744µs grafana | logger=migrator t=2023-12-15T11:35:33.250997772Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.084314727s grafana | logger=sqlstore t=2023-12-15T11:35:33.260210888Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-12-15T11:35:33.260575871Z level=info msg="Created default organization" grafana | logger=secrets t=2023-12-15T11:35:33.286366752Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-12-15T11:35:33.34845638Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-12-15T11:35:33.350983709Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-12-15T11:35:33.355087852Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-12-15T11:35:35.465999688Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-12-15T11:35:35.468342602Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-12-15T11:35:35.479639489Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-12-15T11:35:35.47966181Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-12-15T11:35:35.47993524Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-12-15T11:35:35.484423488Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.migration t=2023-12-15T11:35:35.485701018Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-12-15T11:35:35.486341863Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-15T11:35:35.486647706Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-15T11:35:35.487336753Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-15T11:35:35.487832982Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-12-15T11:35:35.491631303Z level=info msg="Completed legacy migration" grafana | logger=grafanaStorageLogger t=2023-12-15T11:35:35.479953351Z level=info msg="Storage starting" grafana | logger=sqlstore.transactions t=2023-12-15T11:35:35.496928802Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2023-12-15T11:35:35.522336989Z level=info msg="Update check succeeded" duration=42.208501ms grafana | logger=ngalert.state.manager t=2023-12-15T11:35:35.533613865Z level=info msg="State cache has been initialized" states=0 duration=53.672154ms grafana | logger=ngalert.scheduler t=2023-12-15T11:35:35.533655586Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-12-15T11:35:35.533720799Z level=info msg=starting first_tick=2023-12-15T11:35:40Z grafana | logger=ngalert.multiorg.alertmanager t=2023-12-15T11:35:35.533698868Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=plugins.update.checker t=2023-12-15T11:35:35.561509919Z level=info msg="Update check succeeded" duration=80.512627ms grafana | logger=sqlstore.transactions t=2023-12-15T11:35:35.571541735Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-15T11:35:35.680768948Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-15T11:35:35.695942649Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=infra.usagestats t=2023-12-15T11:37:05.492710421Z 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 prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing prometheus ... Removing mariadb ... Removing grafana ... done Removing mariadb ... done Removing prometheus ... done Removing policy-api ... done Removing policy-db-migrator ... 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.kqN3eR2rmy ]] + rsync -av /tmp/tmp.kqN3eR2rmy/ /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,347,298 bytes received 95 bytes 2,694,786.00 bytes/sec total size is 1,346,653 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 2132 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/jenkins10430522821683580957.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15641648737876228720.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/jenkins3414533526881762295.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-H4Qc from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-H4Qc/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins1543755223322811069.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config2704335665399123578tmp 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/jenkins15937121122387211591.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9690389475180997005.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-H4Qc from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-H4Qc/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6479357521128288594.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7897048504296927368.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-H4Qc 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-H4Qc/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/jenkins3841516001313916310.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-H4Qc 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-H4Qc/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/210 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-5263 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.996 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 814 27433 0 3918 30896 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:ce:79:84 brd ff:ff:ff:ff:ff:ff inet 10.30.107.86/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86050sec preferred_lft 86050sec inet6 fe80::f816:3eff:fece:7984/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:6b:ac:3d:ed 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-5263) 12/15/23 _x86_64_ (8 CPU) 11:32:22 LINUX RESTART (8 CPU) 11:33:01 tps rtps wtps bread/s bwrtn/s 11:34:01 100.98 17.71 83.27 1021.26 29368.34 11:35:01 130.01 22.88 107.13 2743.54 36376.34 11:36:01 378.12 12.33 365.79 820.46 82079.95 11:37:01 17.86 0.00 17.86 0.00 22657.24 11:38:01 76.77 1.95 74.82 116.25 27765.81 Average: 140.75 10.97 129.77 940.31 39649.19 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30110228 31712004 2828992 8.59 69400 1842684 1433456 4.22 857656 1677508 163544 11:35:01 29230312 31702472 3708908 11.26 97672 2653280 1534288 4.51 952460 2395456 598828 11:36:01 26831040 30468916 6108180 18.54 126144 3676468 4721796 13.89 2273564 3383000 796 11:37:01 26871200 30474052 6068020 18.42 126256 3676936 4688600 13.79 2268640 3346724 108 11:38:01 28089104 31633000 4850116 14.72 130168 3650444 1475948 4.34 1146828 3277744 32072 Average: 28226377 31198089 4712843 14.31 109928 3099962 2770818 8.15 1499830 2816086 159070 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 ens3 59.11 40.57 974.51 7.19 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:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 130.88 95.33 3191.96 11.74 0.00 0.00 0.00 0.00 11:35:01 br-66fd62891aa3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 6.27 6.27 0.58 0.58 0.00 0.00 0.00 0.00 11:36:01 vethf0f253f 0.43 0.58 0.05 0.30 0.00 0.00 0.00 0.00 11:36:01 veth148265b 90.27 112.36 78.56 32.10 0.00 0.00 0.00 0.01 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 veth9d47f42 0.05 0.25 0.00 0.02 0.00 0.00 0.00 0.00 11:37:01 vethf0f253f 0.15 0.17 0.01 0.01 0.00 0.00 0.00 0.00 11:37:01 veth148265b 29.15 36.83 41.10 12.60 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 veth9d47f42 0.18 0.18 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 911.43 610.01 11174.89 117.93 0.00 0.00 0.00 0.00 11:38:01 lo 34.26 34.26 10.43 10.43 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 92.17 63.27 2079.24 11.31 0.00 0.00 0.00 0.00 Average: lo 6.07 6.07 2.02 2.02 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-5263) 12/15/23 _x86_64_ (8 CPU) 11:32:22 LINUX RESTART (8 CPU) 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 8.69 0.00 0.69 3.59 0.04 87.00 11:34:01 0 12.12 0.00 1.04 13.18 0.05 73.61 11:34:01 1 0.75 0.00 0.20 0.67 0.00 98.38 11:34:01 2 5.80 0.00 0.63 9.92 0.02 83.63 11:34:01 3 0.52 0.00 0.22 0.18 0.00 99.08 11:34:01 4 23.82 0.00 1.27 3.05 0.05 71.80 11:34:01 5 16.93 0.00 1.14 0.65 0.03 81.24 11:34:01 6 5.68 0.00 0.60 0.84 0.07 92.81 11:34:01 7 3.99 0.00 0.37 0.22 0.03 95.39 11:35:01 all 10.67 0.00 1.53 2.53 0.04 85.22 11:35:01 0 19.39 0.00 1.99 1.09 0.05 77.47 11:35:01 1 19.23 0.00 2.86 0.75 0.03 77.12 11:35:01 2 1.17 0.00 0.80 12.25 0.03 85.74 11:35:01 3 2.99 0.00 1.61 0.18 0.02 95.20 11:35:01 4 3.01 0.00 0.90 2.31 0.05 93.72 11:35:01 5 6.71 0.00 0.92 0.43 0.03 91.90 11:35:01 6 10.94 0.00 1.64 1.84 0.03 85.54 11:35:01 7 21.95 0.00 1.59 1.42 0.07 74.96 11:36:01 all 19.68 0.00 3.59 4.76 0.07 71.90 11:36:01 0 16.99 0.00 3.53 4.20 0.05 75.24 11:36:01 1 20.44 0.00 3.69 0.94 0.07 74.86 11:36:01 2 18.48 0.00 3.66 4.68 0.07 73.11 11:36:01 3 23.42 0.00 3.70 1.88 0.08 70.92 11:36:01 4 19.96 0.00 3.12 1.18 0.10 75.64 11:36:01 5 14.44 0.00 2.82 1.14 0.05 81.55 11:36:01 6 20.23 0.00 4.50 18.25 0.10 56.91 11:36:01 7 23.47 0.00 3.71 5.85 0.07 66.90 11:37:01 all 1.71 0.00 0.12 1.24 0.03 96.90 11:37:01 0 0.92 0.00 0.07 0.10 0.03 98.88 11:37:01 1 0.77 0.00 0.08 0.00 0.03 99.12 11:37:01 2 1.57 0.00 0.08 0.00 0.02 98.33 11:37:01 3 2.00 0.00 0.12 0.00 0.02 97.86 11:37:01 4 2.67 0.00 0.23 0.10 0.05 96.95 11:37:01 5 3.34 0.00 0.17 0.00 0.02 96.47 11:37:01 6 0.73 0.00 0.05 0.00 0.00 99.22 11:37:01 7 1.67 0.00 0.17 9.70 0.07 88.39 11:38:01 all 7.69 0.00 0.70 1.94 0.04 89.64 11:38:01 0 1.99 0.00 0.60 0.45 0.03 96.93 11:38:01 1 13.16 0.00 0.80 0.40 0.05 85.59 11:38:01 2 8.79 0.00 0.73 4.89 0.03 85.55 11:38:01 3 17.36 0.00 1.05 0.48 0.08 81.02 11:38:01 4 5.24 0.00 0.72 0.68 0.03 93.32 11:38:01 5 10.86 0.00 0.60 0.27 0.03 88.23 11:38:01 6 3.19 0.00 0.48 0.23 0.05 96.04 11:38:01 7 0.90 0.00 0.58 8.08 0.02 90.42 Average: all 9.67 0.00 1.32 2.81 0.04 86.16 Average: 0 10.26 0.00 1.44 3.80 0.04 84.45 Average: 1 10.84 0.00 1.52 0.55 0.04 87.05 Average: 2 7.15 0.00 1.18 6.35 0.03 85.29 Average: 3 9.24 0.00 1.33 0.54 0.04 88.84 Average: 4 10.92 0.00 1.25 1.46 0.06 86.31 Average: 5 10.44 0.00 1.13 0.50 0.03 87.90 Average: 6 8.12 0.00 1.45 4.20 0.05 86.18 Average: 7 10.36 0.00 1.28 5.06 0.05 83.25