Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-14753 (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-vOcG578uA3ti/agent.2174 SSH_AGENT_PID=2176 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_6956439051309419067.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_6956439051309419067.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/jenkins1843894090306289882.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-LKTK 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-LKTK/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-LKTK/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.26 botocore==1.34.26 bs4==0.0.2 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.5.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.5.0 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.26.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.4 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.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.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins3258598847187515915.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/jenkins12436182906890220336.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.F1VKvITLT4 ++ echo ROBOT_VENV=/tmp/tmp.F1VKvITLT4 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.F1VKvITLT4 ++ source /tmp/tmp.F1VKvITLT4/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.F1VKvITLT4 +++ 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.F1VKvITLT4/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.F1VKvITLT4) ' '!=' x ']' +++ PS1='(tmp.F1VKvITLT4) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.F1VKvITLT4/src/onap ++ rm -rf /tmp/tmp.F1VKvITLT4/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.F1VKvITLT4/bin/activate + '[' -z /tmp/tmp.F1VKvITLT4/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.F1VKvITLT4/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.F1VKvITLT4 ++ 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.F1VKvITLT4/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.F1VKvITLT4) ' ++ '[' 'x(tmp.F1VKvITLT4) ' '!=' x ']' ++ PS1='(tmp.F1VKvITLT4) (tmp.F1VKvITLT4) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + 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 + 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.OCHz9Dwsxy + cd /tmp/tmp.OCHz9Dwsxy + 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:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 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:7567a7c70a3c1d75aeeedc968d1304174a16651e55a60d1fb132a05e1e63a054 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 15 seconds prometheus Up 16 seconds mariadb Up 13 seconds NAMES STATUS policy-api Up 15 seconds policy-db-migrator Up 16 seconds grafana Up 20 seconds prometheus Up 21 seconds mariadb Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 25 seconds prometheus Up 26 seconds mariadb Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 30 seconds prometheus Up 31 seconds mariadb Up 29 seconds NAMES STATUS policy-api Up 30 seconds grafana Up 35 seconds prometheus Up 36 seconds mariadb Up 34 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + 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:36:35 up 3 min, 0 users, load average: 2.84, 1.19, 0.47 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.3 us, 1.8 sy, 0.0 ni, 81.4 id, 6.4 wa, 0.0 hi, 0.1 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 30 seconds grafana Up 35 seconds prometheus Up 36 seconds mariadb Up 34 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS c316e353f277 policy-api 86.84% 965.9MiB / 31.41GiB 3.00% 1.04MB / 740kB 0B / 0B 52 3c3821e493ed grafana 0.08% 49.73MiB / 31.41GiB 0.15% 20.1kB / 3.33kB 0B / 23.8MB 15 4e3aa035e6d9 prometheus 0.00% 18.95MiB / 31.41GiB 0.06% 1.38kB / 0B 205kB / 0B 13 c23b7dd02132 mariadb 0.03% 99.98MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 10.8MB / 67.5MB 27 + echo + cd /tmp/tmp.OCHz9Dwsxy + 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.OCHz9Dwsxy/output.xml Log: /tmp/tmp.OCHz9Dwsxy/log.html Report: /tmp/tmp.OCHz9Dwsxy/report.html + RESULT=0 + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute 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:48 up 5 min, 0 users, load average: 0.88, 0.95, 0.44 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.9 us, 1.5 sy, 0.0 ni, 84.3 id, 5.2 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.1G 25G 1.0M 3.8G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS c316e353f277 policy-api 0.16% 1.184GiB / 31.41GiB 3.77% 7.33MB / 2.89MB 0B / 0B 52 3c3821e493ed grafana 0.02% 54.73MiB / 31.41GiB 0.17% 21.3kB / 4.65kB 0B / 23.8MB 15 4e3aa035e6d9 prometheus 0.05% 25.39MiB / 31.41GiB 0.08% 54.3kB / 7.68kB 205kB / 0B 13 c23b7dd02132 mariadb 0.02% 100.8MiB / 31.41GiB 0.31% 2.75MB / 7.36MB 10.8MB / 67.6MB 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 policy-api, policy-db-migrator, grafana, prometheus, mariadb grafana | logger=settings t=2024-01-24T11:36:00.176104703Z level=info msg="Starting Grafana" version=10.3.1 commit=00a22ff8b28550d593ec369ba3da1b25780f0a4a branch=HEAD compiled=2024-01-22T18:40:42Z grafana | logger=settings t=2024-01-24T11:36:00.176327116Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-24T11:36:00.176341027Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-24T11:36:00.176345527Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-24T11:36:00.176349457Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-24T11:36:00.176354707Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-24T11:36:00.176358477Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-24T11:36:00.176362297Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-24T11:36:00.176366567Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-24T11:36:00.176370547Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-24T11:36:00.176374298Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-24T11:36:00.176378178Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-24T11:36:00.176382048Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-24T11:36:00.176391588Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-24T11:36:00.176396168Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-24T11:36:00.176400718Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-24T11:36:00.176406778Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-24T11:36:00.176410978Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-24T11:36:00.176416188Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-24T11:36:00.176742752Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-24T11:36:00.176759882Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-24T11:36:00.177277819Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-24T11:36:00.17820321Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-24T11:36:00.179010421Z level=info msg="Migration successfully executed" id="create migration_log table" duration=807.49µs grafana | logger=migrator t=2024-01-24T11:36:00.182749949Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-24T11:36:00.183521049Z level=info msg="Migration successfully executed" id="create user table" duration=771.15µs grafana | logger=migrator t=2024-01-24T11:36:00.188508803Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-24T11:36:00.189241893Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=732.62µs grafana | logger=migrator t=2024-01-24T11:36:00.327121657Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-24T11:36:00.328496396Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.377609ms grafana | logger=migrator t=2024-01-24T11:36:00.331765028Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-24T11:36:00.332511237Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=746.12µs grafana | logger=migrator t=2024-01-24T11:36:00.336676131Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-24T11:36:00.33736992Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=693.529µs grafana | logger=migrator t=2024-01-24T11:36:00.340561011Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-24T11:36:00.345392953Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.830312ms grafana | logger=migrator t=2024-01-24T11:36:00.348740566Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-24T11:36:00.349502566Z level=info msg="Migration successfully executed" id="create user table v2" duration=761.81µs grafana | logger=migrator t=2024-01-24T11:36:00.35450182Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-24T11:36:00.355531413Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.025053ms grafana | logger=migrator t=2024-01-24T11:36:00.358591053Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-24T11:36:00.35994371Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.351777ms grafana | logger=migrator t=2024-01-24T11:36:00.363101571Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-24T11:36:00.363541436Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=439.995µs grafana | logger=migrator t=2024-01-24T11:36:00.368045785Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-24T11:36:00.368567051Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=521.226µs grafana | logger=migrator t=2024-01-24T11:36:00.370560967Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-24T11:36:00.372131267Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.56882ms grafana | logger=migrator t=2024-01-24T11:36:00.375247528Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-24T11:36:00.375284588Z level=info msg="Migration successfully executed" id="Update user table charset" duration=38.78µs grafana | logger=migrator t=2024-01-24T11:36:00.378295637Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-24T11:36:00.380004458Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.709791ms policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | 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 | 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-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-01-24T11:36:23.841+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 43 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-24T11:36:23.844+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-24T11:36:25.286+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-24T11:36:25.386+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 87 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-24T11:36:26.563+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-24T11:36:26.579+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-24T11:36:26.580+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-24T11:36:26.580+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-01-24T11:36:26.703+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-24T11:36:26.703+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2795 ms policy-api | [2024-01-24T11:36:27.252+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-24T11:36:27.335+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-01-24T11:36:27.584+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-01-24T11:36:27.729+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-24T11:36:27.837+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-24T11:36:27.861+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-01-24T11:36:29.433+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-01-24T11:36:29.447+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-01-24T11:36:30.526+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-24T11:36:31.233+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-24T11:36:32.368+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@204bd52d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@72bf63a, org.springframework.security.web.context.SecurityContextPersistenceFilter@376ba8e3, org.springframework.security.web.header.HeaderWriterFilter@4628344c, org.springframework.security.web.authentication.logout.LogoutFilter@43ee4942, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5e4874ae, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2c84d6c4, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@40eb85e9, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2162b22d, org.springframework.security.web.session.SessionManagementFilter@2692910f, org.springframework.security.web.access.ExceptionTranslationFilter@359ae83a, org.springframework.security.web.access.intercept.AuthorizationFilter@975f349] policy-api | [2024-01-24T11:36:32.525+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-01-24T11:36:35.376+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 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-api | [2024-01-24T11:36:35.408+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-24T11:36:35.438+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-24T11:36:35.461+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.56 seconds (JVM running for 13.237) policy-api | [2024-01-24T11:36:38.812+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-24T11:36:38.812+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-24T11:36:38.814+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2024-01-24T11:36:41.346+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-01-24T11:36:41.469+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-01-24T11:36:41.729+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2024-01-24T11:36:43.456+00:00|WARN|CommonRestController|http-nio-6969-exec-1] POST /policies policy-api | [2024-01-24T11:36:46.011+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-01-24T11:36:46.403+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-01-24T11:36:46.620+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-01-24T11:36:46.901+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-01-24T11:36:47.137+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-01-24T11:36:47.388+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-01-24T11:36:00.384649568Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-24T11:36:00.385059074Z level=info msg="Migration successfully executed" id="Add missing user data" duration=409.786µs grafana | logger=migrator t=2024-01-24T11:36:00.388081232Z level=info msg="Executing migration" id="Add is_disabled column to user" 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 mariadb | 2024-01-24 11:36:01+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-24 11:36:01+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-24 11:36:01+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-24 11:36:01+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-24 11:36:01 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-24 11:36:01 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-24 11:36:03 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-01-24 11:36:05+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-24 11:36:05+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-24 11:36:05+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-24 11:36:05 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... mariadb | 2024-01-24 11:36:05 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-24 11:36:05 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-24 11:36:05 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-24 11:36:05 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-24 11:36:05 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-24 11:36:05 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-24 11:36:05 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-24 11:36:05 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-24 11:36:05 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-24 11:36:05 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-24 11:36:05 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-24 11:36:05 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-24 11:36:05 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-01-24 11:36:05 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-24 11:36:05 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-24 11:36:05 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-24 11:36:05 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-24 11:36:05 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-01-24 11:36:06+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-24 11:36:09+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-24 11:36:09+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-01-24 11:36:09+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-01-24 11:36:09+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 | # policy-db-migrator | -------------- 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 | -------------- 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 | grafana | logger=migrator t=2024-01-24T11:36:00.389898606Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.820414ms grafana | logger=migrator t=2024-01-24T11:36:00.392968736Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-24T11:36:00.393842417Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=873.32µs grafana | logger=migrator t=2024-01-24T11:36:00.396619502Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-24T11:36:00.397897649Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.278407ms grafana | logger=migrator t=2024-01-24T11:36:00.40338034Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-24T11:36:00.416087043Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.702323ms grafana | logger=migrator t=2024-01-24T11:36:00.421158808Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-24T11:36:00.421892348Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=733.57µs grafana | logger=migrator t=2024-01-24T11:36:00.424064846Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-24T11:36:00.424806475Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=741.219µs grafana | logger=migrator t=2024-01-24T11:36:00.428574374Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-24T11:36:00.429256263Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=681.659µs grafana | logger=migrator t=2024-01-24T11:36:00.431616273Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-24T11:36:00.432299272Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=679.859µs grafana | logger=migrator t=2024-01-24T11:36:00.435154719Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-24T11:36:00.436386454Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.231545ms grafana | logger=migrator t=2024-01-24T11:36:00.441439929Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-24T11:36:00.44148231Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=43.811µs grafana | logger=migrator t=2024-01-24T11:36:00.444823583Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-24T11:36:00.446210091Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.385998ms grafana | logger=migrator t=2024-01-24T11:36:00.449465053Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-24T11:36:00.450212652Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=748.079µs grafana | logger=migrator t=2024-01-24T11:36:00.455154286Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-24T11:36:00.455770024Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=615.628µs grafana | logger=migrator t=2024-01-24T11:36:00.45860862Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-24T11:36:00.45928686Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=677.83µs grafana | logger=migrator t=2024-01-24T11:36:00.462520771Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-24T11:36:00.466619843Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.099462ms grafana | logger=migrator t=2024-01-24T11:36:00.471725069Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-24T11:36:00.472455259Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=729.969µs grafana | logger=migrator t=2024-01-24T11:36:00.474516265Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-24T11:36:00.475282435Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=765.08µs grafana | logger=migrator t=2024-01-24T11:36:00.477900119Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-24T11:36:00.478974093Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.072964ms grafana | logger=migrator t=2024-01-24T11:36:00.482336626Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-24T11:36:00.483045135Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=708.229µs grafana | logger=migrator t=2024-01-24T11:36:00.48809072Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-24T11:36:00.488782249Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=690.629µs grafana | logger=migrator t=2024-01-24T11:36:00.491658156Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-24T11:36:00.492109962Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=450.555µs grafana | logger=migrator t=2024-01-24T11:36:00.494561703Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-24T11:36:00.495412944Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=850.881µs grafana | logger=migrator t=2024-01-24T11:36:00.500661192Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-24T11:36:00.501414022Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=755.281µs grafana | logger=migrator t=2024-01-24T11:36:00.504737905Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-24T11:36:00.505679086Z level=info msg="Migration successfully executed" id="create star table" duration=944.642µs grafana | logger=migrator t=2024-01-24T11:36:00.508758146Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-24T11:36:00.510158714Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.398548ms grafana | logger=migrator t=2024-01-24T11:36:00.515619835Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-24T11:36:00.516282403Z level=info msg="Migration successfully executed" id="create org table v1" duration=662.448µs grafana | logger=migrator t=2024-01-24T11:36:00.520445796Z level=info msg="Executing migration" id="create index UQE_org_name - v1" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-01-24 11:36:10+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-01-24 11:36:10 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-01-24 11:36:10 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-01-24 11:36:10 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-01-24 11:36:10 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-24 11:36:10 0 [Note] InnoDB: Buffer pool(s) dump completed at 240124 11:36:10 mariadb | 2024-01-24 11:36:10 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-01-24 11:36:10 0 [Note] InnoDB: Shutdown completed; log sequence number 323555; transaction id 298 mariadb | 2024-01-24 11:36:10 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-01-24 11:36:11+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-01-24 11:36:11+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-01-24 11:36:11 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-01-24 11:36:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-24 11:36:11 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-24 11:36:11 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-24 11:36:11 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-24 11:36:11 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-24 11:36:11 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-24 11:36:11 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-24 11:36:11 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-24 11:36:11 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-24 11:36:11 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-24 11:36:11 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-24 11:36:11 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-24 11:36:11 0 [Note] InnoDB: log sequence number 323555; transaction id 299 mariadb | 2024-01-24 11:36:11 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-24 11:36:11 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-24 11:36:11 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-24 11:36:11 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-01-24 11:36:11 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-01-24 11:36:11 0 [Note] Server socket created on IP: '::'. mariadb | 2024-01-24 11:36:11 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-01-24 11:36:11 0 [Note] InnoDB: Buffer pool(s) load completed at 240124 11:36:11 mariadb | 2024-01-24 11:36:12 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-01-24 11:36:12 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2024-01-24T11:36:00.521320278Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=873.072µs grafana | logger=migrator t=2024-01-24T11:36:00.524377417Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-24T11:36:00.525308189Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=930.522µs grafana | logger=migrator t=2024-01-24T11:36:00.528821674Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-24T11:36:00.530259833Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.437959ms grafana | logger=migrator t=2024-01-24T11:36:00.535497881Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-24T11:36:00.536944399Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.446328ms grafana | logger=migrator t=2024-01-24T11:36:00.54017827Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-24T11:36:00.54166655Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.48312ms grafana | logger=migrator t=2024-01-24T11:36:00.544923182Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-24T11:36:00.544954082Z level=info msg="Migration successfully executed" id="Update org table charset" duration=32.03µs grafana | logger=migrator t=2024-01-24T11:36:00.547676737Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-24T11:36:00.547702087Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=26.09µs grafana | logger=migrator t=2024-01-24T11:36:00.552224196Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-24T11:36:00.552421828Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=197.752µs grafana | logger=migrator t=2024-01-24T11:36:00.555399497Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-24T11:36:00.556533271Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.133424ms grafana | logger=migrator t=2024-01-24T11:36:00.55959993Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-24T11:36:00.560566623Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=966.433µs grafana | logger=migrator t=2024-01-24T11:36:00.563217098Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-24T11:36:00.564044128Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=827.06µs grafana | logger=migrator t=2024-01-24T11:36:00.569131534Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-24T11:36:00.57041543Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.285146ms grafana | logger=migrator t=2024-01-24T11:36:00.575745338Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-24T11:36:00.577122847Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.377199ms grafana | logger=migrator t=2024-01-24T11:36:00.580403349Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-24T11:36:00.581594204Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.187935ms grafana | logger=migrator t=2024-01-24T11:36:00.584984237Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-24T11:36:00.591977818Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.992041ms grafana | logger=migrator t=2024-01-24T11:36:00.596572477Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-24T11:36:00.597257386Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=684.669µs grafana | logger=migrator t=2024-01-24T11:36:00.600080842Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-24T11:36:00.600819751Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=738.559µs grafana | logger=migrator t=2024-01-24T11:36:00.603972462Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-24T11:36:00.604692731Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=718.979µs grafana | logger=migrator t=2024-01-24T11:36:00.609549543Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-24T11:36:00.610135811Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=586.588µs grafana | logger=migrator t=2024-01-24T11:36:00.61318945Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-24T11:36:00.61467704Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.4894ms grafana | logger=migrator t=2024-01-24T11:36:00.618699571Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-24T11:36:00.618791012Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=91.551µs grafana | logger=migrator t=2024-01-24T11:36:00.624148581Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-24T11:36:00.626582313Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.432742ms grafana | logger=migrator t=2024-01-24T11:36:00.630001986Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-24T11:36:00.632987156Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.98172ms grafana | logger=migrator t=2024-01-24T11:36:00.636160687Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-24T11:36:00.637899538Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.738581ms grafana | logger=migrator t=2024-01-24T11:36:00.642859472Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-24T11:36:00.643668283Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=808.291µs grafana | logger=migrator t=2024-01-24T11:36:00.646807573Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-24T11:36:00.649630529Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.822696ms grafana | logger=migrator t=2024-01-24T11:36:00.653316717Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-01-24T11:36:00.654149598Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=832.231µs grafana | logger=migrator t=2024-01-24T11:36:00.659451986Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-24T11:36:00.660761613Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.307216ms grafana | logger=migrator t=2024-01-24T11:36:00.664158397Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-24T11:36:00.664209198Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=52.051µs grafana | logger=migrator t=2024-01-24T11:36:00.667565971Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-24T11:36:00.667637262Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=70.871µs grafana | logger=migrator t=2024-01-24T11:36:00.673213163Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-24T11:36:00.675197449Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.984116ms grafana | logger=migrator t=2024-01-24T11:36:00.679666766Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-24T11:36:00.68151958Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.852734ms grafana | logger=migrator t=2024-01-24T11:36:00.684121584Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-24T11:36:00.686011718Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.889724ms grafana | logger=migrator t=2024-01-24T11:36:00.688439969Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-24T11:36:00.690346104Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.905835ms grafana | logger=migrator t=2024-01-24T11:36:00.694906693Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-24T11:36:00.695124336Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=217.503µs grafana | logger=migrator t=2024-01-24T11:36:00.697876301Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-24T11:36:00.699154107Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.276926ms grafana | logger=migrator t=2024-01-24T11:36:00.702368628Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-24T11:36:00.703565734Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.195866ms grafana | logger=migrator t=2024-01-24T11:36:00.708762281Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-24T11:36:00.708788742Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=26.581µs grafana | logger=migrator t=2024-01-24T11:36:00.711417706Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-24T11:36:00.712196525Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=778.359µs grafana | logger=migrator t=2024-01-24T11:36:00.714433044Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-24T11:36:00.715439127Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.005553ms grafana | logger=migrator t=2024-01-24T11:36:00.720625264Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-24T11:36:00.728995012Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.369878ms grafana | logger=migrator t=2024-01-24T11:36:00.731913389Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-24T11:36:00.732564577Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=642.568µs grafana | logger=migrator t=2024-01-24T11:36:00.735540105Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-24T11:36:00.736291265Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=750.84µs grafana | logger=migrator t=2024-01-24T11:36:00.741956178Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-24T11:36:00.742801949Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=845.331µs grafana | logger=migrator t=2024-01-24T11:36:00.745662426Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-24T11:36:00.7460019Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=339.184µs grafana | logger=migrator t=2024-01-24T11:36:00.748613334Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-24T11:36:00.749339113Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=724.249µs grafana | logger=migrator t=2024-01-24T11:36:00.754611901Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-24T11:36:00.757797582Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.185181ms grafana | logger=migrator t=2024-01-24T11:36:00.760899412Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-24T11:36:00.761728172Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=828.28µs grafana | logger=migrator t=2024-01-24T11:36:00.764454467Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-01-24T11:36:00.764648521Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=188.634µs grafana | logger=migrator t=2024-01-24T11:36:00.767318274Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-01-24T11:36:00.767524798Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=206.204µs grafana | logger=migrator t=2024-01-24T11:36:00.854051661Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-01-24T11:36:00.85551499Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.463119ms grafana | logger=migrator t=2024-01-24T11:36:01.079652924Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-01-24T11:36:01.083010262Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.358798ms grafana | logger=migrator t=2024-01-24T11:36:01.235119624Z level=info msg="Executing migration" id="create data_source table" 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 | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-24T11:36:01.236794284Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.6776ms grafana | logger=migrator t=2024-01-24T11:36:01.306908558Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-01-24T11:36:01.308168673Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.262475ms grafana | logger=migrator t=2024-01-24T11:36:01.377558088Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-01-24T11:36:01.378409548Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=853.55µs grafana | logger=migrator t=2024-01-24T11:36:01.921865422Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-01-24T11:36:01.923779373Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.914771ms grafana | logger=migrator t=2024-01-24T11:36:01.976752253Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-01-24T11:36:01.977717705Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=967.952µs grafana | logger=migrator t=2024-01-24T11:36:01.981129673Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-01-24T11:36:01.990032294Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.902301ms grafana | logger=migrator t=2024-01-24T11:36:02.674365536Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-01-24T11:36:02.675811935Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.448589ms grafana | logger=migrator t=2024-01-24T11:36:03.116052057Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-01-24T11:36:03.117241012Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.192175ms grafana | logger=migrator t=2024-01-24T11:36:03.241260024Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-01-24T11:36:03.243215329Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.957155ms grafana | logger=migrator t=2024-01-24T11:36:03.261508107Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-01-24T11:36:03.262355387Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=849.22µs grafana | logger=migrator t=2024-01-24T11:36:03.29564105Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-01-24T11:36:03.298273334Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.630594ms grafana | logger=migrator t=2024-01-24T11:36:03.326814865Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-01-24T11:36:03.329208766Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.390051ms grafana | logger=migrator t=2024-01-24T11:36:03.336937377Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-01-24T11:36:03.336981827Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=48.34µs grafana | logger=migrator t=2024-01-24T11:36:03.341244382Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-01-24T11:36:03.341522916Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=278.654µs grafana | logger=migrator t=2024-01-24T11:36:03.347516145Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-01-24T11:36:03.350133468Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.618824ms grafana | logger=migrator t=2024-01-24T11:36:03.355999395Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-01-24T11:36:03.356295618Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=287.243µs grafana | logger=migrator t=2024-01-24T11:36:03.360751786Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-01-24T11:36:03.360999659Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=249.303µs grafana | logger=migrator t=2024-01-24T11:36:03.3679997Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-01-24T11:36:03.370787917Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.781946ms grafana | logger=migrator t=2024-01-24T11:36:03.375037041Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-01-24T11:36:03.375220744Z level=info msg="Migration successfully executed" id="Update uid value" duration=183.813µs grafana | logger=migrator t=2024-01-24T11:36:03.379479159Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-01-24T11:36:03.380394891Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=916.032µs grafana | logger=migrator t=2024-01-24T11:36:03.38722494Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-01-24T11:36:03.388514167Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.292127ms grafana | logger=migrator t=2024-01-24T11:36:03.39649228Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-01-24T11:36:03.39727873Z level=info msg="Migration successfully executed" id="create api_key table" duration=786.3µs grafana | logger=migrator t=2024-01-24T11:36:03.401218842Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-01-24T11:36:03.402135634Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=916.242µs grafana | logger=migrator t=2024-01-24T11:36:03.408876671Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-01-24T11:36:03.410017706Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.142505ms grafana | logger=migrator t=2024-01-24T11:36:03.413600093Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-01-24T11:36:03.414535284Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=934.681µs grafana | logger=migrator t=2024-01-24T11:36:03.419225046Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-01-24T11:36:03.420504633Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.279747ms grafana | logger=migrator t=2024-01-24T11:36:03.424453324Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" prometheus | ts=2024-01-24T11:35:59.293Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-01-24T11:35:59.293Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" prometheus | ts=2024-01-24T11:35:59.293Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-01-24T11:35:59.293Z caller=main.go:594 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-01-24T11:35:59.293Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-01-24T11:35:59.293Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-01-24T11:35:59.298Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-01-24T11:35:59.298Z caller=main.go:1039 level=info msg="Starting TSDB ..." prometheus | ts=2024-01-24T11:35:59.303Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-01-24T11:35:59.303Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-01-24T11:35:59.307Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-01-24T11:35:59.307Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.11µs prometheus | ts=2024-01-24T11:35:59.307Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-01-24T11:35:59.307Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-01-24T11:35:59.308Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=56.281µs wal_replay_duration=833.527µs wbl_replay_duration=160ns total_replay_duration=969.269µs prometheus | ts=2024-01-24T11:35:59.310Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-01-24T11:35:59.310Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-01-24T11:35:59.310Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-24T11:35:59.312Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.237283ms db_storage=3.191µs remote_storage=2.55µs web_handler=1.13µs query_engine=1.52µs scrape=428.718µs scrape_sd=209.504µs notify=38.191µs notify_sd=18.5µs rules=2.42µs tracing=8.42µs prometheus | ts=2024-01-24T11:35:59.312Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-24T11:35:59.312Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-01-24T11:36:03.425199903Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=744.329µs grafana | logger=migrator t=2024-01-24T11:36:03.43261048Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-01-24T11:36:03.43341785Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=807.87µs grafana | logger=migrator t=2024-01-24T11:36:03.437010216Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-01-24T11:36:03.446619422Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.604866ms grafana | logger=migrator t=2024-01-24T11:36:03.451568506Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-01-24T11:36:03.452394567Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=825.951µs grafana | logger=migrator t=2024-01-24T11:36:03.458246953Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-01-24T11:36:03.459480088Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.236535ms grafana | logger=migrator t=2024-01-24T11:36:03.463573822Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-01-24T11:36:03.464617015Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.038713ms grafana | logger=migrator t=2024-01-24T11:36:03.468663388Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-01-24T11:36:03.469482399Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=823.041µs grafana | logger=migrator t=2024-01-24T11:36:03.474132839Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-01-24T11:36:03.474470914Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=341.835µs grafana | logger=migrator t=2024-01-24T11:36:03.479237906Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-01-24T11:36:03.479815953Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=578.137µs grafana | logger=migrator t=2024-01-24T11:36:03.482907183Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-01-24T11:36:03.482936784Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=30.131µs grafana | logger=migrator t=2024-01-24T11:36:03.485519817Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-01-24T11:36:03.488154822Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.630915ms grafana | logger=migrator t=2024-01-24T11:36:03.492962963Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-01-24T11:36:03.495541297Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.585734ms grafana | logger=migrator t=2024-01-24T11:36:03.500764995Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-01-24T11:36:03.500916007Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=151.082µs grafana | logger=migrator t=2024-01-24T11:36:03.503693563Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-01-24T11:36:03.506285777Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.591934ms grafana | logger=migrator t=2024-01-24T11:36:03.512247244Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-01-24T11:36:03.515176232Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.925758ms grafana | logger=migrator t=2024-01-24T11:36:03.520514932Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-01-24T11:36:03.521212001Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=696.639µs grafana | logger=migrator t=2024-01-24T11:36:03.525371295Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-01-24T11:36:03.525915162Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=543.547µs grafana | logger=migrator t=2024-01-24T11:36:03.530566673Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-01-24T11:36:03.531303462Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=736.859µs grafana | logger=migrator t=2024-01-24T11:36:03.536848594Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-01-24T11:36:03.538270143Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.422039ms grafana | logger=migrator t=2024-01-24T11:36:03.543787175Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-01-24T11:36:03.544781977Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=995.202µs grafana | logger=migrator t=2024-01-24T11:36:03.550181337Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-01-24T11:36:03.551466884Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.285687ms grafana | logger=migrator t=2024-01-24T11:36:03.554136498Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-01-24T11:36:03.554199829Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=63.971µs grafana | logger=migrator t=2024-01-24T11:36:03.623357678Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-01-24T11:36:03.623389798Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=29.87µs grafana | logger=migrator t=2024-01-24T11:36:03.629056992Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-01-24T11:36:03.633925996Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.866694ms grafana | logger=migrator t=2024-01-24T11:36:03.638350343Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-01-24T11:36:03.641346461Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.996789ms grafana | logger=migrator t=2024-01-24T11:36:03.682299274Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-24T11:36:03.682422445Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=124.591µs grafana | logger=migrator t=2024-01-24T11:36:03.688454144Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-01-24T11:36:03.689278895Z level=info msg="Migration successfully executed" id="create quota table v1" duration=824.901µs 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 | -------------- grafana | logger=migrator t=2024-01-24T11:36:03.695304203Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-01-24T11:36:03.696403427Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.097284ms grafana | logger=migrator t=2024-01-24T11:36:03.723445049Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-01-24T11:36:03.72350125Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=60.06µs grafana | logger=migrator t=2024-01-24T11:36:03.729668539Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-01-24T11:36:03.73047149Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=804.471µs grafana | logger=migrator t=2024-01-24T11:36:03.736461327Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-01-24T11:36:03.737439571Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=980.404µs grafana | logger=migrator t=2024-01-24T11:36:03.74208955Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-01-24T11:36:03.746437707Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.350737ms grafana | logger=migrator t=2024-01-24T11:36:03.750119355Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-01-24T11:36:03.750191866Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=73.211µs grafana | logger=migrator t=2024-01-24T11:36:03.753838354Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-01-24T11:36:03.754794296Z level=info msg="Migration successfully executed" id="create session table" duration=955.502µs grafana | logger=migrator t=2024-01-24T11:36:03.760687442Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-01-24T11:36:03.761014317Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=327.384µs grafana | logger=migrator t=2024-01-24T11:36:03.780248037Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-01-24T11:36:03.780411559Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=220.513µs grafana | logger=migrator t=2024-01-24T11:36:03.785227881Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-01-24T11:36:03.786434737Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.206666ms grafana | logger=migrator t=2024-01-24T11:36:03.791632774Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-01-24T11:36:03.79284378Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.210816ms grafana | logger=migrator t=2024-01-24T11:36:03.797625492Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-01-24T11:36:03.797739004Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=115.072µs grafana | logger=migrator t=2024-01-24T11:36:03.802689578Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-01-24T11:36:03.80285027Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=161.582µs grafana | logger=migrator t=2024-01-24T11:36:03.809386795Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-01-24T11:36:03.816112943Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=6.727498ms grafana | logger=migrator t=2024-01-24T11:36:03.820445488Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-01-24T11:36:03.823424487Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.978669ms grafana | logger=migrator t=2024-01-24T11:36:03.828030937Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-01-24T11:36:03.828286441Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=255.584µs grafana | logger=migrator t=2024-01-24T11:36:03.831940808Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-01-24T11:36:03.832174442Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=230.294µs grafana | logger=migrator t=2024-01-24T11:36:03.836502227Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-01-24T11:36:03.837446459Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=946.622µs grafana | logger=migrator t=2024-01-24T11:36:03.841650054Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-01-24T11:36:03.841751436Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=102.162µs grafana | logger=migrator t=2024-01-24T11:36:03.844997458Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-01-24T11:36:03.8489494Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.951632ms grafana | logger=migrator t=2024-01-24T11:36:03.854361509Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-01-24T11:36:03.854576113Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=214.414µs grafana | logger=migrator t=2024-01-24T11:36:03.857666333Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-01-24T11:36:03.860595391Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.937178ms grafana | logger=migrator t=2024-01-24T11:36:03.86443542Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-01-24T11:36:03.86746099Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.02565ms grafana | logger=migrator t=2024-01-24T11:36:03.870527969Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-01-24T11:36:03.870676071Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=143.052µs grafana | logger=migrator t=2024-01-24T11:36:03.876504277Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-01-24T11:36:03.877382059Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=877.492µs grafana | logger=migrator t=2024-01-24T11:36:03.88361834Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-01-24T11:36:03.88440617Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=787.43µs grafana | logger=migrator t=2024-01-24T11:36:03.888696706Z level=info msg="Executing migration" id="create alert table v1" 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=2024-01-24T11:36:03.889596967Z level=info msg="Migration successfully executed" id="create alert table v1" duration=899.611µs grafana | logger=migrator t=2024-01-24T11:36:03.893776442Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-01-24T11:36:03.894672813Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=893.571µs grafana | logger=migrator t=2024-01-24T11:36:03.898131848Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-24T11:36:03.898871657Z level=info msg="Migration successfully executed" id="add index alert state" duration=739.549µs grafana | logger=migrator t=2024-01-24T11:36:03.903362056Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-01-24T11:36:03.904110926Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=748.94µs grafana | logger=migrator t=2024-01-24T11:36:03.907362278Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-24T11:36:03.907945316Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=582.418µs grafana | logger=migrator t=2024-01-24T11:36:03.91132794Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-01-24T11:36:03.91212422Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=795.98µs grafana | logger=migrator t=2024-01-24T11:36:03.919158472Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-24T11:36:03.919927522Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=768.86µs grafana | logger=migrator t=2024-01-24T11:36:03.923617339Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-24T11:36:03.936455576Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.834497ms grafana | logger=migrator t=2024-01-24T11:36:03.942007879Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-01-24T11:36:03.942638017Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=635.758µs grafana | logger=migrator t=2024-01-24T11:36:03.94675588Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-01-24T11:36:03.947628552Z 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=872.092µs grafana | logger=migrator t=2024-01-24T11:36:03.952039798Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-01-24T11:36:03.952597866Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=557.808µs grafana | logger=migrator t=2024-01-24T11:36:03.956343765Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-01-24T11:36:03.957013033Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=668.898µs grafana | logger=migrator t=2024-01-24T11:36:03.961959188Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-01-24T11:36:03.962641466Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=681.908µs grafana | logger=migrator t=2024-01-24T11:36:03.966144612Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-01-24T11:36:03.969384214Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.244073ms grafana | logger=migrator t=2024-01-24T11:36:03.975107759Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-01-24T11:36:03.97827265Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.164681ms grafana | logger=migrator t=2024-01-24T11:36:03.996278013Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-01-24T11:36:04.000825923Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=4.54747ms grafana | logger=migrator t=2024-01-24T11:36:04.00497478Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-01-24T11:36:04.009039988Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=4.063727ms grafana | logger=migrator t=2024-01-24T11:36:04.01284032Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-01-24T11:36:04.014033444Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.194774ms grafana | logger=migrator t=2024-01-24T11:36:04.019502846Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-01-24T11:36:04.019582066Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=82.391µs grafana | logger=migrator t=2024-01-24T11:36:04.02334226Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-01-24T11:36:04.023552582Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=210.512µs grafana | logger=migrator t=2024-01-24T11:36:04.027708059Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-01-24T11:36:04.028918453Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.212075ms grafana | logger=migrator t=2024-01-24T11:36:04.03488148Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-24T11:36:04.036125234Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.245134ms grafana | logger=migrator t=2024-01-24T11:36:04.040068519Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-01-24T11:36:04.041394854Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.328785ms grafana | logger=migrator t=2024-01-24T11:36:04.04541446Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-01-24T11:36:04.046295899Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=881.249µs grafana | logger=migrator t=2024-01-24T11:36:04.052218466Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-24T11:36:04.053910486Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.68338ms grafana | logger=migrator t=2024-01-24T11:36:04.058221364Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-01-24T11:36:04.062556364Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.33514ms grafana | logger=migrator t=2024-01-24T11:36:04.066114704Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-01-24T11:36:04.069919966Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.805042ms grafana | logger=migrator t=2024-01-24T11:36:04.075741202Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-01-24T11:36:04.075946006Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=208.694µs grafana | logger=migrator t=2024-01-24T11:36:04.080496266Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-01-24T11:36:04.082232206Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.73611ms grafana | logger=migrator t=2024-01-24T11:36:04.087930071Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-01-24T11:36:04.088817481Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=888.37µs grafana | logger=migrator t=2024-01-24T11:36:04.093524804Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-01-24T11:36:04.097316487Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.791903ms grafana | logger=migrator t=2024-01-24T11:36:04.100863347Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-01-24T11:36:04.100966648Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=99.031µs grafana | logger=migrator t=2024-01-24T11:36:04.105466049Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-01-24T11:36:04.106748664Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.282385ms grafana | logger=migrator t=2024-01-24T11:36:04.125363925Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-01-24T11:36:04.126847762Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.475998ms grafana | logger=migrator t=2024-01-24T11:36:04.139418024Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-24T11:36:04.139846948Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=448.515µs grafana | logger=migrator t=2024-01-24T11:36:04.146454714Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-24T11:36:04.147385264Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=878.149µs grafana | logger=migrator t=2024-01-24T11:36:04.152889356Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-24T11:36:04.154489585Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.599929ms grafana | logger=migrator t=2024-01-24T11:36:04.245504415Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-01-24T11:36:04.246720529Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.218564ms grafana | logger=migrator t=2024-01-24T11:36:04.305246761Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-24T11:36:04.307259954Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=2.015193ms grafana | logger=migrator t=2024-01-24T11:36:04.316794993Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-24T11:36:04.318015276Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.220963ms grafana | logger=migrator t=2024-01-24T11:36:04.322475127Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-24T11:36:04.326107878Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=3.635831ms grafana | logger=migrator t=2024-01-24T11:36:04.337156323Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-24T11:36:04.337361926Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=202.672µs grafana | logger=migrator t=2024-01-24T11:36:04.341820195Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-24T11:36:04.346727871Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.907246ms grafana | logger=migrator t=2024-01-24T11:36:04.355152707Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-24T11:36:04.356350801Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.201084ms grafana | logger=migrator t=2024-01-24T11:36:04.361168795Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-24T11:36:04.36607741Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.908735ms grafana | logger=migrator t=2024-01-24T11:36:04.375974553Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-24T11:36:04.376718791Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=742.958µs grafana | logger=migrator t=2024-01-24T11:36:04.422500259Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-24T11:36:04.423642753Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.144844ms grafana | logger=migrator t=2024-01-24T11:36:04.436931713Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-24T11:36:04.437843904Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=913.282µs grafana | logger=migrator t=2024-01-24T11:36:04.456885419Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-24T11:36:04.476683633Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=19.796194ms grafana | logger=migrator t=2024-01-24T11:36:04.496231175Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-24T11:36:04.497155115Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=926.4µs grafana | logger=migrator t=2024-01-24T11:36:04.502541476Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-01-24T11:36:04.504047753Z 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=1.502427ms grafana | logger=migrator t=2024-01-24T11:36:04.508736576Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-24T11:36:04.509178871Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=440.565µs grafana | logger=migrator t=2024-01-24T11:36:04.518880751Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-01-24T11:36:04.519492278Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=612.307µs grafana | logger=migrator t=2024-01-24T11:36:04.52405216Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-24T11:36:04.524426034Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=378.004µs grafana | logger=migrator t=2024-01-24T11:36:04.529302409Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-24T11:36:04.534554828Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.254589ms grafana | logger=migrator t=2024-01-24T11:36:04.539371773Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-24T11:36:04.543852454Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.480071ms grafana | logger=migrator t=2024-01-24T11:36:04.549210514Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-24T11:36:04.550183826Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=972.362µs grafana | logger=migrator t=2024-01-24T11:36:04.553303261Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-24T11:36:04.554281482Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=977.95µs grafana | logger=migrator t=2024-01-24T11:36:04.558683122Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-24T11:36:04.558924024Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=241.012µs grafana | logger=migrator t=2024-01-24T11:36:04.564150294Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-24T11:36:04.569311612Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.155798ms grafana | logger=migrator t=2024-01-24T11:36:04.577248292Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-24T11:36:04.578356865Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.110074ms grafana | logger=migrator t=2024-01-24T11:36:04.582834975Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-24T11:36:04.583051528Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=216.843µs grafana | logger=migrator t=2024-01-24T11:36:04.587304156Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-01-24T11:36:04.587786131Z level=info msg="Migration successfully executed" id="Move region to single row" duration=482.115µs grafana | logger=migrator t=2024-01-24T11:36:04.595489398Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-24T11:36:04.596497309Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.021071ms grafana | logger=migrator t=2024-01-24T11:36:04.600717378Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-01-24T11:36:04.601940441Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.222703ms grafana | logger=migrator t=2024-01-24T11:36:04.607786397Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-24T11:36:04.608771659Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=984.622µs grafana | logger=migrator t=2024-01-24T11:36:04.612786084Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-24T11:36:04.613724995Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=938.391µs grafana | logger=migrator t=2024-01-24T11:36:04.61861388Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-24T11:36:04.6203126Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.70116ms grafana | logger=migrator t=2024-01-24T11:36:04.625545469Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-24T11:36:04.626492099Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=946.68µs grafana | logger=migrator t=2024-01-24T11:36:04.630397453Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-24T11:36:04.630463494Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=66.531µs grafana | logger=migrator t=2024-01-24T11:36:04.636001917Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-01-24T11:36:04.637542535Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.541908ms grafana | logger=migrator t=2024-01-24T11:36:04.642818855Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-24T11:36:04.643652464Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=835.26µs grafana | logger=migrator t=2024-01-24T11:36:04.650636863Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-24T11:36:04.65213416Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.496887ms grafana | logger=migrator t=2024-01-24T11:36:04.655071883Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-24T11:36:04.655992064Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=920.481µs grafana | logger=migrator t=2024-01-24T11:36:04.660749787Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-24T11:36:04.66098867Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=239.293µs grafana | logger=migrator t=2024-01-24T11:36:04.665652833Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-24T11:36:04.666140008Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=488.455µs grafana | logger=migrator t=2024-01-24T11:36:04.670926773Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-01-24T11:36:04.671005294Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=82.501µs grafana | logger=migrator t=2024-01-24T11:36:04.674183059Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-01-24T11:36:04.674915108Z level=info msg="Migration successfully executed" id="create team table" duration=731.738µs grafana | logger=migrator t=2024-01-24T11:36:04.680717253Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-24T11:36:04.682243781Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.526418ms grafana | logger=migrator t=2024-01-24T11:36:04.686487538Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-24T11:36:04.687879595Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.391297ms grafana | logger=migrator t=2024-01-24T11:36:04.691499255Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-24T11:36:04.696142308Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.648723ms grafana | logger=migrator t=2024-01-24T11:36:04.701118865Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-24T11:36:04.701302957Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=184.222µs grafana | logger=migrator t=2024-01-24T11:36:04.706001739Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-24T11:36:04.707615408Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.606509ms grafana | logger=migrator t=2024-01-24T11:36:04.712437673Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-24T11:36:04.713564425Z level=info msg="Migration successfully executed" id="create team member table" duration=1.127682ms grafana | logger=migrator t=2024-01-24T11:36:04.718620833Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-24T11:36:04.719910917Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.289424ms grafana | logger=migrator t=2024-01-24T11:36:04.725185647Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-24T11:36:04.726241719Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.061912ms grafana | logger=migrator t=2024-01-24T11:36:04.730716129Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-24T11:36:04.732381299Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.65616ms grafana | logger=migrator t=2024-01-24T11:36:04.794401831Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-24T11:36:04.802609614Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=8.209283ms grafana | logger=migrator t=2024-01-24T11:36:04.809700834Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-24T11:36:04.812975792Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.274798ms grafana | logger=migrator t=2024-01-24T11:36:04.817530333Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-24T11:36:04.82258936Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.059137ms grafana | logger=migrator t=2024-01-24T11:36:04.826014579Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-24T11:36:04.826866539Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=851.66µs grafana | logger=migrator t=2024-01-24T11:36:04.831478091Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-24T11:36:04.832498543Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.020282ms grafana | logger=migrator t=2024-01-24T11:36:04.835937311Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-24T11:36:04.837031633Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.094092ms grafana | logger=migrator t=2024-01-24T11:36:04.841513575Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-24T11:36:04.842500415Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=991.81µs grafana | logger=migrator t=2024-01-24T11:36:04.846934096Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-24T11:36:04.847862716Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=907.18µs grafana | logger=migrator t=2024-01-24T11:36:04.850618987Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-24T11:36:04.851500267Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=881.04µs grafana | logger=migrator t=2024-01-24T11:36:04.855624234Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-01-24T11:36:04.856535944Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=914.71µs grafana | logger=migrator t=2024-01-24T11:36:04.859355546Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-24T11:36:04.860233007Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=876.661µs grafana | logger=migrator t=2024-01-24T11:36:04.863052749Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-24T11:36:04.863517174Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=464.355µs grafana | logger=migrator t=2024-01-24T11:36:04.871813498Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-24T11:36:04.872116101Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=304.953µs grafana | logger=migrator t=2024-01-24T11:36:04.875318387Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-01-24T11:36:04.876019995Z level=info msg="Migration successfully executed" id="create tag table" duration=700.928µs grafana | logger=migrator t=2024-01-24T11:36:04.879258482Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-24T11:36:04.880228413Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=969.441µs grafana | logger=migrator t=2024-01-24T11:36:04.884548372Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-24T11:36:04.88529934Z level=info msg="Migration successfully executed" id="create login attempt table" duration=750.698µs grafana | logger=migrator t=2024-01-24T11:36:04.888549577Z level=info msg="Executing migration" id="add index login_attempt.username" 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 | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | 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 | grafana | logger=migrator t=2024-01-24T11:36:04.889955963Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.405376ms grafana | logger=migrator t=2024-01-24T11:36:04.893594524Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-24T11:36:04.895177072Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.582238ms grafana | logger=migrator t=2024-01-24T11:36:04.899391989Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-24T11:36:04.916484404Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.091945ms grafana | logger=migrator t=2024-01-24T11:36:04.919943703Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-24T11:36:04.920504929Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=561.076µs grafana | logger=migrator t=2024-01-24T11:36:04.92327051Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-24T11:36:04.923981108Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=710.328µs grafana | logger=migrator t=2024-01-24T11:36:04.928089475Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-24T11:36:04.928476809Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=386.934µs grafana | logger=migrator t=2024-01-24T11:36:04.931438003Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-24T11:36:04.93212106Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=682.767µs grafana | logger=migrator t=2024-01-24T11:36:04.934671089Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-24T11:36:04.935979225Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.308336ms grafana | logger=migrator t=2024-01-24T11:36:04.940265013Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-24T11:36:04.941601268Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.336825ms grafana | logger=migrator t=2024-01-24T11:36:04.944814215Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-24T11:36:04.944947756Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=127.061µs grafana | logger=migrator t=2024-01-24T11:36:04.948178422Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-24T11:36:04.95507346Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.892528ms grafana | logger=migrator t=2024-01-24T11:36:04.959311739Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-24T11:36:04.964372536Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.060037ms grafana | logger=migrator t=2024-01-24T11:36:04.967517222Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-24T11:36:04.972025282Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.50711ms grafana | logger=migrator t=2024-01-24T11:36:04.97530529Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-01-24T11:36:04.980346176Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.040366ms grafana | logger=migrator t=2024-01-24T11:36:04.984967969Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-01-24T11:36:04.9859422Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=973.701µs grafana | logger=migrator t=2024-01-24T11:36:04.989232118Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-01-24T11:36:04.994341415Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.108387ms grafana | logger=migrator t=2024-01-24T11:36:04.997616713Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-24T11:36:04.998891037Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.273194ms grafana | logger=migrator t=2024-01-24T11:36:05.003440971Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-01-24T11:36:05.004341343Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=900.422µs grafana | logger=migrator t=2024-01-24T11:36:05.007560145Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-01-24T11:36:05.008349965Z level=info msg="Migration successfully executed" id="create user auth token table" duration=789.7µs grafana | logger=migrator t=2024-01-24T11:36:05.01169748Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-01-24T11:36:05.012712123Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.014423ms grafana | logger=migrator t=2024-01-24T11:36:05.018224965Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-01-24T11:36:05.02168438Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=3.402395ms grafana | logger=migrator t=2024-01-24T11:36:05.029984679Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-01-24T11:36:05.031017662Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.034933ms grafana | logger=migrator t=2024-01-24T11:36:05.039039858Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-01-24T11:36:05.050033562Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=10.994294ms grafana | logger=migrator t=2024-01-24T11:36:05.060863234Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-01-24T11:36:05.062197332Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.334768ms grafana | logger=migrator t=2024-01-24T11:36:05.069362455Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-01-24T11:36:05.070347609Z level=info msg="Migration successfully executed" id="create cache_data table" duration=985.114µs grafana | logger=migrator t=2024-01-24T11:36:05.079118714Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-01-24T11:36:05.080881696Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.765182ms grafana | logger=migrator t=2024-01-24T11:36:05.088335884Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-01-24T11:36:05.089206426Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=868.421µs grafana | logger=migrator t=2024-01-24T11:36:05.098194723Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-01-24T11:36:05.10022354Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=2.028547ms grafana | logger=migrator t=2024-01-24T11:36:05.105327057Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-01-24T11:36:05.105414988Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=88.681µs grafana | logger=migrator t=2024-01-24T11:36:05.111038482Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-01-24T11:36:05.111184144Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=147.892µs grafana | logger=migrator t=2024-01-24T11:36:05.11540914Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-01-24T11:36:05.116413973Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.005453ms grafana | logger=migrator t=2024-01-24T11:36:05.119542394Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-24T11:36:05.120607807Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.064574ms grafana | logger=migrator t=2024-01-24T11:36:05.126599677Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-24T11:36:05.128197917Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.598581ms grafana | logger=migrator t=2024-01-24T11:36:05.132510864Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-24T11:36:05.132748007Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=238.573µs grafana | logger=migrator t=2024-01-24T11:36:05.136090861Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-24T11:36:05.13756805Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.477669ms grafana | logger=migrator t=2024-01-24T11:36:05.140365757Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-24T11:36:05.141508482Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.142285ms grafana | logger=migrator t=2024-01-24T11:36:05.14596142Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-24T11:36:05.147155906Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.194656ms grafana | logger=migrator t=2024-01-24T11:36:05.149825121Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-24T11:36:05.151025126Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.199825ms grafana | logger=migrator t=2024-01-24T11:36:05.156957664Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-01-24T11:36:05.16573163Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.771816ms grafana | logger=migrator t=2024-01-24T11:36:05.169990245Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-01-24T11:36:05.171387484Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.421039ms grafana | logger=migrator t=2024-01-24T11:36:05.176248277Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-01-24T11:36:05.176385679Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=138.202µs grafana | logger=migrator t=2024-01-24T11:36:05.185472288Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-01-24T11:36:05.186588703Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.118435ms grafana | logger=migrator t=2024-01-24T11:36:05.229501415Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-01-24T11:36:05.23138612Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.886915ms grafana | logger=migrator t=2024-01-24T11:36:05.289157998Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-01-24T11:36:05.291186064Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=2.032106ms grafana | logger=migrator t=2024-01-24T11:36:05.29622056Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-24T11:36:05.296309591Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=90.871µs grafana | logger=migrator t=2024-01-24T11:36:05.301702322Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-01-24T11:36:05.30304812Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.348368ms grafana | logger=migrator t=2024-01-24T11:36:05.308052895Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-01-24T11:36:05.309090539Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.033514ms grafana | logger=migrator t=2024-01-24T11:36:05.312860748Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-01-24T11:36:05.314223077Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.361419ms grafana | logger=migrator t=2024-01-24T11:36:05.321305929Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-01-24T11:36:05.32216641Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=858.741µs grafana | logger=migrator t=2024-01-24T11:36:05.325299412Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-01-24T11:36:05.33123224Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.929888ms grafana | logger=migrator t=2024-01-24T11:36:05.336640291Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-24T11:36:05.341471453Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=4.828592ms grafana | logger=migrator t=2024-01-24T11:36:05.376220439Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-24T11:36:05.377668418Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.450709ms grafana | logger=migrator t=2024-01-24T11:36:05.380995001Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-01-24T11:36:05.417720744Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.723993ms grafana | logger=migrator t=2024-01-24T11:36:05.420372378Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-01-24T11:36:05.455546699Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.170181ms grafana | logger=migrator t=2024-01-24T11:36:05.460465114Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-24T11:36:05.461314865Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=849.511µs grafana | logger=migrator t=2024-01-24T11:36:05.463737597Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-24T11:36:05.464518267Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=780.49µs grafana | logger=migrator t=2024-01-24T11:36:05.467340924Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-01-24T11:36:05.473251521Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.910077ms grafana | logger=migrator t=2024-01-24T11:36:05.478710433Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-01-24T11:36:05.487559369Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=8.848776ms grafana | logger=migrator t=2024-01-24T11:36:05.491237558Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-01-24T11:36:05.49223779Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=999.912µs grafana | logger=migrator t=2024-01-24T11:36:05.496897112Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-01-24T11:36:05.498070417Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.173335ms grafana | logger=migrator t=2024-01-24T11:36:05.503716401Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-01-24T11:36:05.505584956Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.865364ms grafana | logger=migrator t=2024-01-24T11:36:05.508639866Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-01-24T11:36:05.509830431Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.190145ms grafana | logger=migrator t=2024-01-24T11:36:05.512553996Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-24T11:36:05.512714329Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=160.212µs grafana | logger=migrator t=2024-01-24T11:36:05.516990075Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-01-24T11:36:05.523610341Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.614956ms grafana | logger=migrator t=2024-01-24T11:36:05.526817813Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-01-24T11:36:05.53111316Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.295467ms grafana | logger=migrator t=2024-01-24T11:36:05.533996828Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-01-24T11:36:05.540025027Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.027419ms grafana | logger=migrator t=2024-01-24T11:36:05.545112774Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-01-24T11:36:05.546307139Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.194095ms grafana | logger=migrator t=2024-01-24T11:36:05.549463261Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-01-24T11:36:05.550883249Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.417868ms grafana | logger=migrator t=2024-01-24T11:36:05.554044651Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-01-24T11:36:05.561518339Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.474398ms grafana | logger=migrator t=2024-01-24T11:36:05.567794041Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-01-24T11:36:05.578620893Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=10.824972ms grafana | logger=migrator t=2024-01-24T11:36:05.583364896Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-01-24T11:36:05.584405809Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.042163ms grafana | logger=migrator t=2024-01-24T11:36:05.587233126Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-01-24T11:36:05.595613946Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=8.3801ms grafana | logger=migrator t=2024-01-24T11:36:05.598706296Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-01-24T11:36:05.603166265Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.461969ms grafana | logger=migrator t=2024-01-24T11:36:05.608037948Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-01-24T11:36:05.608141381Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=104.972µs grafana | logger=migrator t=2024-01-24T11:36:05.610381619Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-01-24T11:36:05.611470224Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.088255ms grafana | logger=migrator t=2024-01-24T11:36:05.614620725Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-01-24T11:36:05.615847231Z 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.225106ms grafana | logger=migrator t=2024-01-24T11:36:05.621297052Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-01-24T11:36:05.623025126Z 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.723693ms grafana | logger=migrator t=2024-01-24T11:36:05.626815835Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-24T11:36:05.627041588Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=225.663µs grafana | logger=migrator t=2024-01-24T11:36:05.630568155Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-01-24T11:36:05.63709148Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.522855ms grafana | logger=migrator t=2024-01-24T11:36:05.64321072Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-01-24T11:36:05.649718945Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.507095ms grafana | logger=migrator t=2024-01-24T11:36:05.652533392Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-01-24T11:36:05.658954817Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.420895ms grafana | logger=migrator t=2024-01-24T11:36:05.66224856Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-01-24T11:36:05.668676904Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.427184ms grafana | logger=migrator t=2024-01-24T11:36:05.673946013Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-01-24T11:36:05.680250155Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.303182ms grafana | logger=migrator t=2024-01-24T11:36:05.683547379Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 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 grafana | logger=migrator t=2024-01-24T11:36:05.683596789Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=50.351µs grafana | logger=migrator t=2024-01-24T11:36:05.686051961Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-01-24T11:36:05.68663618Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=584.089µs grafana | logger=migrator t=2024-01-24T11:36:05.690549221Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-01-24T11:36:05.699771591Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.22013ms grafana | logger=migrator t=2024-01-24T11:36:05.703583882Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-01-24T11:36:05.703638763Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=55.911µs grafana | logger=migrator t=2024-01-24T11:36:05.706304018Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-01-24T11:36:05.713457381Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=7.147633ms grafana | logger=migrator t=2024-01-24T11:36:05.717651157Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-01-24T11:36:05.71868648Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.035504ms grafana | logger=migrator t=2024-01-24T11:36:05.721996623Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-01-24T11:36:05.728939164Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.942571ms grafana | logger=migrator t=2024-01-24T11:36:05.732379619Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-01-24T11:36:05.733057648Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=675.829µs grafana | logger=migrator t=2024-01-24T11:36:05.736228579Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-01-24T11:36:05.737184573Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=953.484µs grafana | logger=migrator t=2024-01-24T11:36:05.741511239Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-01-24T11:36:05.747531618Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.021709ms grafana | logger=migrator t=2024-01-24T11:36:05.751570421Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-01-24T11:36:05.752840977Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.270176ms grafana | logger=migrator t=2024-01-24T11:36:05.757325997Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-01-24T11:36:05.75913296Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.807263ms grafana | logger=migrator t=2024-01-24T11:36:05.765065688Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-01-24T11:36:05.766050971Z level=info msg="Migration successfully executed" id="create alert_image table" duration=985.403µs grafana | logger=migrator t=2024-01-24T11:36:05.769287733Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-01-24T11:36:05.771408631Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=2.123658ms grafana | logger=migrator t=2024-01-24T11:36:05.774863276Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-01-24T11:36:05.774973608Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=111.442µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-24T11:36:05.780032774Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-01-24T11:36:05.781077248Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.044123ms grafana | logger=migrator t=2024-01-24T11:36:05.784782927Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-01-24T11:36:05.785774979Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=991.782µs grafana | logger=migrator t=2024-01-24T11:36:05.788801679Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-24T11:36:05.789218954Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-24T11:36:05.793246198Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-01-24T11:36:05.793685353Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=438.535µs grafana | logger=migrator t=2024-01-24T11:36:05.796583621Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-01-24T11:36:05.797588734Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.004453ms grafana | logger=migrator t=2024-01-24T11:36:05.800663634Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-01-24T11:36:05.807442304Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.77501ms grafana | logger=migrator t=2024-01-24T11:36:05.811492576Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-01-24T11:36:05.812308297Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=815.651µs grafana | logger=migrator t=2024-01-24T11:36:05.815365427Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-01-24T11:36:05.816231739Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=866.302µs grafana | logger=migrator t=2024-01-24T11:36:05.819303529Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-01-24T11:36:05.82017597Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=872.151µs grafana | logger=migrator t=2024-01-24T11:36:05.824285805Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-01-24T11:36:05.825358578Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.069933ms grafana | logger=migrator t=2024-01-24T11:36:05.828432029Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-01-24T11:36:05.829481873Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.049124ms grafana | logger=migrator t=2024-01-24T11:36:05.832525683Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-01-24T11:36:05.832562963Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=38.34µs grafana | logger=migrator t=2024-01-24T11:36:05.836442124Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-01-24T11:36:05.836518345Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=79.331µs grafana | logger=migrator t=2024-01-24T11:36:05.839522564Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-01-24T11:36:05.839949259Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=426.865µs grafana | logger=migrator t=2024-01-24T11:36:05.842554644Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-01-24T11:36:05.844130395Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.575261ms grafana | logger=migrator t=2024-01-24T11:36:05.847450338Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-01-24T11:36:05.848838436Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.387868ms grafana | logger=migrator t=2024-01-24T11:36:05.853074442Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-01-24T11:36:05.900584405Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.508123ms grafana | logger=migrator t=2024-01-24T11:36:05.90406233Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-01-24T11:36:05.909543732Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.477512ms grafana | logger=migrator t=2024-01-24T11:36:05.913047388Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-01-24T11:36:05.91324911Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=201.352µs grafana | logger=migrator t=2024-01-24T11:36:05.917682409Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-01-24T11:36:05.966044533Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=48.358054ms grafana | logger=migrator t=2024-01-24T11:36:05.970413821Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-01-24T11:36:06.018560982Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=48.137901ms grafana | logger=migrator t=2024-01-24T11:36:06.021916305Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-01-24T11:36:06.022873209Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=956.794µs grafana | logger=migrator t=2024-01-24T11:36:06.027434588Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-01-24T11:36:06.028574233Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.136945ms grafana | logger=migrator t=2024-01-24T11:36:06.031728855Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-01-24T11:36:06.032060299Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=331.304µs grafana | logger=migrator t=2024-01-24T11:36:06.03518612Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-01-24T11:36:06.036155882Z level=info msg="Migration successfully executed" id="create permission table" duration=971.262µs policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:12 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:12 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:12 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:12 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:12 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:12 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:13 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:14 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:15 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:16 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:16 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:16 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:16 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:16 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:16 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:16 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:16 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:16 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:16 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:17 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:17 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:17 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:17 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:17 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:17 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:17 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:17 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:17 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:17 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:17 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:17 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:18 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:18 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:18 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:18 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:18 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:18 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:18 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:18 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:19 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:19 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:19 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:20 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:20 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:20 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:20 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:20 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:20 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:20 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2401241136120800u 1 2024-01-24 11:36:20 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:20 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:20 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:20 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:20 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:20 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:20 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:20 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:20 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:20 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:21 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:21 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:21 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2401241136120900u 1 2024-01-24 11:36:21 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2401241136121000u 1 2024-01-24 11:36:21 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2401241136121000u 1 2024-01-24 11:36:21 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2401241136121000u 1 2024-01-24 11:36:21 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2401241136121000u 1 2024-01-24 11:36:21 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2401241136121000u 1 2024-01-24 11:36:21 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2401241136121000u 1 2024-01-24 11:36:21 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2401241136121000u 1 2024-01-24 11:36:21 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2401241136121000u 1 2024-01-24 11:36:21 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2401241136121000u 1 2024-01-24 11:36:21 grafana | logger=migrator t=2024-01-24T11:36:06.042167011Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-01-24T11:36:06.043959545Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.792724ms grafana | logger=migrator t=2024-01-24T11:36:06.047775134Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-01-24T11:36:06.049045522Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.271037ms grafana | logger=migrator t=2024-01-24T11:36:06.052256553Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-01-24T11:36:06.053278167Z level=info msg="Migration successfully executed" id="create role table" duration=1.020283ms grafana | logger=migrator t=2024-01-24T11:36:06.056343547Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-01-24T11:36:06.063840445Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.496378ms grafana | logger=migrator t=2024-01-24T11:36:06.0679937Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-01-24T11:36:06.073978229Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.967758ms grafana | logger=migrator t=2024-01-24T11:36:06.105115567Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-01-24T11:36:06.107367386Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=2.242649ms grafana | logger=migrator t=2024-01-24T11:36:06.112176459Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-01-24T11:36:06.113327354Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.148275ms grafana | logger=migrator t=2024-01-24T11:36:06.118043467Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-01-24T11:36:06.119414154Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.370547ms grafana | logger=migrator t=2024-01-24T11:36:06.122760468Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-01-24T11:36:06.123867963Z level=info msg="Migration successfully executed" id="create team role table" duration=1.107405ms grafana | logger=migrator t=2024-01-24T11:36:06.128138478Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-01-24T11:36:06.129429786Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.290868ms grafana | logger=migrator t=2024-01-24T11:36:06.134247748Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-01-24T11:36:06.135712978Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.46544ms grafana | logger=migrator t=2024-01-24T11:36:06.139027371Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-01-24T11:36:06.140239127Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.211226ms grafana | logger=migrator t=2024-01-24T11:36:06.144174769Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-01-24T11:36:06.14501072Z level=info msg="Migration successfully executed" id="create user role table" duration=835.281µs grafana | logger=migrator t=2024-01-24T11:36:06.148416664Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-01-24T11:36:06.150186368Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.769444ms grafana | logger=migrator t=2024-01-24T11:36:06.15346233Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-01-24T11:36:06.154716257Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.253157ms grafana | logger=migrator t=2024-01-24T11:36:06.157826638Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-01-24T11:36:06.158945742Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.119124ms grafana | logger=migrator t=2024-01-24T11:36:06.165416797Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-01-24T11:36:06.16637929Z level=info msg="Migration successfully executed" id="create builtin role table" duration=960.533µs grafana | logger=migrator t=2024-01-24T11:36:06.170744667Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-01-24T11:36:06.17251957Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.773673ms grafana | logger=migrator t=2024-01-24T11:36:06.176642804Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-01-24T11:36:06.178444738Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.801564ms grafana | logger=migrator t=2024-01-24T11:36:06.184194963Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-01-24T11:36:06.192134588Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.939205ms grafana | logger=migrator t=2024-01-24T11:36:06.195106717Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-01-24T11:36:06.196385163Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.277676ms grafana | logger=migrator t=2024-01-24T11:36:06.199507905Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-01-24T11:36:06.200630249Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.122044ms grafana | logger=migrator t=2024-01-24T11:36:06.204500399Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-01-24T11:36:06.205615135Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.114386ms grafana | logger=migrator t=2024-01-24T11:36:06.208446102Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-01-24T11:36:06.209537826Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.093284ms grafana | logger=migrator t=2024-01-24T11:36:06.212453044Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-01-24T11:36:06.213222774Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=768.92µs grafana | logger=migrator t=2024-01-24T11:36:06.217146306Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-01-24T11:36:06.218412182Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.265286ms grafana | logger=migrator t=2024-01-24T11:36:06.221901528Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-01-24T11:36:06.233310308Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.40829ms policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2401241136121100u 1 2024-01-24 11:36:21 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2401241136121200u 1 2024-01-24 11:36:21 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2401241136121200u 1 2024-01-24 11:36:21 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2401241136121200u 1 2024-01-24 11:36:21 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2401241136121200u 1 2024-01-24 11:36:21 policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2024-01-24T11:36:06.259630883Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-01-24T11:36:06.271938224Z level=info msg="Migration successfully executed" id="permission kind migration" duration=12.308961ms grafana | logger=migrator t=2024-01-24T11:36:06.275653583Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-01-24T11:36:06.281597411Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.942048ms grafana | logger=migrator t=2024-01-24T11:36:06.28539249Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-01-24T11:36:06.293670149Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.277339ms grafana | logger=migrator t=2024-01-24T11:36:06.302265541Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-01-24T11:36:06.303531399Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.265438ms grafana | logger=migrator t=2024-01-24T11:36:06.308534264Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-01-24T11:36:06.30974302Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.212066ms grafana | logger=migrator t=2024-01-24T11:36:06.313423168Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-01-24T11:36:06.314820447Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.397269ms grafana | logger=migrator t=2024-01-24T11:36:06.318595566Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-01-24T11:36:06.318678537Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=82.861µs grafana | logger=migrator t=2024-01-24T11:36:06.35246721Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-01-24T11:36:06.35252411Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=61.25µs grafana | logger=migrator t=2024-01-24T11:36:06.355868044Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-01-24T11:36:06.356494973Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=626.479µs grafana | logger=migrator t=2024-01-24T11:36:06.3601234Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-01-24T11:36:06.360820049Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=697.829µs grafana | logger=migrator t=2024-01-24T11:36:06.364091312Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-01-24T11:36:06.364881943Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=790.181µs grafana | logger=migrator t=2024-01-24T11:36:06.369832057Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-01-24T11:36:06.370132302Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=299.255µs grafana | logger=migrator t=2024-01-24T11:36:06.373486446Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-01-24T11:36:06.373917411Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=429.895µs grafana | logger=migrator t=2024-01-24T11:36:06.378255058Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-01-24T11:36:06.379238061Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=983.193µs grafana | logger=migrator t=2024-01-24T11:36:06.40509496Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-01-24T11:36:06.407226768Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.132648ms grafana | logger=migrator t=2024-01-24T11:36:06.412646079Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-01-24T11:36:06.422764201Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.113542ms grafana | logger=migrator t=2024-01-24T11:36:06.426606462Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-01-24T11:36:06.426781005Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=177.383µs grafana | logger=migrator t=2024-01-24T11:36:06.430067758Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-01-24T11:36:06.43174284Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.668041ms grafana | logger=migrator t=2024-01-24T11:36:06.436252068Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-01-24T11:36:06.437511396Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.259227ms grafana | logger=migrator t=2024-01-24T11:36:06.441994474Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-01-24T11:36:06.443092199Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.097975ms grafana | logger=migrator t=2024-01-24T11:36:06.446547794Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-01-24T11:36:06.452910957Z level=info msg="Migration successfully executed" id="add correlation config column" duration=6.361313ms grafana | logger=migrator t=2024-01-24T11:36:06.457215204Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-01-24T11:36:06.458920476Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.707462ms grafana | logger=migrator t=2024-01-24T11:36:06.462797597Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-01-24T11:36:06.463728889Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=931.362µs grafana | logger=migrator t=2024-01-24T11:36:06.466957291Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-24T11:36:06.499497698Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=32.519907ms grafana | logger=migrator t=2024-01-24T11:36:06.533275461Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-01-24T11:36:06.534233913Z level=info msg="Migration successfully executed" id="create correlation v2" duration=959.382µs grafana | logger=migrator t=2024-01-24T11:36:06.537890511Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-01-24T11:36:06.540011639Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.115848ms grafana | logger=migrator t=2024-01-24T11:36:06.544879773Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-01-24T11:36:06.546756678Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.876845ms grafana | logger=migrator t=2024-01-24T11:36:06.550299764Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-01-24T11:36:06.551691532Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.390248ms grafana | logger=migrator t=2024-01-24T11:36:06.555012216Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-01-24T11:36:06.555384661Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=372.405µs grafana | logger=migrator t=2024-01-24T11:36:06.559521575Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-01-24T11:36:06.560594228Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.070213ms grafana | logger=migrator t=2024-01-24T11:36:06.563772831Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-01-24T11:36:06.572521076Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.747605ms grafana | logger=migrator t=2024-01-24T11:36:06.575995321Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-01-24T11:36:06.576793911Z level=info msg="Migration successfully executed" id="create entity_events table" duration=810.68µs grafana | logger=migrator t=2024-01-24T11:36:06.581203749Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-01-24T11:36:06.582911931Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.706962ms grafana | logger=migrator t=2024-01-24T11:36:06.587329879Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-24T11:36:06.587898037Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-24T11:36:06.590210597Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-24T11:36:06.590748504Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-24T11:36:06.594817698Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-01-24T11:36:06.595681849Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=863.691µs grafana | logger=migrator t=2024-01-24T11:36:06.599329177Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-01-24T11:36:06.60033735Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.008294ms grafana | logger=migrator t=2024-01-24T11:36:06.603628963Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-24T11:36:06.604886829Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.257956ms grafana | logger=migrator t=2024-01-24T11:36:06.608920833Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-24T11:36:06.610215139Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.293976ms grafana | logger=migrator t=2024-01-24T11:36:06.613416131Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-24T11:36:06.614589157Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.172816ms grafana | logger=migrator t=2024-01-24T11:36:06.618236525Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-24T11:36:06.619303338Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.066493ms grafana | logger=migrator t=2024-01-24T11:36:06.623709877Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-01-24T11:36:06.62474051Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.030514ms grafana | logger=migrator t=2024-01-24T11:36:06.628380548Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-01-24T11:36:06.629433702Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.051763ms grafana | logger=migrator t=2024-01-24T11:36:06.633449495Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-24T11:36:06.63462293Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.172745ms grafana | logger=migrator t=2024-01-24T11:36:06.638025244Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-24T11:36:06.639342112Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.316078ms grafana | logger=migrator t=2024-01-24T11:36:06.644233745Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-01-24T11:36:06.645383631Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.149886ms grafana | logger=migrator t=2024-01-24T11:36:06.651138216Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-01-24T11:36:06.685057731Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.919865ms grafana | logger=migrator t=2024-01-24T11:36:06.688364044Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-01-24T11:36:06.694701997Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.339443ms grafana | logger=migrator t=2024-01-24T11:36:06.697682096Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-01-24T11:36:06.706880267Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.200941ms grafana | logger=migrator t=2024-01-24T11:36:06.711524168Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-01-24T11:36:06.711831542Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=307.003µs grafana | logger=migrator t=2024-01-24T11:36:06.715714903Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-01-24T11:36:06.72849259Z level=info msg="Migration successfully executed" id="add share column" duration=12.774607ms grafana | logger=migrator t=2024-01-24T11:36:06.733186222Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-01-24T11:36:06.733438025Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=251.143µs grafana | logger=migrator t=2024-01-24T11:36:06.737980295Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-01-24T11:36:06.739097229Z level=info msg="Migration successfully executed" id="create file table" duration=1.116644ms grafana | logger=migrator t=2024-01-24T11:36:06.742711147Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-01-24T11:36:06.743641779Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=931.682µs grafana | logger=migrator t=2024-01-24T11:36:06.746541247Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-01-24T11:36:06.747440469Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=899.392µs grafana | logger=migrator t=2024-01-24T11:36:06.749891171Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-01-24T11:36:06.750787852Z level=info msg="Migration successfully executed" id="create file_meta table" duration=895.891µs grafana | logger=migrator t=2024-01-24T11:36:06.754925637Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-01-24T11:36:06.756208344Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.282807ms grafana | logger=migrator t=2024-01-24T11:36:06.761168899Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-01-24T11:36:06.761429622Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=259.573µs grafana | logger=migrator t=2024-01-24T11:36:06.766096874Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-01-24T11:36:06.766303106Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=207.092µs grafana | logger=migrator t=2024-01-24T11:36:06.77045276Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-01-24T11:36:06.771079429Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=626.109µs grafana | logger=migrator t=2024-01-24T11:36:06.773997327Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-01-24T11:36:06.774296041Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=297.944µs grafana | logger=migrator t=2024-01-24T11:36:06.777502133Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-24T11:36:06.779057023Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.55459ms grafana | logger=migrator t=2024-01-24T11:36:06.783038376Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-24T11:36:06.794567757Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.533391ms grafana | logger=migrator t=2024-01-24T11:36:06.81838477Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-24T11:36:06.818901186Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=517.016µs grafana | logger=migrator t=2024-01-24T11:36:06.822473593Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-24T11:36:06.824097014Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.621751ms grafana | logger=migrator t=2024-01-24T11:36:06.827513199Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-24T11:36:06.82833634Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=825.691µs grafana | logger=migrator t=2024-01-24T11:36:06.832705437Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-24T11:36:06.832994781Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=289.164µs grafana | logger=migrator t=2024-01-24T11:36:06.836251814Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-24T11:36:06.836801161Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=552.967µs grafana | logger=migrator t=2024-01-24T11:36:06.840179725Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-24T11:36:06.852474376Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.299271ms grafana | logger=migrator t=2024-01-24T11:36:06.855521046Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-24T11:36:06.863320679Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.798933ms grafana | logger=migrator t=2024-01-24T11:36:06.86807763Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-24T11:36:06.869321727Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.246987ms grafana | logger=migrator t=2024-01-24T11:36:06.8725976Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-24T11:36:06.991738052Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=119.129622ms grafana | logger=migrator t=2024-01-24T11:36:06.995277569Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-24T11:36:06.996672527Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.394528ms grafana | logger=migrator t=2024-01-24T11:36:07.001287388Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-24T11:36:07.002598834Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.310896ms grafana | logger=migrator t=2024-01-24T11:36:07.00602132Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-24T11:36:07.04195265Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.93127ms grafana | logger=migrator t=2024-01-24T11:36:07.046585791Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-24T11:36:07.046812974Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=226.963µs grafana | logger=migrator t=2024-01-24T11:36:07.049448909Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-24T11:36:07.049656342Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=207.453µs grafana | logger=migrator t=2024-01-24T11:36:07.052123844Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-01-24T11:36:07.052412388Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=288.284µs grafana | logger=migrator t=2024-01-24T11:36:07.055954504Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-24T11:36:07.057426904Z level=info msg="Migration successfully executed" id="create folder table" duration=1.47186ms grafana | logger=migrator t=2024-01-24T11:36:07.062011673Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-24T11:36:07.063357651Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.343668ms grafana | logger=migrator t=2024-01-24T11:36:07.066439752Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-24T11:36:07.067664878Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.224436ms grafana | logger=migrator t=2024-01-24T11:36:07.114135997Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-24T11:36:07.114197658Z level=info msg="Migration successfully executed" id="Update folder title length" duration=66.961µs grafana | logger=migrator t=2024-01-24T11:36:07.117934416Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-24T11:36:07.120293888Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.359962ms grafana | logger=migrator t=2024-01-24T11:36:07.123966356Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-24T11:36:07.125177692Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.211306ms grafana | logger=migrator t=2024-01-24T11:36:07.12809888Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-24T11:36:07.129361937Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.262907ms grafana | logger=migrator t=2024-01-24T11:36:07.1334262Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-01-24T11:36:07.133855886Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=429.476µs grafana | logger=migrator t=2024-01-24T11:36:07.136431089Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-01-24T11:36:07.136808394Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=377.455µs grafana | logger=migrator t=2024-01-24T11:36:07.13950347Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-24T11:36:07.140436581Z level=info msg="Migration successfully executed" id="create anon_device table" duration=933.651µs grafana | logger=migrator t=2024-01-24T11:36:07.144235342Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-24T11:36:07.145524548Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.290796ms grafana | logger=migrator t=2024-01-24T11:36:07.148400626Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-24T11:36:07.149635063Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.237367ms grafana | logger=migrator t=2024-01-24T11:36:07.153135528Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-24T11:36:07.15406197Z level=info msg="Migration successfully executed" id="create signing_key table" duration=926.542µs grafana | logger=migrator t=2024-01-24T11:36:07.156996499Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-24T11:36:07.158302106Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.304957ms grafana | logger=migrator t=2024-01-24T11:36:07.161582739Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-24T11:36:07.162876206Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.293567ms grafana | logger=migrator t=2024-01-24T11:36:07.166759347Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-24T11:36:07.167131932Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=373.935µs grafana | logger=migrator t=2024-01-24T11:36:07.170177652Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-24T11:36:07.180396366Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.218844ms grafana | logger=migrator t=2024-01-24T11:36:07.203929254Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-24T11:36:07.20508756Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=1.160826ms grafana | logger=migrator t=2024-01-24T11:36:07.208571206Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-24T11:36:07.210532762Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.960336ms grafana | logger=migrator t=2024-01-24T11:36:07.214910508Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-24T11:36:07.21582908Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=918.312µs grafana | logger=migrator t=2024-01-24T11:36:07.220262199Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-24T11:36:07.221008328Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=746.219µs grafana | logger=migrator t=2024-01-24T11:36:07.223897446Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-24T11:36:07.224310411Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=412.525µs grafana | logger=migrator t=2024-01-24T11:36:07.265608683Z level=info msg="migrations completed" performed=526 skipped=0 duration=7.087437233s grafana | logger=sqlstore t=2024-01-24T11:36:07.277098664Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-24T11:36:07.277424448Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-24T11:36:07.401420754Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-24T11:36:07.421414456Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-24T11:36:07.461608203Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-24T11:36:07.461677464Z level=info msg="Plugins loaded" count=55 duration=40.263628ms grafana | logger=query_data t=2024-01-24T11:36:07.463988804Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-24T11:36:07.475172221Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-24T11:36:07.586729014Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-24T11:36:07.587808198Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-24T11:36:07.588676299Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-24T11:36:07.59029051Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-24T11:36:07.631629693Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-24T11:36:07.634335158Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-24T11:36:07.696102188Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-24T11:36:07.696136209Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-01-24T11:36:07.696866238Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-01-24T11:36:07.696976239Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-01-24T11:36:07.701203635Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.state.manager t=2024-01-24T11:36:07.696650545Z level=info msg="Warming state cache for startup" grafana | logger=grafana-apiserver t=2024-01-24T11:36:07.704482338Z level=info msg="Authentication is disabled" grafana | logger=grafana-apiserver t=2024-01-24T11:36:07.708037244Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana.update.checker t=2024-01-24T11:36:07.726244974Z level=info msg="Update check succeeded" duration=26.948254ms grafana | logger=plugins.update.checker t=2024-01-24T11:36:07.791532159Z level=info msg="Update check succeeded" duration=90.820221ms grafana | logger=sqlstore.transactions t=2024-01-24T11:36:07.856800455Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=ngalert.state.manager t=2024-01-24T11:36:08.187239988Z level=info msg="State cache has been initialized" states=0 duration=490.585333ms grafana | logger=ngalert.scheduler t=2024-01-24T11:36:08.187337969Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-24T11:36:08.18740394Z level=info msg=starting first_tick=2024-01-24T11:36:10Z grafana | logger=infra.usagestats t=2024-01-24T11:37:39.710514783Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-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.OCHz9Dwsxy ]] + rsync -av /tmp/tmp.OCHz9Dwsxy/ /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,445 bytes received 95 bytes 2,695,080.00 bytes/sec total size is 1,346,795 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 2176 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/jenkins3402196478224275761.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16838123804746088911.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/jenkins1900102076973734910.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-LKTK from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-LKTK/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16778027034694188289.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config3808162560898433596tmp 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/jenkins13846919486671349607.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4001976036014653558.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-LKTK from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-LKTK/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11418425391436660981.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8165915722149500501.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-LKTK 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.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-LKTK/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/jenkins15287220809102810519.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-LKTK 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-LKTK/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/250 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-14753 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 826 27451 0 3888 30884 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:b2:de:8b brd ff:ff:ff:ff:ff:ff inet 10.30.107.69/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86032sec preferred_lft 86032sec inet6 fe80::f816:3eff:feb2:de8b/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:40:53:bd:ef 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-14753) 01/24/24 _x86_64_ (8 CPU) 11:32:48 LINUX RESTART (8 CPU) 11:33:02 tps rtps wtps bread/s bwrtn/s 11:34:01 177.04 104.05 72.99 6443.38 54781.63 11:35:01 99.20 16.80 82.40 1222.86 23723.25 11:36:01 200.72 12.48 188.24 1993.00 73715.85 11:37:01 239.24 9.60 229.65 405.30 18723.70 11:38:01 32.98 0.05 32.93 8.93 15098.22 Average: 149.74 28.34 121.40 1999.89 37149.76 11:33:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30208324 31673564 2730896 8.29 55444 1729312 1518068 4.47 897368 1561796 92568 11:35:01 29930144 31699948 3009076 9.14 79256 1992188 1463108 4.30 878608 1821484 131508 11:36:01 28054660 31571800 4884560 14.83 113956 3640284 2593948 7.63 1114660 3343900 720 11:37:01 26674600 30243676 6264620 19.02 125732 3647808 4933556 14.52 2499376 3317244 68 11:38:01 26822300 30414540 6116920 18.57 126060 3674852 3502980 10.31 2354308 3329556 176 Average: 28338006 31120706 4601214 13.97 100090 2936889 2802332 8.25 1548864 2674796 45008 11:33:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 lo 2.17 2.17 0.21 0.21 0.00 0.00 0.00 0.00 11:34:01 ens3 308.93 225.79 1554.15 59.02 0.00 0.00 0.00 0.00 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 1.07 1.07 0.11 0.11 0.00 0.00 0.00 0.00 11:35:01 ens3 44.43 31.64 647.70 6.44 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 vethd6b57be 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 lo 8.93 8.93 0.82 0.82 0.00 0.00 0.00 0.00 11:36:01 br-2d92985e0d5a 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 11:36:01 veth07dc265 0.00 0.18 0.00 0.02 0.00 0.00 0.00 0.00 11:37:01 vethd6b57be 121.45 149.39 119.80 44.71 0.00 0.00 0.00 0.01 11:37:01 lo 8.43 8.43 8.21 8.21 0.00 0.00 0.00 0.00 11:37:01 br-2d92985e0d5a 3.65 4.05 5.94 2.54 0.00 0.00 0.00 0.00 11:37:01 vethd74e886 115.25 95.50 46.50 119.12 0.00 0.00 0.00 0.01 11:38:01 lo 10.41 10.41 0.80 0.80 0.00 0.00 0.00 0.00 11:38:01 br-2d92985e0d5a 1.80 2.12 0.15 0.20 0.00 0.00 0.00 0.00 11:38:01 vethd74e886 1.28 1.38 0.54 0.09 0.00 0.00 0.00 0.00 11:38:01 ens3 651.46 463.02 10947.07 89.79 0.00 0.00 0.00 0.00 Average: lo 6.22 6.22 2.04 2.04 0.00 0.00 0.00 0.00 Average: br-2d92985e0d5a 1.09 1.25 1.22 0.55 0.00 0.00 0.00 0.00 Average: vethd74e886 23.38 19.44 9.44 23.92 0.00 0.00 0.00 0.00 Average: ens3 129.51 91.73 2195.65 17.87 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-14753) 01/24/24 _x86_64_ (8 CPU) 11:32:48 LINUX RESTART (8 CPU) 11:33:02 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 8.95 0.00 1.21 4.67 0.06 85.12 11:34:01 0 3.82 0.00 0.70 0.41 0.02 95.06 11:34:01 1 25.80 0.00 1.55 2.38 0.10 70.17 11:34:01 2 13.29 0.00 1.51 1.51 0.07 83.63 11:34:01 3 10.64 0.00 2.48 1.16 0.05 85.68 11:34:01 4 3.07 0.00 0.78 0.32 0.07 95.75 11:34:01 5 4.68 0.00 0.72 13.40 0.05 81.15 11:34:01 6 7.85 0.00 1.17 17.40 0.05 73.53 11:34:01 7 2.45 0.00 0.77 0.82 0.07 95.90 11:35:01 all 9.96 0.00 0.64 2.85 0.03 86.53 11:35:01 0 0.43 0.00 0.07 0.08 0.00 99.42 11:35:01 1 14.54 0.00 0.63 0.83 0.03 83.95 11:35:01 2 36.76 0.00 2.21 3.96 0.07 57.00 11:35:01 3 15.99 0.00 0.95 7.58 0.05 75.43 11:35:01 4 0.85 0.00 0.18 0.27 0.02 98.68 11:35:01 5 1.65 0.00 0.28 9.19 0.02 88.86 11:35:01 6 9.28 0.00 0.63 0.35 0.02 89.71 11:35:01 7 0.23 0.00 0.12 0.50 0.00 99.15 11:36:01 all 8.97 0.00 2.68 5.93 0.05 82.37 11:36:01 0 6.13 0.00 2.76 0.39 0.03 90.69 11:36:01 1 15.76 0.00 2.71 2.46 0.07 78.99 11:36:01 2 10.50 0.00 2.70 0.81 0.07 85.93 11:36:01 3 5.57 0.00 1.92 14.07 0.05 78.39 11:36:01 4 6.24 0.00 1.53 2.96 0.05 89.23 11:36:01 5 6.20 0.00 2.36 0.89 0.05 90.50 11:36:01 6 13.18 0.00 3.39 1.39 0.07 81.96 11:36:01 7 8.24 0.00 4.06 24.53 0.05 63.12 11:37:01 all 16.79 0.00 2.03 4.65 0.08 76.45 11:37:01 0 22.02 0.00 2.51 2.90 0.08 72.49 11:37:01 1 15.69 0.00 1.69 12.85 0.08 69.68 11:37:01 2 20.09 0.00 2.45 1.80 0.07 75.59 11:37:01 3 13.91 0.00 1.51 9.15 0.05 75.37 11:37:01 4 13.75 0.00 1.61 2.03 0.10 82.51 11:37:01 5 21.97 0.00 2.75 3.86 0.10 71.31 11:37:01 6 12.61 0.00 1.86 3.16 0.07 82.30 11:37:01 7 14.33 0.00 1.81 1.37 0.08 82.40 11:38:01 all 0.86 0.00 0.25 1.27 0.01 97.60 11:38:01 0 0.52 0.00 0.28 0.18 0.02 99.00 11:38:01 1 0.77 0.00 0.20 0.20 0.02 98.81 11:38:01 2 0.60 0.00 0.30 0.08 0.02 99.00 11:38:01 3 1.35 0.00 0.28 0.08 0.02 98.27 11:38:01 4 0.43 0.00 0.17 0.12 0.02 99.27 11:38:01 5 1.79 0.00 0.23 9.29 0.02 88.68 11:38:01 6 0.55 0.00 0.20 0.12 0.02 99.12 11:38:01 7 0.88 0.00 0.33 0.02 0.02 98.75 Average: all 9.10 0.00 1.36 3.86 0.05 85.63 Average: 0 6.58 0.00 1.26 0.79 0.03 91.33 Average: 1 14.47 0.00 1.35 3.75 0.06 80.37 Average: 2 16.26 0.00 1.83 1.63 0.06 80.22 Average: 3 9.49 0.00 1.42 6.41 0.04 82.63 Average: 4 4.87 0.00 0.85 1.14 0.05 93.09 Average: 5 7.24 0.00 1.27 7.32 0.05 84.13 Average: 6 8.69 0.00 1.45 4.44 0.04 85.38 Average: 7 5.22 0.00 1.41 5.43 0.04 87.89