Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-3389 (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-VFnXYROdQwIY/agent.2094 SSH_AGENT_PID=2096 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_12257787357661187165.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_12257787357661187165.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/jenkins11079159661114796929.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-l01D 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-l01D/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-l01D/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.29.6 botocore==1.32.6 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.32 idna==3.4 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.0.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.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.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.7 wcwidth==0.2.12 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins2823505581134451512.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/jenkins14791258832908785364.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.3ltzYqCqZy ++ echo ROBOT_VENV=/tmp/tmp.3ltzYqCqZy +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.3ltzYqCqZy ++ source /tmp/tmp.3ltzYqCqZy/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.3ltzYqCqZy +++ 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.3ltzYqCqZy/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.3ltzYqCqZy) ' '!=' x ']' +++ PS1='(tmp.3ltzYqCqZy) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 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.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.3ltzYqCqZy/src/onap ++ rm -rf /tmp/tmp.3ltzYqCqZy/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 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.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.3 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.3.1 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.3ltzYqCqZy/bin/activate + '[' -z /tmp/tmp.3ltzYqCqZy/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.3ltzYqCqZy/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.3ltzYqCqZy ++ 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.3ltzYqCqZy/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.3ltzYqCqZy) ' ++ '[' 'x(tmp.3ltzYqCqZy) ' '!=' x ']' ++ PS1='(tmp.3ltzYqCqZy) (tmp.3ltzYqCqZy) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.8hcrU8sMYm + cd /tmp/tmp.8hcrU8sMYm + 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:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds prometheus Up 14 seconds mariadb Up 12 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 17 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:59 up 3 min, 0 users, load average: 3.21, 1.10, 0.41 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.1 us, 2.0 sy, 0.0 ni, 82.8 id, 4.0 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 33f1885bb32e policy-api 0.10% 948.2MiB / 31.41GiB 2.95% 1.04MB / 739kB 0B / 0B 50 b81f501fc3e7 grafana 0.04% 95.17MiB / 31.41GiB 0.30% 18.7kB / 3.09kB 0B / 23.4MB 18 f9abd52e5315 prometheus 0.11% 18.42MiB / 31.41GiB 0.06% 1.45kB / 158B 102kB / 0B 13 5a15c2218cb2 mariadb 0.02% 99.8MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 10.8MB / 67.5MB 27 + echo + cd /tmp/tmp.8hcrU8sMYm + 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.8hcrU8sMYm/output.xml Log: /tmp/tmp.8hcrU8sMYm/log.html Report: /tmp/tmp.8hcrU8sMYm/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS 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:39:10 up 4 min, 0 users, load average: 1.13, 0.93, 0.40 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 1.6 sy, 0.0 ni, 85.8 id, 3.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 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute 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 33f1885bb32e policy-api 0.11% 983.1MiB / 31.41GiB 3.06% 7.32MB / 2.87MB 0B / 0B 52 b81f501fc3e7 grafana 0.03% 95.59MiB / 31.41GiB 0.30% 19.8kB / 4.39kB 0B / 23.4MB 18 f9abd52e5315 prometheus 0.00% 24.26MiB / 31.41GiB 0.08% 38kB / 7.08kB 102kB / 0B 14 5a15c2218cb2 mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 10.8MB / 67.7MB 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=2023-11-23T11:37:30.783218531Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-11-23T11:37:30.783406307Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-23T11:37:30.783416938Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-23T11:37:30.783420638Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-23T11:37:30.783423798Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-23T11:37:30.783427998Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-23T11:37:30.783431118Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-23T11:37:30.783434198Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-23T11:37:30.783437348Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-23T11:37:30.783440838Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-23T11:37:30.783443828Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-23T11:37:30.783446719Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-23T11:37:30.783449669Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-23T11:37:30.783454639Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-23T11:37:30.783458229Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-23T11:37:30.783461449Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-23T11:37:30.783465379Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-23T11:37:30.783469879Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-23T11:37:30.783472879Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-23T11:37:30.783749598Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-23T11:37:30.783767269Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-23T11:37:30.784340537Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-23T11:37:30.785204816Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-23T11:37:30.785925249Z level=info msg="Migration successfully executed" id="create migration_log table" duration=720.033µs grafana | logger=migrator t=2023-11-23T11:37:30.790338261Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-23T11:37:30.791467298Z level=info msg="Migration successfully executed" id="create user table" duration=1.129187ms grafana | logger=migrator t=2023-11-23T11:37:30.797174142Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-23T11:37:30.798377291Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.198788ms grafana | logger=migrator t=2023-11-23T11:37:30.802394501Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-23T11:37:30.803525617Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.130656ms grafana | logger=migrator t=2023-11-23T11:37:30.807361392Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-23T11:37:30.808109185Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=747.183µs grafana | logger=migrator t=2023-11-23T11:37:30.813237131Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-23T11:37:30.813856971Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=619.57µs grafana | logger=migrator t=2023-11-23T11:37:30.81755511Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-23T11:37:30.822039666Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.480275ms grafana | logger=migrator t=2023-11-23T11:37:30.825704894Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-23T11:37:30.826422207Z level=info msg="Migration successfully executed" id="create user table v2" duration=717.502µs grafana | logger=migrator t=2023-11-23T11:37:30.831199071Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-23T11:37:30.832235094Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.034703ms grafana | logger=migrator t=2023-11-23T11:37:30.836140481Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-23T11:37:30.837391511Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.25078ms grafana | logger=migrator t=2023-11-23T11:37:30.840816152Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-23T11:37:30.841253706Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=437.514µs grafana | logger=migrator t=2023-11-23T11:37:30.845967218Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-23T11:37:30.846547127Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=573.659µs grafana | logger=migrator t=2023-11-23T11:37:30.849531014Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-23T11:37:30.850941389Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.408795ms grafana | logger=migrator t=2023-11-23T11:37:30.854367319Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-23T11:37:30.854409951Z level=info msg="Migration successfully executed" id="Update user table charset" duration=45.512µs grafana | logger=migrator t=2023-11-23T11:37:30.857787951Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-23T11:37:30.859288219Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.500718ms grafana | logger=migrator t=2023-11-23T11:37:30.864082334Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-23T11:37:30.86429146Z level=info msg="Migration successfully executed" id="Add missing user data" duration=209.326µs grafana | logger=migrator t=2023-11-23T11:37:30.866601395Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-23T11:37:30.867751412Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.149417ms grafana | logger=migrator t=2023-11-23T11:37:30.878675775Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-23T11:37:30.879298675Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=622.41µs grafana | logger=migrator t=2023-11-23T11:37:30.882822489Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-23T11:37:30.883889513Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.066624ms grafana | logger=migrator t=2023-11-23T11:37:30.888449691Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-23T11:37:30.901224593Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.770752ms grafana | logger=migrator t=2023-11-23T11:37:30.904779268Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-23T11:37:30.905395048Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=615.73µs grafana | logger=migrator t=2023-11-23T11:37:30.908333683Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-23T11:37:30.908959873Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=625.63µs grafana | logger=migrator t=2023-11-23T11:37:30.91379108Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-23T11:37:30.91442435Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=635.3µs grafana | logger=migrator t=2023-11-23T11:37:30.917644214Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-23T11:37:30.918294865Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=653.281µs grafana | logger=migrator t=2023-11-23T11:37:30.92157823Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-23T11:37:30.922224822Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=646.202µs grafana | logger=migrator t=2023-11-23T11:37:30.926917253Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-23T11:37:30.926940724Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=24.041µs grafana | logger=migrator t=2023-11-23T11:37:30.930472609Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-23T11:37:30.9311341Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=657.181µs grafana | logger=migrator t=2023-11-23T11:37:30.934290422Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-23T11:37:30.93485655Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=565.668µs grafana | logger=migrator t=2023-11-23T11:37:30.939368716Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-23T11:37:30.939956775Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=587.429µs grafana | logger=migrator t=2023-11-23T11:37:30.943133687Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-23T11:37:30.943733676Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=601.569µs grafana | logger=migrator t=2023-11-23T11:37:30.946795915Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-23T11:37:30.950136374Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.339269ms grafana | logger=migrator t=2023-11-23T11:37:30.955119814Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-23T11:37:30.955812857Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=693.303µs grafana | logger=migrator t=2023-11-23T11:37:30.958884456Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-23T11:37:30.959556018Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=671.932µs grafana | logger=migrator t=2023-11-23T11:37:30.962741821Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-23T11:37:30.963370891Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=627.671µs grafana | logger=migrator t=2023-11-23T11:37:30.96643762Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-23T11:37:30.967079931Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=641.621µs grafana | logger=migrator t=2023-11-23T11:37:30.971546185Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-23T11:37:30.972179755Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=633.54µs grafana | logger=migrator t=2023-11-23T11:37:30.97571365Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-23T11:37:30.976073751Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=359.941µs grafana | logger=migrator t=2023-11-23T11:37:30.979355587Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-23T11:37:30.979909635Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=552.888µs grafana | logger=migrator t=2023-11-23T11:37:30.984475443Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-23T11:37:30.984802133Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=327.21µs grafana | logger=migrator t=2023-11-23T11:37:30.988269675Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-23T11:37:30.988820413Z level=info msg="Migration successfully executed" id="create star table" duration=550.248µs grafana | logger=migrator t=2023-11-23T11:37:30.991911092Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-23T11:37:30.992573125Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=665.772µs grafana | logger=migrator t=2023-11-23T11:37:30.997193003Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-23T11:37:30.998562568Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.372795ms grafana | logger=migrator t=2023-11-23T11:37:31.003361678Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-23T11:37:31.004502358Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.14062ms grafana | logger=migrator t=2023-11-23T11:37:31.007927649Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-23T11:37:31.008578271Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=650.132µs grafana | logger=migrator t=2023-11-23T11:37:31.011518272Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-23T11:37:31.012215437Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=699.455µs grafana | logger=migrator t=2023-11-23T11:37:31.016775244Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-23T11:37:31.01750679Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=731.226µs grafana | logger=migrator t=2023-11-23T11:37:31.021141685Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-23T11:37:31.022108178Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=965.003µs grafana | logger=migrator t=2023-11-23T11:37:31.025369361Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-23T11:37:31.025407182Z level=info msg="Migration successfully executed" id="Update org table charset" duration=39.141µs grafana | logger=migrator t=2023-11-23T11:37:31.028654045Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-23T11:37:31.028690047Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=36.882µs grafana | logger=migrator t=2023-11-23T11:37:31.033777992Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-23T11:37:31.033938937Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=161.165µs grafana | logger=migrator t=2023-11-23T11:37:31.037118968Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-23T11:37:31.037800571Z level=info msg="Migration successfully executed" id="create dashboard table" duration=684.413µs grafana | logger=migrator t=2023-11-23T11:37:31.041476558Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-23T11:37:31.04268034Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.203452ms grafana | logger=migrator t=2023-11-23T11:37:31.045892821Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-23T11:37:31.047126013Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.232322ms grafana | logger=migrator t=2023-11-23T11:37:31.052041674Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-23T11:37:31.052683045Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=641.172µs grafana | logger=migrator t=2023-11-23T11:37:31.055662078Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-23T11:37:31.056399764Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=737.616µs grafana | logger=migrator t=2023-11-23T11:37:31.059685918Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-23T11:37:31.060728524Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.037235ms grafana | logger=migrator t=2023-11-23T11:37:31.065685715Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-23T11:37:31.076305393Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=10.616847ms grafana | logger=migrator t=2023-11-23T11:37:31.079233704Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-23T11:37:31.079738741Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=505.237µs grafana | logger=migrator t=2023-11-23T11:37:31.082528828Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-23T11:37:31.083021084Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=492.347µs grafana | logger=migrator t=2023-11-23T11:37:31.087391306Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-23T11:37:31.088185433Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=793.837µs grafana | logger=migrator t=2023-11-23T11:37:31.091204667Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-23T11:37:31.091535629Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=330.632µs grafana | logger=migrator t=2023-11-23T11:37:31.094452449Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-23T11:37:31.095762575Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.308386ms grafana | logger=migrator t=2023-11-23T11:37:31.101218503Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-23T11:37:31.101319606Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=102.243µs grafana | logger=migrator t=2023-11-23T11:37:31.104249489Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-23T11:37:31.106957872Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.707643ms grafana | logger=migrator t=2023-11-23T11:37:31.11006435Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-23T11:37:31.111804109Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.739389ms grafana | logger=migrator t=2023-11-23T11:37:31.114653818Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-23T11:37:31.116349897Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.692868ms grafana | logger=migrator t=2023-11-23T11:37:31.120786569Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-23T11:37:31.121511975Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=723.166µs grafana | logger=migrator t=2023-11-23T11:37:31.12454881Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-23T11:37:31.126319871Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.772861ms grafana | logger=migrator t=2023-11-23T11:37:31.12944563Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-23T11:37:31.130279128Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=832.248µs grafana | logger=migrator t=2023-11-23T11:37:31.15461799Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-23T11:37:31.155859462Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.241072ms grafana | logger=migrator t=2023-11-23T11:37:31.159290121Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-23T11:37:31.159325962Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=36.811µs grafana | logger=migrator t=2023-11-23T11:37:31.162428909Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-23T11:37:31.16246711Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=39.531µs grafana | logger=migrator t=2023-11-23T11:37:31.167285127Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-23T11:37:31.169161812Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.876275ms grafana | logger=migrator t=2023-11-23T11:37:31.173940237Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-23T11:37:31.176875408Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.935231ms grafana | logger=migrator t=2023-11-23T11:37:31.179906674Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-23T11:37:31.181714616Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.807542ms grafana | logger=migrator t=2023-11-23T11:37:31.186126389Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-23T11:37:31.188923125Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.794936ms grafana | logger=migrator t=2023-11-23T11:37:31.232586114Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-23T11:37:31.232821022Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=235.988µs grafana | logger=migrator t=2023-11-23T11:37:31.236032764Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-23T11:37:31.236991017Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=956.833µs grafana | logger=migrator t=2023-11-23T11:37:31.242669803Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-23T11:37:31.243370877Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=700.814µs grafana | logger=migrator t=2023-11-23T11:37:31.246543967Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-23T11:37:31.246572638Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=29.661µs grafana | logger=migrator t=2023-11-23T11:37:31.249610313Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-23T11:37:31.250785404Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.178172ms grafana | logger=migrator t=2023-11-23T11:37:31.255812068Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-23T11:37:31.256812502Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.000154ms grafana | logger=migrator t=2023-11-23T11:37:31.260462308Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-23T11:37:31.267423559Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.958891ms grafana | logger=migrator t=2023-11-23T11:37:31.270426803Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-23T11:37:31.271027683Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=601.18µs grafana | logger=migrator t=2023-11-23T11:37:31.27381998Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-23T11:37:31.274531194Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=710.844µs grafana | logger=migrator t=2023-11-23T11:37:31.278927807Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-23T11:37:31.279725594Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=797.207µs grafana | logger=migrator t=2023-11-23T11:37:31.282593033Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-23T11:37:31.282864112Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=271.189µs grafana | logger=migrator t=2023-11-23T11:37:31.285906337Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-23T11:37:31.286739677Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=833.28µs grafana | logger=migrator t=2023-11-23T11:37:31.291999589Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-23T11:37:31.295124317Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.124728ms grafana | logger=migrator t=2023-11-23T11:37:31.29869716Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-23T11:37:31.299464696Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=767.476µs grafana | logger=migrator t=2023-11-23T11:37:31.302317115Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-23T11:37:31.30247658Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=159.485µs grafana | logger=migrator t=2023-11-23T11:37:31.307406831Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-23T11:37:31.30767045Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=263.689µs grafana | logger=migrator t=2023-11-23T11:37:31.311434831Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-23T11:37:31.312656063Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.220742ms grafana | logger=migrator t=2023-11-23T11:37:31.316131893Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-23T11:37:31.318181724Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.049342ms grafana | logger=migrator t=2023-11-23T11:37:31.324092098Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-11-23T11:37:31.325000469Z level=info msg="Migration successfully executed" id="create data_source table" duration=907.691µs grafana | logger=migrator t=2023-11-23T11:37:31.329298428Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-23T11:37:31.330088305Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=789.807µs grafana | logger=migrator t=2023-11-23T11:37:31.334055543Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-23T11:37:31.335679238Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.623995ms grafana | logger=migrator t=2023-11-23T11:37:31.34034118Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-23T11:37:31.341141697Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=797.247µs grafana | logger=migrator t=2023-11-23T11:37:31.344667449Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-23T11:37:31.345471357Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=803.738µs grafana | logger=migrator t=2023-11-23T11:37:31.34990166Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-23T11:37:31.360249218Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.348288ms grafana | logger=migrator t=2023-11-23T11:37:31.363961146Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-23T11:37:31.364803456Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=841.79µs grafana | logger=migrator t=2023-11-23T11:37:31.368274295Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-23T11:37:31.369155426Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=881.06µs grafana | logger=migrator t=2023-11-23T11:37:31.373387032Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-23T11:37:31.374261462Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=874.57µs grafana | logger=migrator t=2023-11-23T11:37:31.378081514Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-23T11:37:31.378631653Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=550.219µs grafana | logger=migrator t=2023-11-23T11:37:31.381909697Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-23T11:37:31.384219456Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.311679ms grafana | logger=migrator t=2023-11-23T11:37:31.388278667Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-23T11:37:31.390479853Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.200746ms grafana | logger=migrator t=2023-11-23T11:37:31.393770527Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-23T11:37:31.393793077Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=25.69µs grafana | logger=migrator t=2023-11-23T11:37:31.396956587Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-23T11:37:31.397122352Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=166.275µs grafana | logger=migrator t=2023-11-23T11:37:31.400337263Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-23T11:37:31.403882367Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.543484ms grafana | logger=migrator t=2023-11-23T11:37:31.408890369Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-23T11:37:31.409172089Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=279.009µs grafana | logger=migrator t=2023-11-23T11:37:31.412441572Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-23T11:37:31.412588958Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=147.785µs grafana | logger=migrator t=2023-11-23T11:37:31.415803548Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-23T11:37:31.418085278Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.281469ms grafana | logger=migrator t=2023-11-23T11:37:31.422488679Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-23T11:37:31.422653505Z level=info msg="Migration successfully executed" id="Update uid value" duration=164.466µs grafana | logger=migrator t=2023-11-23T11:37:31.426096334Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-23T11:37:31.426899302Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=799.458µs grafana | logger=migrator t=2023-11-23T11:37:31.430350041Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-23T11:37:31.431650566Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.299835ms grafana | logger=migrator t=2023-11-23T11:37:31.436016007Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-23T11:37:31.436709831Z level=info msg="Migration successfully executed" id="create api_key table" duration=693.114µs grafana | logger=migrator t=2023-11-23T11:37:31.440060686Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-23T11:37:31.440786412Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=727.876µs grafana | logger=migrator t=2023-11-23T11:37:31.44479885Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-23T11:37:31.445553446Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=755.336µs grafana | logger=migrator t=2023-11-23T11:37:31.449899837Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-23T11:37:31.450722105Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=822.048µs grafana | logger=migrator t=2023-11-23T11:37:31.455651056Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-23T11:37:31.456753333Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.101937ms grafana | logger=migrator t=2023-11-23T11:37:31.459944215Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-23T11:37:31.461008361Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.064016ms grafana | logger=migrator t=2023-11-23T11:37:31.465678563Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-11-23T11:37:31.466387297Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=706.184µs grafana | logger=migrator t=2023-11-23T11:37:31.46995191Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-23T11:37:31.481174448Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.222438ms grafana | logger=migrator t=2023-11-23T11:37:31.485083553Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-23T11:37:31.486060097Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=977.194µs grafana | logger=migrator t=2023-11-23T11:37:31.490474799Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-23T11:37:31.491570328Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.096329ms grafana | logger=migrator t=2023-11-23T11:37:31.494727807Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-23T11:37:31.495476772Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=746.415µs grafana | logger=migrator t=2023-11-23T11:37:31.49945445Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-23T11:37:31.500257858Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=803.188µs grafana | logger=migrator t=2023-11-23T11:37:31.503818541Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-23T11:37:31.504125291Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=307.39µs grafana | logger=migrator t=2023-11-23T11:37:31.507369543Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-23T11:37:31.508048497Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=678.564µs grafana | logger=migrator t=2023-11-23T11:37:31.511572479Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-23T11:37:31.51160812Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=37.001µs grafana | logger=migrator t=2023-11-23T11:37:31.522645532Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-23T11:37:31.526622009Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.975637ms grafana | logger=migrator t=2023-11-23T11:37:31.530736922Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-23T11:37:31.533223568Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.486056ms grafana | logger=migrator t=2023-11-23T11:37:31.536832952Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-23T11:37:31.53705855Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=224.878µs grafana | logger=migrator t=2023-11-23T11:37:31.570408693Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-23T11:37:31.574296597Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.889124ms grafana | logger=migrator t=2023-11-23T11:37:31.577941654Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-23T11:37:31.580476321Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.534128ms grafana | logger=migrator t=2023-11-23T11:37:31.583967672Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-23T11:37:31.584686986Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=718.594µs grafana | logger=migrator t=2023-11-23T11:37:31.58911266Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-23T11:37:31.589651958Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=539.158µs grafana | logger=migrator t=2023-11-23T11:37:31.593325165Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-23T11:37:31.594459235Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.131499ms grafana | logger=migrator t=2023-11-23T11:37:31.598071939Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-23T11:37:31.599371574Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.299335ms grafana | logger=migrator t=2023-11-23T11:37:31.603967953Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-23T11:37:31.604793581Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=825.668µs grafana | logger=migrator t=2023-11-23T11:37:31.608264831Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-23T11:37:31.609145142Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=878.211µs grafana | logger=migrator t=2023-11-23T11:37:31.612959434Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-23T11:37:31.613019916Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=61.353µs grafana | logger=migrator t=2023-11-23T11:37:31.617372867Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-23T11:37:31.617398227Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=26.391µs grafana | logger=migrator t=2023-11-23T11:37:31.620883818Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-23T11:37:31.625067992Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.179934ms grafana | logger=migrator t=2023-11-23T11:37:31.628963127Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-23T11:37:31.631590828Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.627181ms grafana | logger=migrator t=2023-11-23T11:37:31.635311926Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-23T11:37:31.635374308Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=62.612µs grafana | logger=migrator t=2023-11-23T11:37:31.642208045Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-23T11:37:31.642865908Z level=info msg="Migration successfully executed" id="create quota table v1" duration=669.493µs grafana | logger=migrator t=2023-11-23T11:37:31.646487263Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-23T11:37:31.647769007Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.281244ms grafana | logger=migrator t=2023-11-23T11:37:31.651428264Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-23T11:37:31.651466385Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=39.441µs grafana | logger=migrator t=2023-11-23T11:37:31.656108656Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-23T11:37:31.656763808Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=654.942µs grafana | logger=migrator t=2023-11-23T11:37:31.660330941Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-23T11:37:31.661122568Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=791.197µs grafana | logger=migrator t=2023-11-23T11:37:31.666117181Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-23T11:37:31.669704585Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.591604ms grafana | logger=migrator t=2023-11-23T11:37:31.672823774Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-23T11:37:31.672851255Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=28.371µs grafana | logger=migrator t=2023-11-23T11:37:31.67589914Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-23T11:37:31.676680387Z level=info msg="Migration successfully executed" id="create session table" duration=781.256µs grafana | logger=migrator t=2023-11-23T11:37:31.681650179Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-23T11:37:31.681736812Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=87.923µs grafana | logger=migrator t=2023-11-23T11:37:31.686146543Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-23T11:37:31.686244777Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=98.574µs grafana | logger=migrator t=2023-11-23T11:37:31.689479878Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-23T11:37:31.690578487Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.098769ms grafana | logger=migrator t=2023-11-23T11:37:31.695848609Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-23T11:37:31.696586895Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=738.346µs grafana | logger=migrator t=2023-11-23T11:37:31.699915089Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-23T11:37:31.700019823Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=104.264µs grafana | logger=migrator t=2023-11-23T11:37:31.702336593Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-23T11:37:31.702432517Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=95.404µs grafana | logger=migrator t=2023-11-23T11:37:31.705400269Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-23T11:37:31.70860195Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.200891ms grafana | logger=migrator t=2023-11-23T11:37:31.713440677Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-23T11:37:31.716617567Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.17788ms grafana | logger=migrator t=2023-11-23T11:37:31.720366466Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-23T11:37:31.720533243Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=166.187µs grafana | logger=migrator t=2023-11-23T11:37:31.722938965Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-23T11:37:31.723136402Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=196.987µs grafana | logger=migrator t=2023-11-23T11:37:31.728599611Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-23T11:37:31.729381919Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=781.638µs grafana | logger=migrator t=2023-11-23T11:37:31.735262952Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-23T11:37:31.735398886Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=135.014µs grafana | logger=migrator t=2023-11-23T11:37:31.738779313Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-23T11:37:31.743763586Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.984103ms grafana | logger=migrator t=2023-11-23T11:37:31.747268537Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-23T11:37:31.747498684Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=229.668µs grafana | logger=migrator t=2023-11-23T11:37:31.753237823Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-23T11:37:31.756530166Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.292303ms grafana | logger=migrator t=2023-11-23T11:37:31.759661186Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-23T11:37:31.762921708Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.259793ms grafana | logger=migrator t=2023-11-23T11:37:31.765953053Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-23T11:37:31.766094168Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=140.735µs grafana | logger=migrator t=2023-11-23T11:37:31.770879403Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-23T11:37:31.771901078Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.021405ms grafana | logger=migrator t=2023-11-23T11:37:31.775541124Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-23T11:37:31.777022325Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.480661ms grafana | logger=migrator t=2023-11-23T11:37:31.780453884Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-23T11:37:31.782008387Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.554043ms grafana | logger=migrator t=2023-11-23T11:37:31.787801288Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-23T11:37:31.788821323Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.019915ms grafana | logger=migrator t=2023-11-23T11:37:31.792135478Z level=info msg="Executing migration" id="add index alert state" mariadb | 2023-11-23 11:37:31+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-23 11:37:32+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-23 11:37:32+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-23 11:37:32+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-23 11:37:32 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-23 11:37:32 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-23 11:37:32 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-11-23 11:37:34+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-23 11:37:34+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-23 11:37:34+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-23 11:37:34 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... mariadb | 2023-11-23 11:37:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-23 11:37:34 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-23 11:37:34 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-23 11:37:34 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-23 11:37:34 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-23 11:37:34 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-23 11:37:34 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-23 11:37:34 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-23 11:37:34 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-23 11:37:34 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-23 11:37:34 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-23 11:37:34 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-23 11:37:34 0 [Note] InnoDB: log sequence number 46606; transaction id 14 mariadb | 2023-11-23 11:37:34 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-23 11:37:34 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-23 11:37:34 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-23 11:37:34 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-23 11:37:34 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-11-23 11:37:35+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-23 11:37:36+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-23 11:37:36+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-23 11:37:36+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-23 11:37:36+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-11-23 11:37:37+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-23 11:37:37 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-23 11:37:37 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-23 11:37:37 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-23 11:37:37 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-23 11:37:37 0 [Note] InnoDB: Buffer pool(s) dump completed at 231123 11:37:37 mariadb | 2023-11-23 11:37:37 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-23 11:37:37 0 [Note] InnoDB: Shutdown completed; log sequence number 333884; transaction id 298 mariadb | 2023-11-23 11:37:37 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-23 11:37:37+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-23 11:37:37+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-23 11:37:37 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-23 11:37:37 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-23 11:37:37 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-23 11:37:37 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-23 11:37:37 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-23 11:37:37 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-23 11:37:37 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-23 11:37:37 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-23 11:37:37 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-23 11:37:38 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 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 grafana | logger=migrator t=2023-11-23T11:37:31.793486825Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.351018ms grafana | logger=migrator t=2023-11-23T11:37:31.799238804Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-23T11:37:31.80060546Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.368057ms grafana | logger=migrator t=2023-11-23T11:37:31.804109601Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-23T11:37:31.805112136Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.001735ms grafana | logger=migrator t=2023-11-23T11:37:31.80839292Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-23T11:37:31.810288886Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.893735ms grafana | logger=migrator t=2023-11-23T11:37:31.815562547Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-23T11:37:31.816944965Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.382698ms grafana | logger=migrator t=2023-11-23T11:37:31.820416255Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-23T11:37:31.834676898Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.259413ms grafana | logger=migrator t=2023-11-23T11:37:31.837794946Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-23T11:37:31.838311024Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=516.818µs grafana | logger=migrator t=2023-11-23T11:37:31.842970215Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-11-23T11:37:31.843604886Z 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=634.421µs grafana | logger=migrator t=2023-11-23T11:37:31.847095748Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-23T11:37:31.847677788Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=581.6µs grafana | logger=migrator t=2023-11-23T11:37:31.850772505Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-23T11:37:31.851686066Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=913.001µs grafana | logger=migrator t=2023-11-23T11:37:31.857131384Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-23T11:37:31.858345737Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.213893ms grafana | logger=migrator t=2023-11-23T11:37:31.861939021Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-23T11:37:31.866052632Z level=info msg="Migration successfully executed" id="Add column is_default" duration=4.114911ms grafana | logger=migrator t=2023-11-23T11:37:31.870275129Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-23T11:37:31.874131342Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.855523ms grafana | logger=migrator t=2023-11-23T11:37:31.87957721Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-23T11:37:31.882072156Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=2.491676ms grafana | logger=migrator t=2023-11-23T11:37:31.885833137Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-23T11:37:31.889423961Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.587994ms grafana | logger=migrator t=2023-11-23T11:37:31.892971823Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-23T11:37:31.893918176Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=946.323µs grafana | logger=migrator t=2023-11-23T11:37:31.999888019Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-23T11:37:32.000024074Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=136.605µs grafana | logger=migrator t=2023-11-23T11:37:32.006077804Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-23T11:37:32.006190239Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=112.055µs grafana | logger=migrator t=2023-11-23T11:37:32.01258244Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-23T11:37:32.013775131Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.185571ms grafana | logger=migrator t=2023-11-23T11:37:32.018804996Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-23T11:37:32.019755038Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=950.012µs grafana | logger=migrator t=2023-11-23T11:37:32.023300562Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-23T11:37:32.02440442Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.098898ms grafana | logger=migrator t=2023-11-23T11:37:32.030487251Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-23T11:37:32.031636591Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.15035ms grafana | logger=migrator t=2023-11-23T11:37:32.03767172Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-23T11:37:32.038643334Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=971.494µs grafana | logger=migrator t=2023-11-23T11:37:32.042470226Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-23T11:37:32.046280759Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.810283ms grafana | logger=migrator t=2023-11-23T11:37:32.050121642Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-23T11:37:32.054034788Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.913046ms grafana | logger=migrator t=2023-11-23T11:37:32.058910427Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-23T11:37:32.059207337Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=296.61µs grafana | logger=migrator t=2023-11-23T11:37:32.063208906Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-23T11:37:32.064214601Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.005775ms grafana | logger=migrator t=2023-11-23T11:37:32.071477593Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-23T11:37:32.072572601Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.080917ms grafana | logger=migrator t=2023-11-23T11:37:32.078921201Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-23T11:37:32.086028648Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=7.106467ms grafana | logger=migrator t=2023-11-23T11:37:32.090090748Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-23T11:37:32.090272685Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=181.857µs grafana | logger=migrator t=2023-11-23T11:37:32.093557889Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-23T11:37:32.094852064Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.293964ms grafana | logger=migrator t=2023-11-23T11:37:32.099192375Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-23T11:37:32.102992366Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=3.799952ms grafana | logger=migrator t=2023-11-23T11:37:32.10742211Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-23T11:37:32.107566645Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=147.075µs grafana | logger=migrator t=2023-11-23T11:37:32.114385781Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-23T11:37:32.115412366Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.029375ms grafana | logger=migrator t=2023-11-23T11:37:32.119925793Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-23T11:37:32.122475042Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=2.547329ms grafana | logger=migrator t=2023-11-23T11:37:32.126324885Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-23T11:37:32.127343501Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.020086ms grafana | logger=migrator t=2023-11-23T11:37:32.130422098Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-23T11:37:32.131272777Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=850.379µs grafana | logger=migrator t=2023-11-23T11:37:32.134054173Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-23T11:37:32.135019797Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=965.023µs grafana | logger=migrator t=2023-11-23T11:37:32.140173815Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-23T11:37:32.141607206Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.432941ms grafana | logger=migrator t=2023-11-23T11:37:32.145216381Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-23T11:37:32.145255372Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=40.612µs grafana | logger=migrator t=2023-11-23T11:37:32.148728132Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-23T11:37:32.152743952Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.01532ms grafana | logger=migrator t=2023-11-23T11:37:32.159872559Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-23T11:37:32.160668687Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=796.668µs grafana | logger=migrator t=2023-11-23T11:37:32.162913754Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-23T11:37:32.166875212Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.959668ms grafana | logger=migrator t=2023-11-23T11:37:32.170538349Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-23T11:37:32.171220922Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=681.793µs grafana | logger=migrator t=2023-11-23T11:37:32.176364741Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-23T11:37:32.177699388Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.334407ms grafana | logger=migrator t=2023-11-23T11:37:32.181642074Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-23T11:37:32.18293786Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.296366ms grafana | logger=migrator t=2023-11-23T11:37:32.186585316Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-23T11:37:32.204812648Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=18.227031ms grafana | logger=migrator t=2023-11-23T11:37:32.210852178Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-23T11:37:32.21149925Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=647.022µs grafana | logger=migrator t=2023-11-23T11:37:32.214866057Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-11-23T11:37:32.215736717Z 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=870.28µs grafana | logger=migrator t=2023-11-23T11:37:32.219293651Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-23T11:37:32.21955465Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=261.409µs mariadb | 2023-11-23 11:37:38 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-23 11:37:38 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-23 11:37:38 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-23 11:37:38 0 [Note] InnoDB: log sequence number 333884; transaction id 299 mariadb | 2023-11-23 11:37:38 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-23 11:37:38 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-23 11:37:38 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-23 11:37:38 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-23 11:37:38 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-23 11:37:38 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-23 11:37:38 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2023-11-23 11:37:38 0 [Note] InnoDB: Buffer pool(s) load completed at 231123 11:37:38 mariadb | 2023-11-23 11:37:38 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2023-11-23 11:37:38 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-23T11:37:32.224547312Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-11-23T11:37:32.22504765Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=500.568µs grafana | logger=migrator t=2023-11-23T11:37:32.229023208Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-23T11:37:32.229264016Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=241.108µs grafana | logger=migrator t=2023-11-23T11:37:32.234975104Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-23T11:37:32.238157694Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=3.18325ms grafana | logger=migrator t=2023-11-23T11:37:32.241318664Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-23T11:37:32.244166343Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=2.847309ms grafana | logger=migrator t=2023-11-23T11:37:32.249148556Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-23T11:37:32.250308797Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.16321ms grafana | logger=migrator t=2023-11-23T11:37:32.253451925Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-23T11:37:32.254411108Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=958.973µs grafana | logger=migrator t=2023-11-23T11:37:32.259954301Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-23T11:37:32.260209029Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=255.528µs grafana | logger=migrator t=2023-11-23T11:37:32.262801849Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-23T11:37:32.267397019Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.59582ms grafana | logger=migrator t=2023-11-23T11:37:32.271931586Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-23T11:37:32.272870189Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=938.753µs grafana | logger=migrator t=2023-11-23T11:37:32.329191753Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-23T11:37:32.329524994Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=336.872µs grafana | logger=migrator t=2023-11-23T11:37:32.332849279Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-23T11:37:32.333388928Z level=info msg="Migration successfully executed" id="Move region to single row" duration=539.719µs grafana | logger=migrator t=2023-11-23T11:37:32.337216011Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-23T11:37:32.33806086Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=844.929µs grafana | logger=migrator t=2023-11-23T11:37:32.342773014Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-23T11:37:32.344345248Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.571974ms grafana | logger=migrator t=2023-11-23T11:37:32.396771817Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-23T11:37:32.398123783Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.352056ms grafana | logger=migrator t=2023-11-23T11:37:32.406982271Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-23T11:37:32.408558125Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.574544ms grafana | logger=migrator t=2023-11-23T11:37:32.414067437Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-23T11:37:32.415355912Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.288166ms grafana | logger=migrator t=2023-11-23T11:37:32.425767452Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-23T11:37:32.42712504Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.357308ms grafana | logger=migrator t=2023-11-23T11:37:32.430523458Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-23T11:37:32.430641722Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=118.864µs grafana | logger=migrator t=2023-11-23T11:37:32.437343544Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-23T11:37:32.438502094Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.1559ms grafana | logger=migrator t=2023-11-23T11:37:32.445530878Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-23T11:37:32.44673201Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.200562ms grafana | logger=migrator t=2023-11-23T11:37:32.452638005Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-23T11:37:32.454053973Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.415528ms grafana | logger=migrator t=2023-11-23T11:37:32.45884684Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-23T11:37:32.45971949Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=872.44µs grafana | logger=migrator t=2023-11-23T11:37:32.465137408Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-23T11:37:32.465336985Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=202.477µs grafana | logger=migrator t=2023-11-23T11:37:32.470012147Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-23T11:37:32.470615368Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=615.651µs grafana | logger=migrator t=2023-11-23T11:37:32.474164912Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-11-23T11:37:32.474347678Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=183.156µs grafana | logger=migrator t=2023-11-23T11:37:32.479767196Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-11-23T11:37:32.480857274Z level=info msg="Migration successfully executed" id="create team table" duration=1.089697ms grafana | logger=migrator t=2023-11-23T11:37:32.488354404Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-23T11:37:32.489274986Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=922.661µs grafana | logger=migrator t=2023-11-23T11:37:32.492438745Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-23T11:37:32.493290664Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=851.759µs grafana | logger=migrator t=2023-11-23T11:37:32.500687091Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-23T11:37:32.509226017Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=8.537696ms grafana | logger=migrator t=2023-11-23T11:37:32.513581149Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-23T11:37:32.513701093Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=120.074µs grafana | logger=migrator t=2023-11-23T11:37:32.516855922Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-23T11:37:32.517642789Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=786.597µs grafana | logger=migrator t=2023-11-23T11:37:32.523754121Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-23T11:37:32.524890291Z level=info msg="Migration successfully executed" id="create team member table" duration=1.13548ms grafana | logger=migrator t=2023-11-23T11:37:32.534148602Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-23T11:37:32.535571931Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.426279ms grafana | logger=migrator t=2023-11-23T11:37:32.539784978Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-23T11:37:32.540830983Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.044925ms grafana | logger=migrator t=2023-11-23T11:37:32.54592044Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-23T11:37:32.546997558Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.077098ms grafana | logger=migrator t=2023-11-23T11:37:32.552891923Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-23T11:37:32.558117484Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.225372ms grafana | logger=migrator t=2023-11-23T11:37:32.564611289Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-23T11:37:32.57128678Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=6.672111ms grafana | logger=migrator t=2023-11-23T11:37:32.576102667Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-23T11:37:32.584014322Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=7.912795ms grafana | logger=migrator t=2023-11-23T11:37:32.589514703Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-23T11:37:32.590417294Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=902.101µs grafana | logger=migrator t=2023-11-23T11:37:32.594498626Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-23T11:37:32.595431868Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=936.532µs grafana | logger=migrator t=2023-11-23T11:37:32.601972025Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-23T11:37:32.604042247Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=2.068202ms grafana | logger=migrator t=2023-11-23T11:37:32.60989576Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-23T11:37:32.610958946Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.063137ms grafana | logger=migrator t=2023-11-23T11:37:32.616361614Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-23T11:37:32.617859786Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.496833ms grafana | logger=migrator t=2023-11-23T11:37:32.622787487Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-23T11:37:32.624368851Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.577254ms grafana | logger=migrator t=2023-11-23T11:37:32.629188919Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-23T11:37:32.630243295Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.053996ms grafana | logger=migrator t=2023-11-23T11:37:32.636289535Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-23T11:37:32.639698974Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=3.410679ms grafana | logger=migrator t=2023-11-23T11:37:32.644916115Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-23T11:37:32.645678401Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=762.466µs grafana | logger=migrator t=2023-11-23T11:37:32.651762262Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-23T11:37:32.652362052Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=599.76µs grafana | logger=migrator t=2023-11-23T11:37:32.656455665Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-23T11:37:32.65748613Z level=info msg="Migration successfully executed" id="create tag table" duration=1.030095ms grafana | logger=migrator t=2023-11-23T11:37:32.713580426Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-23T11:37:32.715468442Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.887156ms grafana | logger=migrator t=2023-11-23T11:37:32.719854464Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-23T11:37:32.720767146Z level=info msg="Migration successfully executed" id="create login attempt table" duration=917.313µs grafana | logger=migrator t=2023-11-23T11:37:32.726726622Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-11-23T11:37:32.727671695Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=945.323µs grafana | logger=migrator t=2023-11-23T11:37:32.732661788Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-23T11:37:32.733570599Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=908.471µs grafana | logger=migrator t=2023-11-23T11:37:32.739960001Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-23T11:37:32.762269605Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=22.311034ms grafana | logger=migrator t=2023-11-23T11:37:32.78114588Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-23T11:37:32.782426815Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.280135ms grafana | logger=migrator t=2023-11-23T11:37:32.788701652Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-23T11:37:32.790588158Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.885276ms grafana | logger=migrator t=2023-11-23T11:37:32.79727538Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-23T11:37:32.79757703Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=301.471µs grafana | logger=migrator t=2023-11-23T11:37:32.803797085Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-23T11:37:32.805798685Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=2.0052ms grafana | logger=migrator t=2023-11-23T11:37:32.814494117Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-23T11:37:32.816293259Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.783323ms grafana | logger=migrator t=2023-11-23T11:37:32.820992222Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-23T11:37:32.821929135Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=937.113µs grafana | logger=migrator t=2023-11-23T11:37:32.825317312Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-23T11:37:32.825380344Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=64.002µs grafana | logger=migrator t=2023-11-23T11:37:32.834559973Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-23T11:37:32.841275366Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.704334ms grafana | logger=migrator t=2023-11-23T11:37:32.845774682Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-23T11:37:32.85148646Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.710639ms grafana | logger=migrator t=2023-11-23T11:37:32.855941595Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-23T11:37:32.862137619Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.194735ms grafana | logger=migrator t=2023-11-23T11:37:32.865418083Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-23T11:37:32.872282792Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.863998ms grafana | logger=migrator t=2023-11-23T11:37:32.877283304Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-23T11:37:32.878162215Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=875.991µs grafana | logger=migrator t=2023-11-23T11:37:32.881224082Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-23T11:37:32.886145003Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=4.920491ms grafana | logger=migrator t=2023-11-23T11:37:32.902465248Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-23T11:37:32.903645289Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.180731ms grafana | logger=migrator t=2023-11-23T11:37:32.90943506Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-23T11:37:32.911087748Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.651768ms grafana | logger=migrator t=2023-11-23T11:37:32.916613699Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-23T11:37:32.917760379Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.147611ms grafana | logger=migrator t=2023-11-23T11:37:32.921906432Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-23T11:37:32.922959169Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.053077ms grafana | logger=migrator t=2023-11-23T11:37:32.930165489Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-23T11:37:32.931132023Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=966.364µs grafana | logger=migrator t=2023-11-23T11:37:32.969851665Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-23T11:37:32.971282795Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.43457ms grafana | logger=migrator t=2023-11-23T11:37:32.977743889Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-23T11:37:32.98438699Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.640931ms grafana | logger=migrator t=2023-11-23T11:37:32.992585305Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-23T11:37:32.993268188Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=682.713µs grafana | logger=migrator t=2023-11-23T11:37:33.001174163Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-23T11:37:33.00254515Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.360447ms grafana | logger=migrator t=2023-11-23T11:37:33.008258857Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-23T11:37:33.009633085Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.378058ms grafana | logger=migrator t=2023-11-23T11:37:33.013531559Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- 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-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3: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 | [2023-11-23T11:37:46.177+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-23T11:37:46.179+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-23T11:37:47.418+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-23T11:37:47.508+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 75 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-23T11:37:48.504+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-23T11:37:48.516+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-23T11:37:48.517+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-23T11:37:48.517+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-23T11:37:48.597+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-23T11:37:48.598+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2360 ms policy-api | [2023-11-23T11:37:49.066+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-23T11:37:49.125+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-23T11:37:49.400+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-23T11:37:49.526+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-23T11:37:49.625+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-23T11:37:49.645+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-23T11:37:51.047+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-11-23T11:37:51.060+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-23T11:37:52.147+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-23T11:37:52.879+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-23T11:37:53.932+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@359ae83a, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4fddd42b, org.springframework.security.web.context.SecurityContextPersistenceFilter@4d19ddeb, org.springframework.security.web.header.HeaderWriterFilter@b1fccca, org.springframework.security.web.authentication.logout.LogoutFilter@5bee88e3, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@65ff1e6d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@625439ba, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2416378c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7473cf13, org.springframework.security.web.session.SessionManagementFilter@190a5f74, org.springframework.security.web.access.ExceptionTranslationFilter@9af2a00, org.springframework.security.web.access.intercept.AuthorizationFilter@66abb7d4] policy-api | [2023-11-23T11:37:54.062+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-11-23T11:37:57.049+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-23T11:37:57.082+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-23T11:37:57.110+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-23T11:37:57.126+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.714 seconds (JVM running for 12.311) policy-api | [2023-11-23T11:38:02.213+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-23T11:38:02.213+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-23T11:38:02.215+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-11-23T11:38:04.828+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-23T11:38:04.941+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-11-23T11:38:05.210+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-23T11:38:06.349+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2023-11-23T11:38:08.237+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-23T11:38:08.619+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-23T11:38:08.863+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-23T11:38:09.101+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-23T11:38:09.312+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-23T11:38:09.539+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-11-23T11:37:33.01730362Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=3.77083ms grafana | logger=migrator t=2023-11-23T11:37:33.021323169Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-23T11:37:33.022755188Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.431349ms grafana | logger=migrator t=2023-11-23T11:37:33.029041636Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-11-23T11:37:33.029132039Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=89.833µs grafana | logger=migrator t=2023-11-23T11:37:33.034710052Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-23T11:37:33.034848467Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=139.965µs grafana | logger=migrator t=2023-11-23T11:37:33.039931923Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-23T11:37:33.041394143Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.46194ms grafana | logger=migrator t=2023-11-23T11:37:33.056719953Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-23T11:37:33.058412371Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.698148ms grafana | logger=migrator t=2023-11-23T11:37:33.066356766Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-23T11:37:33.067953741Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.597405ms grafana | logger=migrator t=2023-11-23T11:37:33.073370788Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-23T11:37:33.073481441Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=112.033µs grafana | logger=migrator t=2023-11-23T11:37:33.078687002Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-23T11:37:33.079890904Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.203663ms grafana | logger=migrator t=2023-11-23T11:37:33.085310471Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-23T11:37:33.086565044Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.255673ms grafana | logger=migrator t=2023-11-23T11:37:33.090882474Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-23T11:37:33.091820966Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=938.712µs grafana | logger=migrator t=2023-11-23T11:37:33.099713499Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-23T11:37:33.101706318Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.990569ms grafana | logger=migrator t=2023-11-23T11:37:33.107892342Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-23T11:37:33.11361975Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.726448ms grafana | logger=migrator t=2023-11-23T11:37:33.119470772Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-23T11:37:33.120411654Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=940.792µs grafana | logger=migrator t=2023-11-23T11:37:33.126868068Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-23T11:37:33.126953651Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=86.373µs grafana | logger=migrator t=2023-11-23T11:37:33.131613901Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-23T11:37:33.132447311Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=833.18µs grafana | logger=migrator t=2023-11-23T11:37:33.137625879Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2023-11-23T11:37:33.138592883Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=966.894µs grafana | logger=migrator t=2023-11-23T11:37:33.145527852Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2023-11-23T11:37:33.146555298Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.026506ms grafana | logger=migrator t=2023-11-23T11:37:33.212940323Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-23T11:37:33.213043556Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=106.644µs grafana | logger=migrator t=2023-11-23T11:37:33.218434383Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-23T11:37:33.219380396Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=945.723µs grafana | logger=migrator t=2023-11-23T11:37:33.227239157Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-23T11:37:33.228539162Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.299305ms grafana | logger=migrator t=2023-11-23T11:37:33.233042767Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2023-11-23T11:37:33.234569541Z 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.526613ms grafana | logger=migrator t=2023-11-23T11:37:33.237830143Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-11-23T11:37:33.239041396Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.210192ms grafana | logger=migrator t=2023-11-23T11:37:33.247146415Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-23T11:37:33.256143727Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=8.997032ms prometheus | ts=2023-11-23T11:37:29.742Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-11-23T11:37:29.742Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" prometheus | ts=2023-11-23T11:37:29.742Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-11-23T11:37:29.742Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-11-23T11:37:29.742Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-23T11:37:29.742Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-23T11:37:29.747Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-23T11:37:29.747Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-23T11:37:29.749Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-23T11:37:29.749Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-23T11:37:29.751Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-23T11:37:29.751Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.07µs prometheus | ts=2023-11-23T11:37:29.751Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-23T11:37:29.751Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-23T11:37:29.751Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=30.881µs wal_replay_duration=306.409µs wbl_replay_duration=510ns total_replay_duration=363.51µs prometheus | ts=2023-11-23T11:37:29.755Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-23T11:37:29.755Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-23T11:37:29.755Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-23T11:37:29.755Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=734.991µs db_storage=1.151µs remote_storage=1.72µs web_handler=280ns query_engine=810ns scrape=190.745µs scrape_sd=96.003µs notify=24.14µs notify_sd=14.421µs rules=1.21µs tracing=5.17µs prometheus | ts=2023-11-23T11:37:29.755Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-23T11:37:29.755Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-11-23T11:37:33.260216767Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-23T11:37:33.26090188Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=692.083µs grafana | logger=migrator t=2023-11-23T11:37:33.265948655Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-23T11:37:33.266612318Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=663.863µs grafana | logger=migrator t=2023-11-23T11:37:33.273852009Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-23T11:37:33.312514285Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=38.663087ms grafana | logger=migrator t=2023-11-23T11:37:33.316318336Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-23T11:37:33.353101588Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=36.782792ms grafana | logger=migrator t=2023-11-23T11:37:33.359581092Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-23T11:37:33.360258966Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=677.294µs grafana | logger=migrator t=2023-11-23T11:37:33.396442237Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-23T11:37:33.398238578Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.796322ms grafana | logger=migrator t=2023-11-23T11:37:33.403310524Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-23T11:37:33.410065258Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.755655ms grafana | logger=migrator t=2023-11-23T11:37:33.418368895Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-23T11:37:33.419176252Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=807.637µs grafana | logger=migrator t=2023-11-23T11:37:33.425880444Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-23T11:37:33.427764999Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.884635ms grafana | logger=migrator t=2023-11-23T11:37:33.433987054Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-23T11:37:33.43500051Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.013496ms grafana | logger=migrator t=2023-11-23T11:37:33.439181384Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-11-23T11:37:33.44078376Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.604925ms grafana | logger=migrator t=2023-11-23T11:37:33.448381182Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-23T11:37:33.448477405Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=97.524µs grafana | logger=migrator t=2023-11-23T11:37:33.452552526Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-23T11:37:33.460548193Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.996317ms grafana | logger=migrator t=2023-11-23T11:37:33.464760188Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-23T11:37:33.470502816Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.739228ms grafana | logger=migrator t=2023-11-23T11:37:33.478454001Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-23T11:37:33.484108397Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.653986ms grafana | logger=migrator t=2023-11-23T11:37:33.489298936Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-23T11:37:33.490232258Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=932.742µs grafana | logger=migrator t=2023-11-23T11:37:33.49518316Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-11-23T11:37:33.496660131Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.476561ms grafana | logger=migrator t=2023-11-23T11:37:33.501673764Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-23T11:37:33.51080866Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=9.135646ms grafana | logger=migrator t=2023-11-23T11:37:33.516160575Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-23T11:37:33.520284357Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=4.123502ms grafana | logger=migrator t=2023-11-23T11:37:33.523411575Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2023-11-23T11:37:33.524724971Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.312976ms grafana | logger=migrator t=2023-11-23T11:37:33.533135002Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-23T11:37:33.542574718Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.434766ms grafana | logger=migrator t=2023-11-23T11:37:33.547482488Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-23T11:37:33.553231647Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.748589ms grafana | logger=migrator t=2023-11-23T11:37:33.557799874Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-23T11:37:33.557891677Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=92.463µs grafana | logger=migrator t=2023-11-23T11:37:33.563283824Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-11-23T11:37:33.564230027Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=945.864µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) 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 | -------------- 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 | grafana | logger=migrator t=2023-11-23T11:37:33.570778493Z 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=2023-11-23T11:37:33.57242429Z 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.645177ms grafana | logger=migrator t=2023-11-23T11:37:33.578307924Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2023-11-23T11:37:33.579439062Z 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.130229ms grafana | logger=migrator t=2023-11-23T11:37:33.585713749Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-23T11:37:33.585811662Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=98.963µs grafana | logger=migrator t=2023-11-23T11:37:33.591975546Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-23T11:37:33.603116061Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=11.139065ms grafana | logger=migrator t=2023-11-23T11:37:33.632646882Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-23T11:37:33.642978089Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=10.332948ms grafana | logger=migrator t=2023-11-23T11:37:33.648357625Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-23T11:37:33.65286974Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=4.511365ms grafana | logger=migrator t=2023-11-23T11:37:33.657402648Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-23T11:37:33.663729606Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.326429ms grafana | logger=migrator t=2023-11-23T11:37:33.671471204Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-23T11:37:33.679023635Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.555811ms grafana | logger=migrator t=2023-11-23T11:37:33.683458708Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-23T11:37:33.68352473Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=66.832µs grafana | logger=migrator t=2023-11-23T11:37:33.687196358Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-23T11:37:33.687993905Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=798.277µs grafana | logger=migrator t=2023-11-23T11:37:33.694854412Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-23T11:37:33.703843143Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.989411ms grafana | logger=migrator t=2023-11-23T11:37:33.709772098Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-23T11:37:33.709964305Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=192.167µs grafana | logger=migrator t=2023-11-23T11:37:33.75063155Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-23T11:37:33.759786616Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.157116ms grafana | logger=migrator t=2023-11-23T11:37:33.766888502Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-23T11:37:33.767717621Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=829.239µs grafana | logger=migrator t=2023-11-23T11:37:33.77291579Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-23T11:37:33.779947854Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=7.033764ms grafana | logger=migrator t=2023-11-23T11:37:33.787884169Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-23T11:37:33.788679416Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=795.208µs grafana | logger=migrator t=2023-11-23T11:37:33.796827378Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-23T11:37:33.799475999Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.649962ms grafana | logger=migrator t=2023-11-23T11:37:33.808205111Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-23T11:37:33.819071607Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=10.865845ms grafana | logger=migrator t=2023-11-23T11:37:33.824099Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-23T11:37:33.824735192Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=636.013µs grafana | logger=migrator t=2023-11-23T11:37:33.829700373Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-23T11:37:33.830997379Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.298215ms grafana | logger=migrator t=2023-11-23T11:37:33.843410287Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-23T11:37:33.844255987Z level=info msg="Migration successfully executed" id="create alert_image table" duration=845.84µs grafana | logger=migrator t=2023-11-23T11:37:33.853417164Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-23T11:37:33.855313639Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.895686ms grafana | logger=migrator t=2023-11-23T11:37:33.861585066Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-23T11:37:33.861818574Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=232.928µs grafana | logger=migrator t=2023-11-23T11:37:33.865801701Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-23T11:37:33.866788366Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=986.555µs policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-23T11:37:33.872041558Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-11-23T11:37:33.873114394Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.072116ms grafana | logger=migrator t=2023-11-23T11:37:33.87645562Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-23T11:37:33.876905775Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-23T11:37:33.881388821Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-23T11:37:33.882229889Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=841.029µs grafana | logger=migrator t=2023-11-23T11:37:33.885958509Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-23T11:37:33.887724779Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.7629ms grafana | logger=migrator t=2023-11-23T11:37:33.891602114Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-23T11:37:33.898232023Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.629419ms grafana | logger=migrator t=2023-11-23T11:37:33.902889624Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-23T11:37:33.903755774Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=866.02µs grafana | logger=migrator t=2023-11-23T11:37:33.907075188Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-23T11:37:33.908170806Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.095268ms grafana | logger=migrator t=2023-11-23T11:37:33.911826163Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-23T11:37:33.91262092Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=794.337µs grafana | logger=migrator t=2023-11-23T11:37:33.916185373Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-23T11:37:33.917375065Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.189292ms grafana | logger=migrator t=2023-11-23T11:37:33.921702294Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-23T11:37:33.922782592Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.079958ms grafana | logger=migrator t=2023-11-23T11:37:33.926032854Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-23T11:37:33.926061255Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=29.281µs grafana | logger=migrator t=2023-11-23T11:37:33.929284456Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-23T11:37:33.92939431Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=110.044µs grafana | logger=migrator t=2023-11-23T11:37:33.933606816Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-23T11:37:33.933957208Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=348.032µs grafana | logger=migrator t=2023-11-23T11:37:33.937186289Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-23T11:37:33.938104161Z level=info msg="Migration successfully executed" id="create data_keys table" duration=917.662µs grafana | logger=migrator t=2023-11-23T11:37:33.941647973Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-23T11:37:33.942449522Z level=info msg="Migration successfully executed" id="create secrets table" duration=801.258µs grafana | logger=migrator t=2023-11-23T11:37:33.946692788Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-23T11:37:33.992340415Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.646967ms grafana | logger=migrator t=2023-11-23T11:37:33.995591289Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-23T11:37:34.001758782Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.167563ms grafana | logger=migrator t=2023-11-23T11:37:34.005016464Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-23T11:37:34.00519197Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=175.096µs grafana | logger=migrator t=2023-11-23T11:37:34.008531115Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-23T11:37:34.054778064Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=46.246589ms grafana | logger=migrator t=2023-11-23T11:37:34.059116204Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-23T11:37:34.109385082Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=50.263467ms grafana | logger=migrator t=2023-11-23T11:37:34.119348747Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-23T11:37:34.120163544Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=814.848µs grafana | logger=migrator t=2023-11-23T11:37:34.130464221Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-23T11:37:34.132504492Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=2.03865ms grafana | logger=migrator t=2023-11-23T11:37:34.142624921Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-23T11:37:34.142867389Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=243.048µs grafana | logger=migrator t=2023-11-23T11:37:34.153739535Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-23T11:37:34.155261948Z level=info msg="Migration successfully executed" id="create permission table" duration=1.521873ms grafana | logger=migrator t=2023-11-23T11:37:34.168041729Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-23T11:37:34.16978857Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.748521ms 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 | -------------- 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 | grafana | logger=migrator t=2023-11-23T11:37:34.182047214Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-23T11:37:34.184733407Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=2.685333ms grafana | logger=migrator t=2023-11-23T11:37:34.190162754Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-23T11:37:34.191072485Z level=info msg="Migration successfully executed" id="create role table" duration=908.681µs grafana | logger=migrator t=2023-11-23T11:37:34.194920489Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-23T11:37:34.20332711Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.405311ms grafana | logger=migrator t=2023-11-23T11:37:34.208434216Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-23T11:37:34.217926074Z level=info msg="Migration successfully executed" id="add column group_name" duration=9.486768ms grafana | logger=migrator t=2023-11-23T11:37:34.221264109Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-23T11:37:34.222024645Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=760.676µs grafana | logger=migrator t=2023-11-23T11:37:34.225191616Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-23T11:37:34.225949522Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=765.637µs grafana | logger=migrator t=2023-11-23T11:37:34.229874957Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-23T11:37:34.230977936Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.100198ms grafana | logger=migrator t=2023-11-23T11:37:34.234346842Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-23T11:37:34.235115218Z level=info msg="Migration successfully executed" id="create team role table" duration=768.016µs grafana | logger=migrator t=2023-11-23T11:37:34.238306158Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-23T11:37:34.239376386Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.070658ms grafana | logger=migrator t=2023-11-23T11:37:34.243605572Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-23T11:37:34.245310761Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.706289ms grafana | logger=migrator t=2023-11-23T11:37:34.249962181Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-23T11:37:34.251097821Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.13989ms grafana | logger=migrator t=2023-11-23T11:37:34.254589551Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-23T11:37:34.255361688Z level=info msg="Migration successfully executed" id="create user role table" duration=772.167µs grafana | logger=migrator t=2023-11-23T11:37:34.262615849Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-23T11:37:34.264258706Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.645147ms grafana | logger=migrator t=2023-11-23T11:37:34.267820929Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-23T11:37:34.269760496Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.938037ms grafana | logger=migrator t=2023-11-23T11:37:34.273377951Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-23T11:37:34.274554771Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.17733ms grafana | logger=migrator t=2023-11-23T11:37:34.282801247Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-23T11:37:34.283553762Z level=info msg="Migration successfully executed" id="create builtin role table" duration=756.346µs grafana | logger=migrator t=2023-11-23T11:37:34.287145687Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-23T11:37:34.288474783Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.327626ms grafana | logger=migrator t=2023-11-23T11:37:34.292904696Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-23T11:37:34.294502631Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.597255ms grafana | logger=migrator t=2023-11-23T11:37:34.30141637Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-23T11:37:34.309411797Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.984557ms grafana | logger=migrator t=2023-11-23T11:37:34.316057606Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-23T11:37:34.317152674Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.094738ms grafana | logger=migrator t=2023-11-23T11:37:34.322349214Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-23T11:37:34.323991041Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.640047ms grafana | logger=migrator t=2023-11-23T11:37:34.329110328Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-23T11:37:34.330711213Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.597634ms grafana | logger=migrator t=2023-11-23T11:37:34.33784823Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-23T11:37:34.339086262Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.237702ms grafana | logger=migrator t=2023-11-23T11:37:34.343449834Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-23T11:37:34.344659915Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.209372ms grafana | logger=migrator t=2023-11-23T11:37:34.350276909Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-23T11:37:34.351348367Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.071078ms grafana | logger=migrator t=2023-11-23T11:37:34.3555007Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-23T11:37:34.364555773Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.053212ms grafana | logger=migrator t=2023-11-23T11:37:34.369230545Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-23T11:37:34.375296744Z level=info msg="Migration successfully executed" id="permission kind migration" duration=6.06587ms 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 | grafana | logger=migrator t=2023-11-23T11:37:34.378397121Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-11-23T11:37:34.386350806Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.953195ms grafana | logger=migrator t=2023-11-23T11:37:34.390817571Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-23T11:37:34.39887995Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.062379ms grafana | logger=migrator t=2023-11-23T11:37:34.418758757Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-23T11:37:34.420402083Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.639916ms grafana | logger=migrator t=2023-11-23T11:37:34.448529225Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-23T11:37:34.450033458Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.504843ms grafana | logger=migrator t=2023-11-23T11:37:34.454961809Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-23T11:37:34.456638256Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.676038ms grafana | logger=migrator t=2023-11-23T11:37:34.460010312Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-23T11:37:34.460069074Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=59.442µs grafana | logger=migrator t=2023-11-23T11:37:34.46255437Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-23T11:37:34.462584891Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=31.171µs grafana | logger=migrator t=2023-11-23T11:37:34.466708284Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-23T11:37:34.467351106Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=642.672µs grafana | logger=migrator t=2023-11-23T11:37:34.470866808Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-23T11:37:34.471684797Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=819.459µs grafana | logger=migrator t=2023-11-23T11:37:34.475064863Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-23T11:37:34.475701035Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=639.902µs grafana | logger=migrator t=2023-11-23T11:37:34.479350941Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-23T11:37:34.479536827Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=185.436µs grafana | logger=migrator t=2023-11-23T11:37:34.483627239Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-23T11:37:34.484102886Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=472.366µs grafana | logger=migrator t=2023-11-23T11:37:34.487982249Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-23T11:37:34.489129639Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.14657ms grafana | logger=migrator t=2023-11-23T11:37:34.492840677Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-23T11:37:34.493906595Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.065668ms grafana | logger=migrator t=2023-11-23T11:37:34.498255125Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-23T11:37:34.506044914Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.789399ms grafana | logger=migrator t=2023-11-23T11:37:34.509507024Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-23T11:37:34.509567836Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=61.352µs grafana | logger=migrator t=2023-11-23T11:37:34.512993214Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-23T11:37:34.513908996Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=914.862µs grafana | logger=migrator t=2023-11-23T11:37:34.517064895Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-23T11:37:34.518170363Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.102878ms grafana | logger=migrator t=2023-11-23T11:37:34.524212702Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-23T11:37:34.525244058Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.031416ms grafana | logger=migrator t=2023-11-23T11:37:34.528250502Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-23T11:37:34.539159469Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.910447ms grafana | logger=migrator t=2023-11-23T11:37:34.542690661Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-23T11:37:34.543399685Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=708.974µs grafana | logger=migrator t=2023-11-23T11:37:34.547382413Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-23T11:37:34.548354537Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=972.004µs grafana | logger=migrator t=2023-11-23T11:37:34.551455664Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-23T11:37:34.582692983Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.237359ms grafana | logger=migrator t=2023-11-23T11:37:34.586584379Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-23T11:37:34.587320974Z level=info msg="Migration successfully executed" id="create correlation v2" duration=736.285µs grafana | logger=migrator t=2023-11-23T11:37:34.590292916Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-23T11:37:34.591364033Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.070317ms grafana | logger=migrator t=2023-11-23T11:37:34.594697669Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-23T11:37:34.595799817Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.101858ms grafana | logger=migrator t=2023-11-23T11:37:34.599751543Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-23T11:37:34.600765309Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.013686ms grafana | logger=migrator t=2023-11-23T11:37:34.603935908Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-23T11:37:34.604177857Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=242.138µs grafana | logger=migrator t=2023-11-23T11:37:34.606755396Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-23T11:37:34.60746937Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=713.914µs grafana | logger=migrator t=2023-11-23T11:37:34.611384045Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-23T11:37:34.619367791Z level=info msg="Migration successfully executed" id="add provisioning column" duration=7.983346ms grafana | logger=migrator t=2023-11-23T11:37:34.622593893Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-23T11:37:34.623347179Z level=info msg="Migration successfully executed" id="create entity_events table" duration=753.187µs grafana | logger=migrator t=2023-11-23T11:37:34.627551834Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-23T11:37:34.628458006Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=904.012µs grafana | logger=migrator t=2023-11-23T11:37:34.631727059Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-23T11:37:34.632184025Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-23T11:37:34.634735173Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-23T11:37:34.635194249Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-23T11:37:34.638339677Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-23T11:37:34.639083783Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=746.146µs grafana | logger=migrator t=2023-11-23T11:37:34.643271138Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-23T11:37:34.644158308Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=887.34µs grafana | logger=migrator t=2023-11-23T11:37:34.647270796Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-23T11:37:34.648355704Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.082568ms grafana | logger=migrator t=2023-11-23T11:37:34.653214831Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-23T11:37:34.654265738Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.050267ms grafana | logger=migrator t=2023-11-23T11:37:34.657400256Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-23T11:37:34.65839069Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=990.084µs grafana | logger=migrator t=2023-11-23T11:37:34.661626892Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-23T11:37:34.662642088Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.015136ms grafana | logger=migrator t=2023-11-23T11:37:34.666588064Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-23T11:37:34.667339699Z level=info msg="Migration successfully executed" id="Drop public config table" duration=751.275µs grafana | logger=migrator t=2023-11-23T11:37:34.670645064Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-23T11:37:34.671589047Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=943.893µs grafana | logger=migrator t=2023-11-23T11:37:34.67573632Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-23T11:37:34.676758216Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.021746ms grafana | logger=migrator t=2023-11-23T11:37:34.680332059Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-23T11:37:34.681384865Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.052576ms grafana | logger=migrator t=2023-11-23T11:37:34.684632228Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-23T11:37:34.685698174Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.065776ms grafana | logger=migrator t=2023-11-23T11:37:34.689686142Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-23T11:37:34.722697723Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.012471ms grafana | logger=migrator t=2023-11-23T11:37:34.727068645Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-23T11:37:34.733411724Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.341949ms grafana | logger=migrator t=2023-11-23T11:37:34.737947471Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-23T11:37:34.745779371Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=7.83452ms 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 grafana | logger=migrator t=2023-11-23T11:37:34.749414617Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-23T11:37:34.749574273Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=159.546µs grafana | logger=migrator t=2023-11-23T11:37:34.752260166Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-23T11:37:34.758596024Z level=info msg="Migration successfully executed" id="add share column" duration=6.335518ms grafana | logger=migrator t=2023-11-23T11:37:34.761604828Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-23T11:37:34.761746843Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=142.265µs grafana | logger=migrator t=2023-11-23T11:37:34.764872651Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-23T11:37:34.765758312Z level=info msg="Migration successfully executed" id="create file table" duration=885.661µs grafana | logger=migrator t=2023-11-23T11:37:34.770066641Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-23T11:37:34.77118286Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.116189ms grafana | logger=migrator t=2023-11-23T11:37:34.879571296Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-23T11:37:34.881337678Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.767212ms grafana | logger=migrator t=2023-11-23T11:37:34.885339626Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-23T11:37:34.886046511Z level=info msg="Migration successfully executed" id="create file_meta table" duration=706.755µs grafana | logger=migrator t=2023-11-23T11:37:34.890588417Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-23T11:37:34.892639598Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.051581ms grafana | logger=migrator t=2023-11-23T11:37:34.89818152Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-23T11:37:34.898280503Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=99.573µs grafana | logger=migrator t=2023-11-23T11:37:34.901403911Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-23T11:37:34.901476764Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=73.593µs grafana | logger=migrator t=2023-11-23T11:37:34.906049462Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-23T11:37:34.907005515Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=955.253µs grafana | logger=migrator t=2023-11-23T11:37:34.910797056Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-23T11:37:34.911149448Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=352.552µs grafana | logger=migrator t=2023-11-23T11:37:34.914621268Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-23T11:37:34.915894122Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.273664ms grafana | logger=migrator t=2023-11-23T11:37:34.919162105Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-23T11:37:34.927947738Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.785763ms grafana | logger=migrator t=2023-11-23T11:37:34.932122073Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-23T11:37:34.932243037Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=121.054µs grafana | logger=migrator t=2023-11-23T11:37:34.934706553Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-23T11:37:34.93550222Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=798.018µs grafana | logger=migrator t=2023-11-23T11:37:34.938456262Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-23T11:37:34.938861596Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=405.954µs grafana | logger=migrator t=2023-11-23T11:37:34.941932122Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-23T11:37:34.94215265Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=220.458µs grafana | logger=migrator t=2023-11-23T11:37:34.946107667Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-23T11:37:34.946601403Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=493.447µs grafana | logger=migrator t=2023-11-23T11:37:34.949804614Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-23T11:37:34.958299928Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.495864ms grafana | logger=migrator t=2023-11-23T11:37:34.961746568Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-23T11:37:34.970271392Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.524924ms grafana | logger=migrator t=2023-11-23T11:37:34.974188037Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-23T11:37:34.974971634Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=783.267µs grafana | logger=migrator t=2023-11-23T11:37:34.977916006Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-23T11:37:35.082452877Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=104.534631ms grafana | logger=migrator t=2023-11-23T11:37:35.086187269Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-23T11:37:35.087054357Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=866.878µs grafana | logger=migrator t=2023-11-23T11:37:35.091634857Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-23T11:37:35.093550861Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.915713ms grafana | logger=migrator t=2023-11-23T11:37:35.097036985Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-23T11:37:35.133915493Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.880349ms grafana | logger=migrator t=2023-11-23T11:37:35.138446242Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-23T11:37:35.138590587Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=144.335µs grafana | logger=migrator t=2023-11-23T11:37:35.141764711Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-23T11:37:35.14205567Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=294.179µs grafana | logger=migrator t=2023-11-23T11:37:35.146095962Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-11-23T11:37:35.146421493Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=325.811µs grafana | logger=migrator t=2023-11-23T11:37:35.149850966Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-23T11:37:35.150724134Z level=info msg="Migration successfully executed" id="create folder table" duration=872.838µs grafana | logger=migrator t=2023-11-23T11:37:35.190784827Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-23T11:37:35.192735201Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.949814ms grafana | logger=migrator t=2023-11-23T11:37:35.19636949Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-23T11:37:35.198230512Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.860212ms grafana | logger=migrator t=2023-11-23T11:37:35.201916042Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-23T11:37:35.201939163Z level=info msg="Migration successfully executed" id="Update folder title length" duration=23.691µs grafana | logger=migrator t=2023-11-23T11:37:35.206316017Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-23T11:37:35.207717902Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.401665ms grafana | logger=migrator t=2023-11-23T11:37:35.211578339Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-23T11:37:35.212590902Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.009793ms grafana | logger=migrator t=2023-11-23T11:37:35.21587557Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-23T11:37:35.21708201Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.20593ms grafana | logger=migrator t=2023-11-23T11:37:35.22105882Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-23T11:37:35.221922238Z level=info msg="Migration successfully executed" id="create anon_device table" duration=863.458µs grafana | logger=migrator t=2023-11-23T11:37:35.225062982Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-23T11:37:35.22624571Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.184288ms grafana | logger=migrator t=2023-11-23T11:37:35.230621194Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-23T11:37:35.231681478Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.059894ms grafana | logger=migrator t=2023-11-23T11:37:35.236368362Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-23T11:37:35.237625633Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.257291ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-23T11:37:35.241424177Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-23T11:37:35.24332816Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.903813ms grafana | logger=migrator t=2023-11-23T11:37:35.247804607Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-23T11:37:35.249314906Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.510639ms grafana | logger=migrator t=2023-11-23T11:37:35.255042674Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-23T11:37:35.255576571Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=538.427µs grafana | logger=migrator t=2023-11-23T11:37:35.297184985Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.51200562s grafana | logger=sqlstore t=2023-11-23T11:37:35.310690538Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-23T11:37:35.310889585Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-23T11:37:35.31412565Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-23T11:37:35.373968093Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-23T11:37:35.37631014Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-23T11:37:35.380344572Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-23T11:37:37.544856378Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-23T11:37:37.546765113Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-23T11:37:37.562722581Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-23T11:37:37.562743752Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-11-23T11:37:37.563121495Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-11-23T11:37:37.563211078Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-11-23T11:37:37.579558849Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=sqlstore.transactions t=2023-11-23T11:37:37.579904501Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2023-11-23T11:37:37.606711762Z level=info msg="Update check succeeded" duration=41.981542ms grafana | logger=ngalert.state.manager t=2023-11-23T11:37:37.607689535Z level=info msg="State cache has been initialized" states=0 duration=44.475727ms grafana | logger=ngalert.scheduler t=2023-11-23T11:37:37.607733856Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ngalert.multiorg.alertmanager t=2023-11-23T11:37:37.607786468Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ticker t=2023-11-23T11:37:37.607946964Z level=info msg=starting first_tick=2023-11-23T11:37:40Z grafana | logger=ngalert.migration t=2023-11-23T11:37:37.618296859Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-23T11:37:37.618975272Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-23T11:37:37.619333475Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-23T11:37:37.619876773Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-23T11:37:37.620402972Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-23T11:37:37.623030802Z level=info msg="Completed legacy migration" grafana | logger=sqlstore.transactions t=2023-11-23T11:37:37.706072152Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-23T11:37:37.742931498Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-23T11:37:37.83356801Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=plugins.update.checker t=2023-11-23T11:37:38.127378027Z level=info msg="Update check succeeded" duration=563.91825ms grafana | logger=infra.usagestats t=2023-11-23T11:38:26.575785999Z level=info msg="Usage stats are ready to report" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:39 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:40 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:41 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:42 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2311231137390800u 1 2023-11-23 11:37:43 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2311231137390900u 1 2023-11-23 11:37:43 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2311231137391000u 1 2023-11-23 11:37:43 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2311231137391000u 1 2023-11-23 11:37:43 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2311231137391000u 1 2023-11-23 11:37:43 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2311231137391000u 1 2023-11-23 11:37:43 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2311231137391000u 1 2023-11-23 11:37:43 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2311231137391000u 1 2023-11-23 11:37:43 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2311231137391000u 1 2023-11-23 11:37:43 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2311231137391000u 1 2023-11-23 11:37:44 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2311231137391000u 1 2023-11-23 11:37:44 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2311231137391100u 1 2023-11-23 11:37:44 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2311231137391200u 1 2023-11-23 11:37:44 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2311231137391200u 1 2023-11-23 11:37:44 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2311231137391200u 1 2023-11-23 11:37:44 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2311231137391200u 1 2023-11-23 11:37:44 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping 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.8hcrU8sMYm ]] + rsync -av /tmp/tmp.8hcrU8sMYm/ /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,059 bytes received 95 bytes 2,694,308.00 bytes/sec total size is 1,346,409 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 2096 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/jenkins3845203518690860516.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7395143872813436292.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/jenkins2629842175959122297.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-l01D from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-l01D/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6671423519791475192.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config11686537286036393462tmp 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/jenkins12676473697536697174.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8801644697854898437.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-l01D from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-l01D/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6987648702777409196.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11177188122322999195.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-l01D from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-l01D/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/jenkins8555185501285930495.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-l01D from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-l01D/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/188 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-3389 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 799 27458 0 3909 30911 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 fq_codel state UP group default qlen 1000 link/ether fa:16:3e:b0:d3:de brd ff:ff:ff:ff:ff:ff inet 10.30.107.225/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86051sec preferred_lft 86051sec inet6 fe80::f816:3eff:feb0:d3de/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:ca:e3:3d:b2 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-3389) 11/23/23 _x86_64_ (8 CPU) 11:34:30 LINUX RESTART (8 CPU) 11:35:01 tps rtps wtps bread/s bwrtn/s 11:36:01 121.31 50.27 71.04 2221.23 29784.50 11:37:01 133.46 22.94 110.51 2755.75 36406.80 11:38:01 383.50 13.41 370.09 806.92 81892.45 11:39:01 18.26 0.07 18.20 3.07 23072.39 11:40:01 56.52 1.47 55.06 116.78 25016.75 Average: 142.61 17.63 124.98 1180.80 39234.48 11:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:36:01 30186820 31770800 2752400 8.36 67988 1826628 1363880 4.01 805340 1663368 168696 11:37:01 29264960 31709532 3674260 11.15 94240 2631920 1549952 4.56 951072 2378340 580736 11:38:01 26928036 30519688 6011184 18.25 125664 3668216 4775704 14.05 2229396 3339620 280 11:39:01 26873892 30464980 6065328 18.41 125776 3669028 4642780 13.66 2285416 3337200 168 11:40:01 28096124 31638288 4843096 14.70 129148 3650664 1501036 4.42 1147660 3276356 53288 Average: 28269966 31220658 4669254 14.18 108563 3089291 2766670 8.14 1483777 2798977 160634 11:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 ens3 361.91 222.00 1572.07 60.50 0.00 0.00 0.00 0.00 11:36:01 lo 1.40 1.40 0.15 0.15 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 ens3 127.06 84.22 2996.37 11.20 0.00 0.00 0.00 0.00 11:37:01 br-175f743132ca 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 lo 5.46 5.46 0.51 0.51 0.00 0.00 0.00 0.00 11:38:01 veth6cd4a63 0.05 0.35 0.00 0.02 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 200.18 126.16 6345.16 9.76 0.00 0.00 0.00 0.00 11:38:01 veth21c3a91 23.88 21.86 12.03 16.86 0.00 0.00 0.00 0.00 11:39:01 veth6cd4a63 0.15 0.17 0.02 0.47 0.00 0.00 0.00 0.00 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:01 ens3 3.98 3.73 0.77 0.97 0.00 0.00 0.00 0.00 11:39:01 veth21c3a91 91.20 72.89 34.65 102.22 0.00 0.00 0.00 0.01 11:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:40:01 ens3 75.07 49.33 123.77 25.09 0.00 0.00 0.00 0.00 11:40:01 lo 34.13 34.13 10.41 10.41 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 153.64 97.09 2207.65 21.50 0.00 0.00 0.00 0.00 Average: lo 6.05 6.05 2.02 2.02 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-3389) 11/23/23 _x86_64_ (8 CPU) 11:34:30 LINUX RESTART (8 CPU) 11:35:01 CPU %user %nice %system %iowait %steal %idle 11:36:01 all 11.48 0.00 0.95 2.58 0.03 84.96 11:36:01 0 16.79 0.00 0.97 3.65 0.03 78.56 11:36:01 1 14.14 0.00 1.05 1.12 0.03 83.66 11:36:01 2 9.24 0.00 0.75 0.37 0.03 89.61 11:36:01 3 3.16 0.00 0.33 0.12 0.05 96.33 11:36:01 4 2.76 0.00 0.82 12.52 0.02 83.88 11:36:01 5 8.13 0.00 0.78 0.62 0.02 90.45 11:36:01 6 5.43 0.00 0.62 0.10 0.02 93.84 11:36:01 7 32.17 0.00 2.32 2.12 0.07 63.32 11:37:01 all 10.38 0.00 1.26 2.67 0.04 85.66 11:37:01 0 19.82 0.00 1.69 1.97 0.05 76.47 11:37:01 1 13.93 0.00 1.42 0.18 0.03 84.43 11:37:01 2 3.47 0.00 0.62 0.20 0.02 95.69 11:37:01 3 2.04 0.00 1.51 3.58 0.03 92.84 11:37:01 4 16.80 0.00 1.54 9.85 0.05 71.76 11:37:01 5 11.41 0.00 1.34 0.48 0.03 86.74 11:37:01 6 7.88 0.00 0.85 3.36 0.02 87.88 11:37:01 7 7.64 0.00 1.05 1.69 0.03 89.58 11:38:01 all 16.96 0.00 3.47 5.35 0.07 74.15 11:38:01 0 11.56 0.00 3.15 8.31 0.05 76.93 11:38:01 1 14.60 0.00 3.68 2.15 0.07 79.49 11:38:01 2 13.94 0.00 2.41 0.73 0.07 82.85 11:38:01 3 18.13 0.00 4.17 2.47 0.07 75.16 11:38:01 4 21.86 0.00 4.62 23.50 0.07 49.95 11:38:01 5 16.93 0.00 3.16 1.14 0.05 78.71 11:38:01 6 18.34 0.00 3.03 1.77 0.07 76.80 11:38:01 7 20.35 0.00 3.52 2.69 0.08 73.36 11:39:01 all 4.14 0.00 0.36 0.98 0.02 94.50 11:39:01 0 1.92 0.00 0.32 0.13 0.05 97.58 11:39:01 1 5.76 0.00 0.35 0.00 0.02 93.87 11:39:01 2 5.20 0.00 0.33 0.02 0.02 94.44 11:39:01 3 2.43 0.00 0.52 0.02 0.02 97.02 11:39:01 4 4.80 0.00 0.40 0.07 0.02 94.71 11:39:01 5 6.28 0.00 0.65 7.62 0.02 85.43 11:39:01 6 2.45 0.00 0.13 0.00 0.02 97.40 11:39:01 7 4.25 0.00 0.22 0.00 0.02 95.52 11:40:01 all 6.69 0.00 0.66 2.43 0.03 90.19 11:40:01 0 1.40 0.00 0.52 3.74 0.03 94.31 11:40:01 1 1.87 0.00 0.57 9.60 0.03 87.93 11:40:01 2 5.41 0.00 0.45 0.08 0.02 94.04 11:40:01 3 20.53 0.00 1.25 1.97 0.05 76.21 11:40:01 4 3.27 0.00 0.40 0.15 0.02 96.16 11:40:01 5 0.92 0.00 0.43 3.01 0.02 95.63 11:40:01 6 3.70 0.00 0.47 0.22 0.02 95.60 11:40:01 7 16.44 0.00 1.15 0.72 0.05 81.64 Average: all 9.92 0.00 1.34 2.80 0.04 85.91 Average: 0 10.30 0.00 1.33 3.55 0.04 84.78 Average: 1 10.06 0.00 1.41 2.61 0.04 85.88 Average: 2 7.44 0.00 0.91 0.28 0.03 91.34 Average: 3 9.26 0.00 1.55 1.63 0.04 87.52 Average: 4 9.88 0.00 1.55 9.19 0.03 79.34 Average: 5 8.72 0.00 1.27 2.58 0.03 87.40 Average: 6 7.54 0.00 1.02 1.09 0.03 90.33 Average: 7 16.16 0.00 1.65 1.44 0.05 80.71