Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-1612 (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-vMY4JJWhDP6x/agent.2132 SSH_AGENT_PID=2134 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_17958822392537649135.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_17958822392537649135.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/jenkins12696841653057274719.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-4gWg 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-4gWg/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-4gWg/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.3 botocore==1.32.3 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.3.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==3.11.0 prettytable==3.9.0 pyasn1==0.5.0 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.2.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.0 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.6 wcwidth==0.2.10 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/jenkins10365374830188897968.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/jenkins2319028645979310813.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.o86Fk8MJJK ++ echo ROBOT_VENV=/tmp/tmp.o86Fk8MJJK +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.o86Fk8MJJK ++ source /tmp/tmp.o86Fk8MJJK/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.o86Fk8MJJK +++ 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.o86Fk8MJJK/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.o86Fk8MJJK) ' '!=' x ']' +++ PS1='(tmp.o86Fk8MJJK) ' +++ 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.o86Fk8MJJK/src/onap ++ rm -rf /tmp/tmp.o86Fk8MJJK/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.o86Fk8MJJK/bin/activate + '[' -z /tmp/tmp.o86Fk8MJJK/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.o86Fk8MJJK/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.o86Fk8MJJK ++ 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.o86Fk8MJJK/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.o86Fk8MJJK) ' ++ '[' 'x(tmp.o86Fk8MJJK) ' '!=' x ']' ++ PS1='(tmp.o86Fk8MJJK) (tmp.o86Fk8MJJK) ' ++ 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.KLC2ztxfMp + cd /tmp/tmp.KLC2ztxfMp + 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:be0359383ed7d8436c53760cf8ff3671043ee3e0169f363ef33ecb329102fe4c Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 12 seconds mariadb Up 13 seconds prometheus Up 10 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 18 seconds prometheus Up 15 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ 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:16 up 3 min, 0 users, load average: 3.07, 1.09, 0.41 Tasks: 177 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.3 us, 2.1 sy, 0.0 ni, 82.7 id, 3.8 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS be2154ad065a grafana 0.03% 98.32MiB / 31.41GiB 0.31% 18.6kB / 3.17kB 0B / 23.4MB 20 842a9ffb89f8 policy-api 0.10% 830.8MiB / 31.41GiB 2.58% 1.04MB / 739kB 0B / 0B 50 4ef5ca797b8b mariadb 0.01% 100.6MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 68MB 27 a6445fe855d4 prometheus 0.00% 18.79MiB / 31.41GiB 0.06% 782B / 0B 201kB / 0B 13 + echo + cd /tmp/tmp.KLC2ztxfMp + 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.KLC2ztxfMp/output.xml Log: /tmp/tmp.KLC2ztxfMp/log.html Report: /tmp/tmp.KLC2ztxfMp/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:38:27 up 4 min, 0 users, load average: 1.12, 0.94, 0.41 Tasks: 175 total, 2 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.5 us, 1.7 sy, 0.0 ni, 85.6 id, 3.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.9G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS be2154ad065a grafana 0.10% 98.77MiB / 31.41GiB 0.31% 19.8kB / 4.41kB 0B / 23.4MB 20 842a9ffb89f8 policy-api 0.11% 1.012GiB / 31.41GiB 3.22% 7.32MB / 2.87MB 0B / 0B 52 4ef5ca797b8b mariadb 0.02% 101.3MiB / 31.41GiB 0.31% 2.75MB / 7.36MB 11MB / 68.1MB 18 a6445fe855d4 prometheus 0.00% 24.49MiB / 31.41GiB 0.08% 37.5kB / 7.07kB 201kB / 0B 14 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2023-11-19T11:36:50.948810764Z level=info msg="Starting Grafana" version=10.2.1 commit=533a733e4eda44041e43358c5a51203e9b42c9ea branch=HEAD compiled=2023-11-14T09:57:11Z grafana | logger=settings t=2023-11-19T11:36:50.949195888Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-19T11:36:50.949233998Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-19T11:36:50.949289489Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-19T11:36:50.949322629Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-19T11:36:50.94938172Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-19T11:36:50.94941304Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-19T11:36:50.949498231Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-19T11:36:50.949528971Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-19T11:36:50.949591522Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-19T11:36:50.949649122Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-19T11:36:50.949712023Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-19T11:36:50.949770184Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-19T11:36:50.949852684Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-19T11:36:50.949909135Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-19T11:36:50.949999086Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-19T11:36:50.950028226Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-19T11:36:50.950088887Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-19T11:36:50.950143647Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-19T11:36:50.950544811Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-19T11:36:50.950592312Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-19T11:36:50.951377059Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-19T11:36:50.952589472Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-19T11:36:50.953533562Z level=info msg="Migration successfully executed" id="create migration_log table" duration=943.87µs grafana | logger=migrator t=2023-11-19T11:36:51.099972681Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-19T11:36:51.102169446Z level=info msg="Migration successfully executed" id="create user table" duration=2.201135ms grafana | logger=migrator t=2023-11-19T11:36:51.107369604Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-19T11:36:51.108793544Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.4233ms grafana | logger=migrator t=2023-11-19T11:36:51.113025384Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-19T11:36:51.11385898Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=833.316µs grafana | logger=migrator t=2023-11-19T11:36:51.117034063Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-19T11:36:51.11794206Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=908.557µs grafana | logger=migrator t=2023-11-19T11:36:51.122676274Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-19T11:36:51.123420369Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=744.105µs grafana | logger=migrator t=2023-11-19T11:36:51.12634574Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-19T11:36:51.129319601Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.973141ms grafana | logger=migrator t=2023-11-19T11:36:51.132320042Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-19T11:36:51.133163238Z level=info msg="Migration successfully executed" id="create user table v2" duration=842.656µs grafana | logger=migrator t=2023-11-19T11:36:51.138117834Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-19T11:36:51.138924449Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=806.525µs grafana | logger=migrator t=2023-11-19T11:36:51.142868328Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-19T11:36:51.143670073Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=801.835µs grafana | logger=migrator t=2023-11-19T11:36:51.146685095Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-19T11:36:51.147196658Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=510.883µs grafana | logger=migrator t=2023-11-19T11:36:51.150063249Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-19T11:36:51.150673814Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=609.895µs grafana | logger=migrator t=2023-11-19T11:36:51.156146123Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-19T11:36:51.157436222Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.288949ms grafana | logger=migrator t=2023-11-19T11:36:51.160024281Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-19T11:36:51.160139161Z level=info msg="Migration successfully executed" id="Update user table charset" duration=114.91µs grafana | logger=migrator t=2023-11-19T11:36:51.162390968Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-19T11:36:51.163556976Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.165318ms grafana | logger=migrator t=2023-11-19T11:36:51.166347646Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-19T11:36:51.166678248Z level=info msg="Migration successfully executed" id="Add missing user data" duration=329.632µs grafana | logger=migrator t=2023-11-19T11:36:51.220937977Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-19T11:36:51.223112182Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=2.152185ms grafana | logger=migrator t=2023-11-19T11:36:51.226219825Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-19T11:36:51.227586955Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.36742ms grafana | logger=migrator t=2023-11-19T11:36:51.231051019Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-19T11:36:51.232290759Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.23878ms grafana | logger=migrator t=2023-11-19T11:36:51.236842991Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-19T11:36:51.246680241Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.83635ms grafana | logger=migrator t=2023-11-19T11:36:51.310064556Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-19T11:36:51.311421635Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.356379ms grafana | logger=migrator t=2023-11-19T11:36:51.314637348Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-19T11:36:51.315921337Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.283719ms grafana | logger=migrator t=2023-11-19T11:36:51.320664511Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-19T11:36:51.321536938Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=869.877µs grafana | logger=migrator t=2023-11-19T11:36:51.324414629Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-19T11:36:51.325275544Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=858.486µs grafana | logger=migrator t=2023-11-19T11:36:51.328093425Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-19T11:36:51.32892176Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=828.236µs grafana | logger=migrator t=2023-11-19T11:36:51.33168972Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-19T11:36:51.33175975Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=70.78µs grafana | logger=migrator t=2023-11-19T11:36:51.335724809Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-19T11:36:51.336524475Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=799.786µs grafana | logger=migrator t=2023-11-19T11:36:51.339423235Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-19T11:36:51.340199531Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=774.976µs grafana | logger=migrator t=2023-11-19T11:36:51.343902668Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-19T11:36:51.344668603Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=766.005µs grafana | logger=migrator t=2023-11-19T11:36:51.384240226Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-19T11:36:51.385766338Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.529882ms grafana | logger=migrator t=2023-11-19T11:36:51.39164487Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-19T11:36:51.395643638Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.999468ms grafana | logger=migrator t=2023-11-19T11:36:51.489733364Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-19T11:36:51.491461056Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.726682ms grafana | logger=migrator t=2023-11-19T11:36:51.495832987Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-19T11:36:51.497120616Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.290749ms grafana | logger=migrator t=2023-11-19T11:36:51.50185353Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-19T11:36:51.502704326Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=850.206µs grafana | logger=migrator t=2023-11-19T11:36:51.505762528Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-19T11:36:51.506574304Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=810.546µs grafana | logger=migrator t=2023-11-19T11:36:51.513063511Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-19T11:36:51.513995947Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=931.816µs grafana | logger=migrator t=2023-11-19T11:36:51.518688761Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-19T11:36:51.519627587Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=937.566µs grafana | logger=migrator t=2023-11-19T11:36:51.522323126Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-19T11:36:51.523258604Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=934.118µs grafana | logger=migrator t=2023-11-19T11:36:51.526179775Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-19T11:36:51.526608728Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=428.173µs grafana | logger=migrator t=2023-11-19T11:36:51.529394888Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-19T11:36:51.530116872Z level=info msg="Migration successfully executed" id="create star table" duration=717.335µs grafana | logger=migrator t=2023-11-19T11:36:51.536928101Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-19T11:36:51.538268031Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.34142ms grafana | logger=migrator t=2023-11-19T11:36:51.54240486Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-19T11:36:51.543490358Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.085608ms grafana | logger=migrator t=2023-11-19T11:36:51.554302326Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-19T11:36:51.556085928Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.782862ms grafana | logger=migrator t=2023-11-19T11:36:51.561769488Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-19T11:36:51.562544455Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=772.047µs grafana | logger=migrator t=2023-11-19T11:36:51.566717444Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-19T11:36:51.56755487Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=837.266µs grafana | logger=migrator t=2023-11-19T11:36:51.57039184Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-19T11:36:51.571239017Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=847.037µs grafana | logger=migrator t=2023-11-19T11:36:51.574809222Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-19T11:36:51.575785599Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=975.977µs grafana | logger=migrator t=2023-11-19T11:36:51.58011126Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-19T11:36:51.580137Z level=info msg="Migration successfully executed" id="Update org table charset" duration=26.56µs grafana | logger=migrator t=2023-11-19T11:36:51.582232086Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-19T11:36:51.582260186Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=28.8µs grafana | logger=migrator t=2023-11-19T11:36:51.585299177Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-19T11:36:51.58570669Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=402.853µs grafana | logger=migrator t=2023-11-19T11:36:51.59001748Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-19T11:36:51.591471891Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.452621ms grafana | logger=migrator t=2023-11-19T11:36:51.596986551Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-19T11:36:51.597826546Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=840.195µs grafana | logger=migrator t=2023-11-19T11:36:51.6011388Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-19T11:36:51.602095738Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=953.537µs grafana | logger=migrator t=2023-11-19T11:36:51.605155229Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-19T11:36:51.605964075Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=808.366µs grafana | logger=migrator t=2023-11-19T11:36:51.608824385Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-19T11:36:51.609691561Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=866.776µs grafana | logger=migrator t=2023-11-19T11:36:51.614109833Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-19T11:36:51.614998389Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=887.956µs grafana | logger=migrator t=2023-11-19T11:36:51.61787677Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-19T11:36:51.624573708Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.696508ms grafana | logger=migrator t=2023-11-19T11:36:51.62756399Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-19T11:36:51.628512466Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=948.856µs grafana | logger=migrator t=2023-11-19T11:36:51.632922098Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-19T11:36:51.633713723Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=791.465µs grafana | logger=migrator t=2023-11-19T11:36:51.636576844Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-19T11:36:51.63741706Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=839.975µs grafana | logger=migrator t=2023-11-19T11:36:51.640627463Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-19T11:36:51.641030586Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=403.573µs grafana | logger=migrator t=2023-11-19T11:36:51.645257876Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-19T11:36:51.646129652Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=871.246µs grafana | logger=migrator t=2023-11-19T11:36:51.649064994Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-19T11:36:51.649169894Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=104.26µs grafana | logger=migrator t=2023-11-19T11:36:51.653203953Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-19T11:36:51.65552361Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.318937ms grafana | logger=migrator t=2023-11-19T11:36:51.65984505Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-19T11:36:51.662005546Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.159766ms grafana | logger=migrator t=2023-11-19T11:36:51.664846726Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-19T11:36:51.666694269Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.845793ms grafana | logger=migrator t=2023-11-19T11:36:51.66953735Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-19T11:36:51.670406976Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=867.566µs grafana | logger=migrator t=2023-11-19T11:36:51.674546556Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-19T11:36:51.676452319Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.907343ms grafana | logger=migrator t=2023-11-19T11:36:51.679608371Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-19T11:36:51.68079367Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.218989ms grafana | logger=migrator t=2023-11-19T11:36:51.684143394Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-19T11:36:51.68507595Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=935.156µs grafana | logger=migrator t=2023-11-19T11:36:51.689603533Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-19T11:36:51.689628303Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=25.68µs grafana | logger=migrator t=2023-11-19T11:36:51.72688125Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-19T11:36:51.72696338Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=88.1µs grafana | logger=migrator t=2023-11-19T11:36:51.730882179Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-19T11:36:51.735570632Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=4.690553ms grafana | logger=migrator t=2023-11-19T11:36:51.739947354Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-19T11:36:51.741337534Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.39009ms grafana | logger=migrator t=2023-11-19T11:36:51.787593695Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-19T11:36:51.792735252Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=5.142727ms grafana | logger=migrator t=2023-11-19T11:36:51.798652175Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-19T11:36:51.800949821Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.297066ms grafana | logger=migrator t=2023-11-19T11:36:51.809003329Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-19T11:36:51.809315061Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=311.212µs grafana | logger=migrator t=2023-11-19T11:36:51.813034917Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-19T11:36:51.814223785Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.192628ms grafana | logger=migrator t=2023-11-19T11:36:51.820185669Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-19T11:36:51.821359797Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.174008ms grafana | logger=migrator t=2023-11-19T11:36:51.828033304Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-19T11:36:51.828063724Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=29.2µs grafana | logger=migrator t=2023-11-19T11:36:51.835356677Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-19T11:36:51.836919709Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.561752ms grafana | logger=migrator t=2023-11-19T11:36:51.841769293Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-19T11:36:51.842935732Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.165409ms grafana | logger=migrator t=2023-11-19T11:36:51.848051879Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-19T11:36:51.855094679Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.042229ms grafana | logger=migrator t=2023-11-19T11:36:51.861189062Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-19T11:36:51.861903157Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=713.515µs grafana | logger=migrator t=2023-11-19T11:36:51.868839177Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-19T11:36:51.869698273Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=858.796µs grafana | logger=migrator t=2023-11-19T11:36:51.876001469Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-19T11:36:51.877441868Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.439669ms grafana | logger=migrator t=2023-11-19T11:36:51.885287485Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-19T11:36:51.885775248Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=484.773µs grafana | logger=migrator t=2023-11-19T11:36:51.892559857Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-19T11:36:51.893249752Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=689.735µs grafana | logger=migrator t=2023-11-19T11:36:51.897815494Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-19T11:36:51.90135737Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.539786ms grafana | logger=migrator t=2023-11-19T11:36:51.907549954Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-19T11:36:51.908512671Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=962.787µs grafana | logger=migrator t=2023-11-19T11:36:51.914278922Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-19T11:36:51.914823916Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=537.934µs grafana | logger=migrator t=2023-11-19T11:36:51.920750819Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-19T11:36:51.921191672Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=440.843µs grafana | logger=migrator t=2023-11-19T11:36:51.928593754Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-19T11:36:51.929900524Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.30638ms grafana | logger=migrator t=2023-11-19T11:36:51.936141309Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-19T11:36:51.939934846Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.795207ms grafana | logger=migrator t=2023-11-19T11:36:51.945372135Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-11-19T11:36:51.946341062Z level=info msg="Migration successfully executed" id="create data_source table" duration=968.697µs mariadb | 2023-11-19 11:36:46+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-19 11:36:47+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-19 11:36:47+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-19 11:36:47+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-19 11:36:47 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-19 11:36:47 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-19 11:36:47 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-19 11:36:48+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-19 11:36:48+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-19 11:36:48+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-19 11:36:48 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2023-11-19 11:36:48 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 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.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-11-19T11:37:01.134+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 33 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-19T11:37:01.137+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-19T11:37:02.440+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-19T11:37:02.528+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-19T11:37:03.560+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-19T11:37:03.573+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-19T11:37:03.573+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-19T11:37:03.574+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-19T11:37:03.654+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-19T11:37:03.654+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2457 ms policy-api | [2023-11-19T11:37:04.152+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-19T11:37:04.215+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-19T11:37:04.467+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-19T11:37:04.604+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-19T11:37:04.702+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-19T11:37:04.723+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-19T11:37:06.084+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-11-19T11:37:06.096+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-19T11:37:07.208+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-19T11:37:07.906+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-19T11:37:08.923+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@274010fe, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@975f349, org.springframework.security.web.context.SecurityContextPersistenceFilter@2692910f, org.springframework.security.web.header.HeaderWriterFilter@359ae83a, org.springframework.security.web.authentication.logout.LogoutFilter@1c7aa676, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@312eb, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4f6938cb, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5434de8, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3d1ecf3b, org.springframework.security.web.session.SessionManagementFilter@6fad6743, org.springframework.security.web.access.ExceptionTranslationFilter@5fc4af25, org.springframework.security.web.access.intercept.AuthorizationFilter@644a12be] policy-api | [2023-11-19T11:37:09.064+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-19T11:37:12.369+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-19T11:37:12.407+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-19T11:37:12.438+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-19T11:37:12.454+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.139 seconds (JVM running for 12.707) policy-api | [2023-11-19T11:37:19.246+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-19T11:37:19.246+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-19T11:37:19.248+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2023-11-19T11:37:21.831+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-19T11:37:21.949+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-11-19T11:37:22.200+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-19T11:37:23.325+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-11-19T11:37:25.295+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-19T11:37:25.677+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-19T11:37:25.890+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-19T11:37:26.117+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-19T11:37:26.328+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-19T11:37:26.538+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-11-19T11:36:51.953244101Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-19T11:36:51.954866493Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.617842ms grafana | logger=migrator t=2023-11-19T11:36:51.961549721Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-19T11:36:51.962406287Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=856.326µs grafana | logger=migrator t=2023-11-19T11:36:51.967761645Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-19T11:36:51.968630662Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=868.337µs grafana | logger=migrator t=2023-11-19T11:36:51.973927709Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-19T11:36:51.974817526Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=889.487µs grafana | logger=migrator t=2023-11-19T11:36:51.981475424Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-19T11:36:51.989426161Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.950027ms grafana | logger=migrator t=2023-11-19T11:36:51.993644391Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-19T11:36:51.994519287Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=872.476µs grafana | logger=migrator t=2023-11-19T11:36:52.000189908Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-19T11:36:52.001150884Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=960.456µs grafana | logger=migrator t=2023-11-19T11:36:52.005177254Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-19T11:36:52.006143281Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=965.767µs grafana | logger=migrator t=2023-11-19T11:36:52.013758342Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-19T11:36:52.01458556Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=827.568µs grafana | logger=migrator t=2023-11-19T11:36:52.021935285Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-19T11:36:52.025833144Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.935339ms grafana | logger=migrator t=2023-11-19T11:36:52.030832645Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-19T11:36:52.03325279Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.416175ms grafana | logger=migrator t=2023-11-19T11:36:52.041573984Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-19T11:36:52.041694675Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=120.531µs grafana | logger=migrator t=2023-11-19T11:36:52.051831287Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-19T11:36:52.052406794Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=579.147µs grafana | logger=migrator t=2023-11-19T11:36:52.058182132Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-19T11:36:52.062149322Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.96586ms grafana | logger=migrator t=2023-11-19T11:36:52.07083359Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-19T11:36:52.071092453Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=258.032µs grafana | logger=migrator t=2023-11-19T11:36:52.08169354Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-19T11:36:52.082159105Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=462.335µs grafana | logger=migrator t=2023-11-19T11:36:52.087435168Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-19T11:36:52.090881153Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.446255ms grafana | logger=migrator t=2023-11-19T11:36:52.095662972Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-19T11:36:52.095924544Z level=info msg="Migration successfully executed" id="Update uid value" duration=260.872µs grafana | logger=migrator t=2023-11-19T11:36:52.106241089Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-19T11:36:52.107730024Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.488265ms grafana | logger=migrator t=2023-11-19T11:36:52.113593983Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-19T11:36:52.115077699Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.483336ms grafana | logger=migrator t=2023-11-19T11:36:52.119945779Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-19T11:36:52.120731186Z level=info msg="Migration successfully executed" id="create api_key table" duration=784.727µs grafana | logger=migrator t=2023-11-19T11:36:52.127236812Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-19T11:36:52.128055911Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=818.829µs grafana | logger=migrator t=2023-11-19T11:36:52.132339784Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-19T11:36:52.133669889Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.329505ms grafana | logger=migrator t=2023-11-19T11:36:52.165788435Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-19T11:36:52.166620603Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=829.968µs grafana | logger=migrator t=2023-11-19T11:36:52.182733388Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-19T11:36:52.183485615Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.292723ms grafana | logger=migrator t=2023-11-19T11:36:52.187489356Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-19T11:36:52.188098012Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=607.786µs grafana | logger=migrator t=2023-11-19T11:36:52.193293875Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" mariadb | 2023-11-19 11:36:48 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-19 11:36:48 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-19 11:36:48 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-19 11:36:48 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-19 11:36:48 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-19 11:36:48 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-19 11:36:48 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-19 11:36:48 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-19 11:36:48 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-19 11:36:48 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-19 11:36:48 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-19 11:36:48 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-19 11:36:48 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-19 11:36:48 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-19 11:36:48 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-19 11:36:48 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-19 11:36:48 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-19 11:36:49+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-19 11:36:51+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-19 11:36:51+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-19 11:36:51+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-19 11:36:51+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-19 11:36:52+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-19 11:36:52 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-19 11:36:52 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-19 11:36:52 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-19 11:36:52 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-19 11:36:52 0 [Note] InnoDB: Buffer pool(s) dump completed at 231119 11:36:52 mariadb | 2023-11-19 11:36:52 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-19 11:36:52 0 [Note] InnoDB: Shutdown completed; log sequence number 332521; transaction id 298 mariadb | 2023-11-19 11:36:52 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-19 11:36:52+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-19 11:36:52+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-19 11:36:52 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-19 11:36:53 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-19 11:36:53 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-19 11:36:53 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-19 11:36:53 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-19 11:36:53 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-19 11:36:53 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-19 11:36:53 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-19 11:36:53 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-19 11:36:53 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-19 11:36:53 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-19 11:36:53 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-19 11:36:53 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-19 11:36:53 0 [Note] InnoDB: log sequence number 332521; transaction id 299 mariadb | 2023-11-19 11:36:53 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-19 11:36:53 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-19 11:36:53 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-19 11:36:53 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-19 11:36:53 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-19 11:36:53 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-19 11:36:53 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-19 11:36:53 0 [Note] InnoDB: Buffer pool(s) load completed at 231119 11:36:53 mariadb | 2023-11-19 11:36:53 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2023-11-19 11:36:53 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-19T11:36:52.194538178Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.243993ms grafana | logger=migrator t=2023-11-19T11:36:52.204396689Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-19T11:36:52.214949156Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.552787ms grafana | logger=migrator t=2023-11-19T11:36:52.219548773Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-19T11:36:52.22118194Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.632397ms grafana | logger=migrator t=2023-11-19T11:36:52.228398373Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-19T11:36:52.229702497Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.304174ms grafana | logger=migrator t=2023-11-19T11:36:52.238473225Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-19T11:36:52.239763978Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.290643ms grafana | logger=migrator t=2023-11-19T11:36:52.243522867Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-19T11:36:52.244912551Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.388994ms grafana | logger=migrator t=2023-11-19T11:36:52.251944703Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-19T11:36:52.252550149Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=604.496µs grafana | logger=migrator t=2023-11-19T11:36:52.259400438Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-19T11:36:52.260192717Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=792.349µs grafana | logger=migrator t=2023-11-19T11:36:52.271037318Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-19T11:36:52.271078188Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=41.56µs grafana | logger=migrator t=2023-11-19T11:36:52.278309151Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-19T11:36:52.282201711Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.89173ms grafana | logger=migrator t=2023-11-19T11:36:52.285915929Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-19T11:36:52.288323034Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.404494ms grafana | logger=migrator t=2023-11-19T11:36:52.336640805Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-19T11:36:52.336913198Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=272.853µs grafana | logger=migrator t=2023-11-19T11:36:52.34392231Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-19T11:36:52.34787042Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.94722ms grafana | logger=migrator t=2023-11-19T11:36:52.353998102Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-19T11:36:52.356427207Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.428635ms grafana | logger=migrator t=2023-11-19T11:36:52.360928043Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-19T11:36:52.36156793Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=639.537µs grafana | logger=migrator t=2023-11-19T11:36:52.369214958Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-19T11:36:52.370068956Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=851.948µs grafana | logger=migrator t=2023-11-19T11:36:52.377589263Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-19T11:36:52.378717024Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.127881ms grafana | logger=migrator t=2023-11-19T11:36:52.386721306Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-19T11:36:52.387948298Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.226412ms grafana | logger=migrator t=2023-11-19T11:36:52.394488805Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-19T11:36:52.395758408Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.268863ms grafana | logger=migrator t=2023-11-19T11:36:52.39982977Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-19T11:36:52.401139413Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.290852ms grafana | logger=migrator t=2023-11-19T11:36:52.40778089Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-19T11:36:52.407891801Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=114.131µs grafana | logger=migrator t=2023-11-19T11:36:52.415988194Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-19T11:36:52.416022084Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=34.88µs grafana | logger=migrator t=2023-11-19T11:36:52.42245345Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-19T11:36:52.426300469Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.847859ms grafana | logger=migrator t=2023-11-19T11:36:52.4303629Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-19T11:36:52.432955886Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.593736ms grafana | logger=migrator t=2023-11-19T11:36:52.43819506Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-19T11:36:52.43825679Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=62.35µs grafana | logger=migrator t=2023-11-19T11:36:52.448635447Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-19T11:36:52.449684257Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.04797ms grafana | logger=migrator t=2023-11-19T11:36:52.455101702Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-19T11:36:52.456374986Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.272374ms grafana | logger=migrator t=2023-11-19T11:36:52.461437457Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-19T11:36:52.461477298Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=41.781µs grafana | logger=migrator t=2023-11-19T11:36:52.466393557Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-19T11:36:52.467503259Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.109072ms grafana | logger=migrator t=2023-11-19T11:36:52.47550502Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-19T11:36:52.476743493Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.237753ms grafana | logger=migrator t=2023-11-19T11:36:52.486690955Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-19T11:36:52.490874167Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.184312ms grafana | logger=migrator t=2023-11-19T11:36:52.495601465Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-19T11:36:52.495625075Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.35µs grafana | logger=migrator t=2023-11-19T11:36:52.501309873Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-19T11:36:52.502519225Z level=info msg="Migration successfully executed" id="create session table" duration=1.206502ms grafana | logger=migrator t=2023-11-19T11:36:52.506676868Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-19T11:36:52.506812109Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=135.751µs grafana | logger=migrator t=2023-11-19T11:36:52.511920262Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-19T11:36:52.512046053Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=126.401µs grafana | logger=migrator t=2023-11-19T11:36:52.51872937Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-19T11:36:52.51969203Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=962.24µs grafana | logger=migrator t=2023-11-19T11:36:52.523082265Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-19T11:36:52.524093835Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.0115ms grafana | logger=migrator t=2023-11-19T11:36:52.528731663Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-19T11:36:52.528772923Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=41.76µs grafana | logger=migrator t=2023-11-19T11:36:52.533961825Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-19T11:36:52.533985835Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=24.54µs grafana | logger=migrator t=2023-11-19T11:36:52.539737894Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-19T11:36:52.544458042Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.719518ms grafana | logger=migrator t=2023-11-19T11:36:52.557914Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-19T11:36:52.560507306Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.596866ms grafana | logger=migrator t=2023-11-19T11:36:52.563412576Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-19T11:36:52.563476096Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=63.62µs grafana | logger=migrator t=2023-11-19T11:36:52.567253974Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-19T11:36:52.567310425Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=56.861µs grafana | logger=migrator t=2023-11-19T11:36:52.569617419Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-19T11:36:52.570166784Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=549.155µs grafana | logger=migrator t=2023-11-19T11:36:52.576115635Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-19T11:36:52.576159565Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=46.051µs grafana | logger=migrator t=2023-11-19T11:36:52.581074505Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-19T11:36:52.58836659Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=7.289635ms grafana | logger=migrator t=2023-11-19T11:36:52.592571462Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-19T11:36:52.592845545Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=273.943µs grafana | logger=migrator t=2023-11-19T11:36:52.599495363Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-19T11:36:52.603347442Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.851269ms grafana | logger=migrator t=2023-11-19T11:36:52.606475164Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-19T11:36:52.612041331Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.571597ms grafana | logger=migrator t=2023-11-19T11:36:52.615039861Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-19T11:36:52.615188683Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=149.542µs grafana | logger=migrator t=2023-11-19T11:36:52.691496102Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-19T11:36:52.693494391Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.997939ms grafana | logger=migrator t=2023-11-19T11:36:52.696801235Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-19T11:36:52.698198929Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.397934ms grafana | logger=migrator t=2023-11-19T11:36:52.70227651Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-19T11:36:52.70324118Z level=info msg="Migration successfully executed" id="create alert table v1" duration=964.63µs grafana | logger=migrator t=2023-11-19T11:36:52.706489963Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-19T11:36:52.707438272Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=948.029µs grafana | logger=migrator t=2023-11-19T11:36:52.711493074Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-19T11:36:52.712338853Z level=info msg="Migration successfully executed" id="add index alert state" duration=845.709µs grafana | logger=migrator t=2023-11-19T11:36:52.715255802Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-19T11:36:52.716113811Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=857.349µs grafana | logger=migrator t=2023-11-19T11:36:52.719109461Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-19T11:36:52.719774619Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=663.268µs grafana | logger=migrator t=2023-11-19T11:36:52.723942251Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-19T11:36:52.724879921Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=937.98µs grafana | logger=migrator t=2023-11-19T11:36:52.728177014Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-19T11:36:52.729087483Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=910.129µs grafana | logger=migrator t=2023-11-19T11:36:52.732351686Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-19T11:36:52.747066776Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.70919ms grafana | logger=migrator t=2023-11-19T11:36:52.750138518Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-19T11:36:52.750731944Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=593.096µs grafana | logger=migrator t=2023-11-19T11:36:52.753114448Z 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-19T11:36:52.753789885Z 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=675.027µs grafana | logger=migrator t=2023-11-19T11:36:52.75623933Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-19T11:36:52.756484953Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=245.313µs grafana | logger=migrator t=2023-11-19T11:36:52.759668125Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-19T11:36:52.760251671Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=582.876µs grafana | logger=migrator t=2023-11-19T11:36:52.763054459Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-19T11:36:52.763813517Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=758.778µs grafana | logger=migrator t=2023-11-19T11:36:52.76613223Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-19T11:36:52.769626497Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.493747ms grafana | logger=migrator t=2023-11-19T11:36:52.773689428Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-19T11:36:52.777223183Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.532865ms grafana | logger=migrator t=2023-11-19T11:36:52.780462946Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-19T11:36:52.785407117Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=4.944201ms grafana | logger=migrator t=2023-11-19T11:36:52.78864705Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-19T11:36:52.79252353Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.878561ms grafana | logger=migrator t=2023-11-19T11:36:52.796583741Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-19T11:36:52.797473169Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=889.348µs grafana | logger=migrator t=2023-11-19T11:36:52.800621972Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-19T11:36:52.800714923Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=92.671µs grafana | logger=migrator t=2023-11-19T11:36:52.807009927Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-19T11:36:52.807141838Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=134.041µs grafana | logger=migrator t=2023-11-19T11:36:52.816059059Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-19T11:36:52.816817107Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=757.168µs grafana | logger=migrator t=2023-11-19T11:36:52.825212992Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-19T11:36:52.82691855Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.708408ms grafana | logger=migrator t=2023-11-19T11:36:52.863014098Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-19T11:36:52.864352121Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.336873ms grafana | logger=migrator t=2023-11-19T11:36:52.871826357Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-19T11:36:52.87310609Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.276113ms grafana | logger=migrator t=2023-11-19T11:36:52.880438045Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-19T11:36:52.882148263Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.709528ms grafana | logger=migrator t=2023-11-19T11:36:52.890345186Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-19T11:36:52.896088975Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.744469ms grafana | logger=migrator t=2023-11-19T11:36:52.927202652Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-19T11:36:52.932546646Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=5.344394ms grafana | logger=migrator t=2023-11-19T11:36:52.937685579Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-19T11:36:52.937966332Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=280.863µs grafana | logger=migrator t=2023-11-19T11:36:52.941858551Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-19T11:36:52.94281446Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=955.829µs grafana | logger=migrator t=2023-11-19T11:36:52.946612959Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-19T11:36:52.947582569Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=968.12µs grafana | logger=migrator t=2023-11-19T11:36:52.952988354Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-19T11:36:52.957690872Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.704708ms grafana | logger=migrator t=2023-11-19T11:36:52.961688193Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-19T11:36:52.961847994Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=160.201µs grafana | logger=migrator t=2023-11-19T11:36:52.966176959Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-19T11:36:52.967081758Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=914.029µs grafana | logger=migrator t=2023-11-19T11:36:52.972077229Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-19T11:36:52.973774546Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.694217ms grafana | logger=migrator t=2023-11-19T11:36:52.977580915Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-19T11:36:52.977867068Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=286.753µs grafana | logger=migrator t=2023-11-19T11:36:52.981395804Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-19T11:36:52.982264422Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=868.458µs grafana | logger=migrator t=2023-11-19T11:36:52.986789538Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-19T11:36:52.987795798Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.00506ms grafana | logger=migrator t=2023-11-19T11:36:52.991002742Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-19T11:36:52.992458626Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.455404ms grafana | logger=migrator t=2023-11-19T11:36:52.997001203Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-19T11:36:52.997934102Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=932.829µs grafana | logger=migrator t=2023-11-19T11:36:53.002125765Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-19T11:36:53.003165115Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.03918ms grafana | logger=migrator t=2023-11-19T11:36:53.00681194Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-19T11:36:53.00786075Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.04814ms grafana | logger=migrator t=2023-11-19T11:36:53.012299558Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-19T11:36:53.012552791Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=251.983µs grafana | logger=migrator t=2023-11-19T11:36:53.072490716Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-19T11:36:53.077147946Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.65939ms grafana | logger=migrator t=2023-11-19T11:36:53.080582977Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-19T11:36:53.081639666Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.055709ms grafana | logger=migrator t=2023-11-19T11:36:53.085088336Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-19T11:36:53.091337121Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.249645ms grafana | logger=migrator t=2023-11-19T11:36:53.095745189Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-19T11:36:53.096409735Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=664.706µs grafana | logger=migrator t=2023-11-19T11:36:53.099580283Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-19T11:36:53.100516411Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=935.868µs grafana | logger=migrator t=2023-11-19T11:36:53.104088862Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-19T11:36:53.10500795Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=918.768µs grafana | logger=migrator t=2023-11-19T11:36:53.109648911Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-19T11:36:53.124932194Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.283283ms grafana | logger=migrator t=2023-11-19T11:36:53.128238944Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | Waiting for mariadb port 3306... prometheus | ts=2023-11-19T11:36:49.939Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d grafana | logger=migrator t=2023-11-19T11:36:53.128745818Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=506.694µs policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2023-11-19T11:36:49.939Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" grafana | logger=migrator t=2023-11-19T11:36:53.163598032Z 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" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2023-11-19T11:36:49.939Z 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)" grafana | logger=migrator t=2023-11-19T11:36:53.165113986Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.515064ms policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2023-11-19T11:36:49.939Z 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))" grafana | logger=migrator t=2023-11-19T11:36:53.170099339Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2023-11-19T11:36:49.939Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" grafana | logger=migrator t=2023-11-19T11:36:53.170815996Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=716.717µs policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2023-11-19T11:36:49.939Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" grafana | logger=migrator t=2023-11-19T11:36:53.175231854Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused prometheus | ts=2023-11-19T11:36:49.944Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! grafana | logger=migrator t=2023-11-19T11:36:53.17582656Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=594.666µs prometheus | ts=2023-11-19T11:36:49.945Z caller=main.go:1024 level=info msg="Starting TSDB ..." policy-db-migrator | 314 blocks grafana | logger=migrator t=2023-11-19T11:36:53.179504041Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" prometheus | ts=2023-11-19T11:36:49.948Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 policy-db-migrator | Preparing upgrade release version: 0800 grafana | logger=migrator t=2023-11-19T11:36:53.179936455Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=433.154µs prometheus | ts=2023-11-19T11:36:49.948Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-db-migrator | Preparing upgrade release version: 0900 grafana | logger=migrator t=2023-11-19T11:36:53.184885479Z level=info msg="Executing migration" id="Add created time to annotation table" prometheus | ts=2023-11-19T11:36:49.949Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-db-migrator | Preparing upgrade release version: 1000 grafana | logger=migrator t=2023-11-19T11:36:53.190065234Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.180995ms prometheus | ts=2023-11-19T11:36:49.949Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.96µs policy-db-migrator | Preparing upgrade release version: 1100 grafana | logger=migrator t=2023-11-19T11:36:53.193957727Z level=info msg="Executing migration" id="Add updated time to annotation table" prometheus | ts=2023-11-19T11:36:49.949Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-db-migrator | Preparing upgrade release version: 1200 grafana | logger=migrator t=2023-11-19T11:36:53.198250856Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.291859ms prometheus | ts=2023-11-19T11:36:49.950Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-db-migrator | Done grafana | logger=migrator t=2023-11-19T11:36:53.201678765Z level=info msg="Executing migration" id="Add index for created in annotation table" prometheus | ts=2023-11-19T11:36:49.950Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=26.55µs wal_replay_duration=776.017µs wbl_replay_duration=190ns total_replay_duration=831.247µs policy-db-migrator | name version grafana | logger=migrator t=2023-11-19T11:36:53.202619963Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=940.658µs prometheus | ts=2023-11-19T11:36:49.953Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC policy-db-migrator | policyadmin 0 grafana | logger=migrator t=2023-11-19T11:36:53.207348735Z level=info msg="Executing migration" id="Add index for updated in annotation table" prometheus | ts=2023-11-19T11:36:49.953Z caller=main.go:1048 level=info msg="TSDB started" policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 grafana | logger=migrator t=2023-11-19T11:36:53.208283063Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=933.888µs prometheus | ts=2023-11-19T11:36:49.953Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-db-migrator | upgrade: 0 -> 1200 grafana | logger=migrator t=2023-11-19T11:36:53.213160835Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" prometheus | ts=2023-11-19T11:36:49.954Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.006829ms db_storage=1.36µs remote_storage=1.89µs web_handler=340ns query_engine=1.01µs scrape=290.282µs scrape_sd=109.491µs notify=36.15µs notify_sd=14.79µs rules=50.512µs tracing=6.03µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.21367893Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=518.635µs prometheus | ts=2023-11-19T11:36:49.954Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql grafana | logger=migrator t=2023-11-19T11:36:53.218986126Z level=info msg="Executing migration" id="Add epoch_end column" prometheus | ts=2023-11-19T11:36:49.954Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.22399076Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.007474ms 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) grafana | logger=migrator t=2023-11-19T11:36:53.228156226Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.229111535Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=955.129µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.232422094Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.232699006Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=276.452µs policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-19T11:36:53.235692952Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.236158886Z level=info msg="Migration successfully executed" id="Move region to single row" duration=467.324µs 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) grafana | logger=migrator t=2023-11-19T11:36:53.239287033Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.240210562Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=923.409µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.244212387Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.245589608Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.375451ms policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql grafana | logger=migrator t=2023-11-19T11:36:53.249220511Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.250800134Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.581273ms 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) grafana | logger=migrator t=2023-11-19T11:36:53.254986121Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.255951559Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=965.098µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.258904645Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.259805313Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=900.388µs policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2023-11-19T11:36:53.263050422Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.264114721Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.058519ms 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) grafana | logger=migrator t=2023-11-19T11:36:53.268658551Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.268879372Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=221.512µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.272327422Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.27319192Z level=info msg="Migration successfully executed" id="create test_data table" duration=864.218µs policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2023-11-19T11:36:53.276686281Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.277528938Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=843.177µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) grafana | logger=migrator t=2023-11-19T11:36:53.281579443Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.282543732Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=964.069µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.285809691Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.286833119Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.028718ms policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2023-11-19T11:36:53.290130628Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.29043351Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=302.402µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2023-11-19T11:36:53.293942931Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.294401125Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=458.284µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.298501391Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.298688403Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=186.822µs policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2023-11-19T11:36:53.301816151Z level=info msg="Executing migration" id="create team table" 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) grafana | logger=migrator t=2023-11-19T11:36:53.303023501Z level=info msg="Migration successfully executed" id="create team table" duration=1.21027ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.306508441Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.308121426Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.612584ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.312488693Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2023-11-19T11:36:53.313460202Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=971.089µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.31670767Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2023-11-19T11:36:53.32359722Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.88513ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.32700525Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.327224423Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=218.493µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.330959535Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2023-11-19T11:36:53.331736491Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=776.816µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.334723777Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.335991299Z level=info msg="Migration successfully executed" id="create team member table" duration=1.267392ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.339334978Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.340870611Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.534933ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.344302502Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2023-11-19T11:36:53.34530725Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.003898ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.349683989Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.350855089Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.17027ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.354158687Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.360289491Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.132774ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.363661171Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2023-11-19T11:36:53.368408062Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.746981ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.373021922Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.377703274Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.679072ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.405610848Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.407165911Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.554683ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.411242367Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2023-11-19T11:36:53.412764459Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.521342ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.417219299Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.418325268Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.105029ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.421600617Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.422877128Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.274911ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.427392657Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2023-11-19T11:36:53.428927961Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.534114ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.432553382Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.433513982Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=960.109µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.436948781Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.4379619Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.012659ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.441304569Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2023-11-19T11:36:53.442305208Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.001659ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.446266852Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.446846147Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=578.405µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.451097885Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.451619429Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=519.334µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.45521469Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2023-11-19T11:36:53.456437702Z level=info msg="Migration successfully executed" id="create tag table" duration=1.222922ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.459926202Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.461473396Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.545963ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.465033697Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.465798713Z level=info msg="Migration successfully executed" id="create login attempt table" duration=766.127µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.469840768Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2023-11-19T11:36:53.470840117Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=999.229µs 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) grafana | logger=migrator t=2023-11-19T11:36:53.474155236Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.475117424Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=961.708µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.478341983Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.495897936Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.555933ms policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2023-11-19T11:36:53.49973335Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.500320654Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=585.845µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.50329419Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.503997067Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=702.437µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.507147655Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.507700539Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=552.465µs policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2023-11-19T11:36:53.512019227Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.513166837Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.14669ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.516433625Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.517669667Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.234912ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.521266658Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.522347697Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.081669ms policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2023-11-19T11:36:53.526492724Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.526638635Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=145.101µs grafana | logger=migrator t=2023-11-19T11:36:53.530029334Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-19T11:36:53.535062229Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.031885ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.538318857Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.543346611Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.028224ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.547492227Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.552668132Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.175725ms policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2023-11-19T11:36:53.555758669Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.560824644Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.065095ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.564173833Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.565130192Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=956.029µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.569856142Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.578459337Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.579295ms policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-11-19T11:36:53.62223577Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.623577031Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.340711ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.627242914Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.628753737Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.510443ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.633757981Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.634660358Z level=info msg="Migration successfully executed" id="create user auth token table" duration=901.597µs policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2023-11-19T11:36:53.638091849Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.639604192Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.510563ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.644655916Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.646235819Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.579543ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.651054952Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.652115351Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.061279ms policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2023-11-19T11:36:53.65539755Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.663790703Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.394653ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.667407275Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.669238511Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.828486ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.674380976Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.675605806Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.22424ms policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-11-19T11:36:53.679309559Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.680811742Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.501723ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.684411743Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.685770866Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.362793ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-11-19T11:36:53.690189854Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.691830799Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.640195ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.695027486Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.695111617Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=84.401µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.698143883Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.698226024Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=82.321µs policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2023-11-19T11:36:53.702847055Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.704244597Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.397282ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.707410824Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.709040849Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.629635ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.712580359Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.713510917Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=929.908µs policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2023-11-19T11:36:53.716639525Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.716699296Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=62.301µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.720708611Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.722307515Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.598194ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.725822875Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.727465649Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.637324ms policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2023-11-19T11:36:53.731582086Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.732580054Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=999.688µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.735690541Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.736738461Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.0475ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.740243111Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.748131821Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=7.889079ms policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2023-11-19T11:36:53.752299616Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.753280015Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=979.209µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.756391013Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.756476763Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=86.88µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.759603261Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.760438498Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=834.907µs policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2023-11-19T11:36:53.764350482Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.765349241Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=998.359µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.768574219Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.769829831Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.254261ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.773466542Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.773562313Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=96.591µs policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2023-11-19T11:36:53.7778657Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.779233922Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.366632ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2023-11-19T11:36:53.782727792Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.784015824Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.284732ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.788557633Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.79042961Z 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.871447ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2023-11-19T11:36:53.795866107Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.797872805Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=2.010498ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.802571926Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.80980547Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.228953ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.812874336Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.813871704Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=997.278µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.8190806Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.819953477Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=872.767µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.822962455Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.858822517Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=35.861822ms policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2023-11-19T11:36:53.864073703Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.900434251Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=36.360598ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-19T11:36:53.903227315Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.904157144Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=929.349µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.906237632Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.907200161Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=922.878µs policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2023-11-19T11:36:53.911899711Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.91748693Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.586219ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-19T11:36:53.947347791Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.948744973Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.392552ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.956749853Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.961382644Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=4.629701ms policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2023-11-19T11:36:53.964732243Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.965492159Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=759.596µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2023-11-19T11:36:53.968065402Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.96890692Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=842.828µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.973072296Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.973135876Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=64.89µs policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2023-11-19T11:36:53.976017201Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.982180285Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.162384ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-19T11:36:53.98507104Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:53.991365546Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.292606ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:53.994578454Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.000539536Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.960422ms policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2023-11-19T11:36:54.005055986Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.006017794Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=961.428µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-19T11:36:54.008849799Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.009819217Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=969.068µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.012872273Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.01925574Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.382747ms policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2023-11-19T11:36:54.023407986Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.029453678Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.044862ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2023-11-19T11:36:54.033048771Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.034043389Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=994.269µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.037299997Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.043612762Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.307015ms policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2023-11-19T11:36:54.047426436Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.05372127Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.294294ms grafana | logger=migrator t=2023-11-19T11:36:54.057007059Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-19T11:36:54.05706866Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=61.981µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-19T11:36:54.060339008Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.061441348Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.10135ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.106925375Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2023-11-19T11:36:54.109252566Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=2.327561ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.115633121Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-19T11:36:54.11669761Z 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.064439ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.120748456Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.120845997Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=98.501µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.124343187Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2023-11-19T11:36:54.132139026Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.796189ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.135541935Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2023-11-19T11:36:54.143604776Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=8.061361ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.148898782Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.154201989Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=5.302597ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.158555186Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2023-11-19T11:36:54.169090318Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=10.536432ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.172455208Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2023-11-19T11:36:54.17734124Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=4.884342ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.182701718Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.182765848Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.12µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.188559278Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2023-11-19T11:36:54.189259434Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=699.916µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.192429692Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-19T11:36:54.202064387Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.631895ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.205787389Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.205835359Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=47.31µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.209950416Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2023-11-19T11:36:54.217127958Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=7.174542ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.225062117Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2023-11-19T11:36:54.226091406Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.028589ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.229602627Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.238664756Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.060369ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.243485849Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2023-11-19T11:36:54.243996683Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=510.744µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.247033419Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2023-11-19T11:36:54.247981797Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=948.158µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.251424367Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.257766463Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.341526ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.264798964Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2023-11-19T11:36:54.265520381Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=721.107µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.269553256Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-19T11:36:54.271251771Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.697595ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.27683489Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.277761638Z level=info msg="Migration successfully executed" id="create alert_image table" duration=927.818µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.281025466Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2023-11-19T11:36:54.282052155Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.026339ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.286275102Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2023-11-19T11:36:54.286350433Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=75.791µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.2895275Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.290925333Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.397343ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.296992556Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 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)) grafana | logger=migrator t=2023-11-19T11:36:54.297967794Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=974.828µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.302901857Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.303276721Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.306442148Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2023-11-19T11:36:54.307051063Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=605.255µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.310394713Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-19T11:36:54.312073527Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.677924ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.316560407Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.323603028Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.041481ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.326759035Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2023-11-19T11:36:54.327577083Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=817.968µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.335238309Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2023-11-19T11:36:54.336321159Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.0823ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.342700455Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.344084057Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.379732ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.347598648Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2023-11-19T11:36:54.348842018Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.24367ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.352827494Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2023-11-19T11:36:54.353899943Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.072019ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.358973157Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.358998567Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=28.14µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.362143065Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2023-11-19T11:36:54.362209185Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=66.68µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.367547232Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-19T11:36:54.368070167Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=518.774µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.37299559Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.374506532Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.504822ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.37870652Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2023-11-19T11:36:54.379771759Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.065779ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.383043877Z level=info msg="Executing migration" id="rename data_keys name column to id" 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)) grafana | logger=migrator t=2023-11-19T11:36:54.428670146Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.626259ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.435290224Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.445032729Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=9.741905ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.449381097Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2023-11-19T11:36:54.449533228Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=151.381µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.452753226Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2023-11-19T11:36:54.498409665Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=45.657659ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.501996356Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.550714802Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=48.718946ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.582072446Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2023-11-19T11:36:54.583401418Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.328152ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.592392366Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-19T11:36:54.594177712Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.785006ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.598235947Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.59863637Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=399.773µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.603348222Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2023-11-19T11:36:54.604145779Z level=info msg="Migration successfully executed" id="create permission table" duration=797.227µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.609938669Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-19T11:36:54.611769095Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.828296ms grafana | logger=migrator t=2023-11-19T11:36:54.616261805Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 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 | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.618105141Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.846036ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.625195733Z level=info msg="Executing migration" id="create role table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.62611376Z level=info msg="Migration successfully executed" id="create role table" duration=917.177µs policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2023-11-19T11:36:54.63179627Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.640647477Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.851227ms 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)) grafana | logger=migrator t=2023-11-19T11:36:54.644189269Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.651708254Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.519035ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.655672309Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.656385715Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=713.116µs policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2023-11-19T11:36:54.66038635Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.662021634Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.635984ms 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)) grafana | logger=migrator t=2023-11-19T11:36:54.665766687Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.667529803Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.763686ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.670892482Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.67169328Z level=info msg="Migration successfully executed" id="create team role table" duration=800.218µs policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2023-11-19T11:36:54.676226908Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.678260316Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=2.032548ms 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)) grafana | logger=migrator t=2023-11-19T11:36:54.682510643Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.684485731Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.976148ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.690693475Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.691776565Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.0827ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2023-11-19T11:36:54.696378654Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.697594616Z level=info msg="Migration successfully executed" id="create user role table" duration=1.214852ms 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)) grafana | logger=migrator t=2023-11-19T11:36:54.702582799Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.703692229Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.10891ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.707022087Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.708171978Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.151781ms policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2023-11-19T11:36:54.712377824Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.713366423Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=989.909µs 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)) grafana | logger=migrator t=2023-11-19T11:36:54.723481291Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.724684492Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.200111ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.731597992Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.733253726Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.655644ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2023-11-19T11:36:54.737717135Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.738802235Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.08479ms 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)) grafana | logger=migrator t=2023-11-19T11:36:54.742410827Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.750275216Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.863409ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.753755806Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.754884626Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.12887ms policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2023-11-19T11:36:54.761711156Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.763333109Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.621413ms 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)) grafana | logger=migrator t=2023-11-19T11:36:54.770630054Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.771681442Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.050758ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.774949741Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.776287473Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.336682ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2023-11-19T11:36:54.77940891Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.780233267Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=823.837µs 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)) grafana | logger=migrator t=2023-11-19T11:36:54.783711828Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.784890818Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.17704ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.787800073Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.795835714Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.034831ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2023-11-19T11:36:54.801464123Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.809583784Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.118721ms 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)) grafana | logger=migrator t=2023-11-19T11:36:54.813182665Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.819264738Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=6.080923ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.822229094Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.830177743Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.949629ms policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2023-11-19T11:36:54.833437712Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.834685393Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.247271ms 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)) grafana | logger=migrator t=2023-11-19T11:36:54.840131911Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.841106489Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=986.288µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.849492302Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.851430719Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.937597ms policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2023-11-19T11:36:54.85498453Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.855095731Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=112.481µs 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)) grafana | logger=migrator t=2023-11-19T11:36:54.859025675Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.859081566Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=56.631µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.86185216Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.862327815Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=475.685µs policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2023-11-19T11:36:54.865505563Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.866271139Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=766.716µs 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)) grafana | logger=migrator t=2023-11-19T11:36:54.869568508Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.870690078Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.122221ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.873824865Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.874283099Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=461.634µs policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2023-11-19T11:36:54.879173102Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.879522185Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=349.063µs 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)) grafana | logger=migrator t=2023-11-19T11:36:54.888258591Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.889466371Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.20641ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.89273592Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.894593036Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.856446ms policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2023-11-19T11:36:54.898044826Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.906621981Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.577965ms 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)) grafana | logger=migrator t=2023-11-19T11:36:54.90983116Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.90989094Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=48.08µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.912781556Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.913413081Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=631.065µs policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2023-11-19T11:36:54.919436793Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.921165289Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.727916ms 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)) grafana | logger=migrator t=2023-11-19T11:36:54.930419429Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.931611999Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.19072ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.934757266Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.944887635Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.129529ms policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2023-11-19T11:36:54.947995303Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.949136213Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.14083ms grafana | logger=migrator t=2023-11-19T11:36:54.952604493Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-19T11:36:54.953648062Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.043039ms 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)) grafana | logger=migrator t=2023-11-19T11:36:54.961115087Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:54.99119347Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.077643ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.997967989Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:54.998946357Z level=info msg="Migration successfully executed" id="create correlation v2" duration=977.538µs policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.003712069Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.005335224Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.621785ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2023-11-19T11:36:55.189757234Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.191721781Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.967367ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.196361842Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-11-19T11:36:55.198104667Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.745765ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.201720549Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-11-19T11:36:55.202042752Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=321.693µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.20754865Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.209334735Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.785075ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.213664653Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-11-19T11:36:55.22256915Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.904707ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.225709018Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-11-19T11:36:55.226300893Z level=info msg="Migration successfully executed" id="create entity_events table" duration=591.435µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.22933673Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.230071486Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=734.926µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.233489376Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.234261682Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.23856199Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2023-11-19T11:36:55.239445368Z 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" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.244297801Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.245124828Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=826.367µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.248155384Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.249748868Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.591244ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.253589872Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2023-11-19T11:36:55.255311147Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.720805ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.258725156Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.259800225Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.074869ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.26265793Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.26372718Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.06887ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.266644536Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2023-11-19T11:36:55.267851116Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.20785ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.271465078Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.272362516Z level=info msg="Migration successfully executed" id="Drop public config table" duration=897.048µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.27858521Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.279631809Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.045369ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.282700026Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2023-11-19T11:36:55.283857326Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.1568ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.286953173Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.288078113Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.12591ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.291393482Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.292652023Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.257621ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.29583868Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2023-11-19T11:36:55.325756312Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=29.919642ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.328582747Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.33702856Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.443873ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.346610744Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.355350431Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.739677ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.358977632Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2023-11-19T11:36:55.359198854Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=221.092µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.363153738Z level=info msg="Executing migration" id="add share column" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.371586392Z level=info msg="Migration successfully executed" id="add share column" duration=8.432244ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.375770089Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-11-19T11:36:55.375981041Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=209.852µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.379695033Z level=info msg="Executing migration" id="create file table" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2023-11-19T11:36:55.380510861Z level=info msg="Migration successfully executed" id="create file table" duration=816.038µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.38395875Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.385019919Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.060799ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.388944494Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2023-11-19T11:36:55.390051183Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.106469ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.394593594Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2023-11-19T11:36:55.395704153Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.112339ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.398512547Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.400335013Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.818446ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.406637948Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-11-19T11:36:55.406698399Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=60.771µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.410751824Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2023-11-19T11:36:55.410893405Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=142.281µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.414205375Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.415021481Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=818.666µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.418109398Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.418401051Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=292.443µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.421088634Z level=info msg="Executing migration" id="RBAC action name 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 grafana | logger=migrator t=2023-11-19T11:36:55.421889051Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=779.897µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.424795887Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.433637454Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.840697ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.436305717Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-11-19T11:36:55.436418639Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=113.012µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.439432505Z level=info msg="Executing migration" id="Add index for uid in playlist" 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 grafana | logger=migrator t=2023-11-19T11:36:55.440198652Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=765.807µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.445896841Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.446623557Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=727.136µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.449472212Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-11-19T11:36:55.449787885Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=313.222µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.452890922Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 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 grafana | logger=migrator t=2023-11-19T11:36:55.453579479Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=687.957µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.456882337Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.466162458Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.280751ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.469255965Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.475833243Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.576858ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.48358884Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 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 grafana | logger=migrator t=2023-11-19T11:36:55.486319594Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=2.728874ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.491518899Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.612072272Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=120.534703ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.618722781Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.620045512Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.316601ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.625649091Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 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 grafana | logger=migrator t=2023-11-19T11:36:55.626916532Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.267501ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.657270257Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.695065507Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=37.79656ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.699307464Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.699563376Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=255.312µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.703956855Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 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-19T11:36:55.704277837Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=320.572µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.709410843Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.709884507Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=467.954µs policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.74696439Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.748628335Z level=info msg="Migration successfully executed" id="create folder table" duration=1.663375ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.752337157Z level=info msg="Executing migration" id="Add index for parent_uid" 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 grafana | logger=migrator t=2023-11-19T11:36:55.753502047Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.1625ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.757114529Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.758357109Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.24298ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.762575777Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.762602087Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.33µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.76650513Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 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 grafana | logger=migrator t=2023-11-19T11:36:55.767861743Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.354913ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.773865625Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.77555753Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.693205ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.782575241Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-11-19T11:36:55.784045835Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.470173ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.787179672Z level=info msg="Executing migration" id="create anon_device table" 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 grafana | logger=migrator t=2023-11-19T11:36:55.788499263Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.316001ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.791732531Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.792902912Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.170021ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.796054879Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-11-19T11:36:55.797131638Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.077169ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.799947533Z level=info msg="Executing migration" id="create signing_key table" 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 grafana | logger=migrator t=2023-11-19T11:36:55.80071553Z level=info msg="Migration successfully executed" id="create signing_key table" duration=767.747µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.803540795Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.804702625Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.16055ms policy-db-migrator | grafana | logger=migrator t=2023-11-19T11:36:55.809282075Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-11-19T11:36:55.810411314Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.129299ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-19T11:36:55.818916149Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-19T11:36:55.819620705Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=702.466µs grafana | logger=migrator t=2023-11-19T11:36:55.823118676Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.870561444s 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 grafana | logger=sqlstore t=2023-11-19T11:36:55.834299004Z level=info msg="Created default admin" user=admin policy-db-migrator | -------------- grafana | logger=sqlstore t=2023-11-19T11:36:55.834507315Z level=info msg="Created default organization" policy-db-migrator | grafana | logger=secrets t=2023-11-19T11:36:55.83736632Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | grafana | logger=local.finder t=2023-11-19T11:36:55.900932974Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=query_data t=2023-11-19T11:36:55.903530907Z level=info msg="Query Service initialization" policy-db-migrator | -------------- grafana | logger=live.push_http t=2023-11-19T11:36:55.907326791Z level=info msg="Live Push Gateway initialization" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=infra.usagestats.collector t=2023-11-19T11:36:58.074328386Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | -------------- grafana | logger=provisioning.datasources t=2023-11-19T11:36:58.076377524Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | grafana | logger=provisioning.alerting t=2023-11-19T11:36:58.087792713Z level=info msg="starting to provision alerting" policy-db-migrator | grafana | logger=provisioning.alerting t=2023-11-19T11:36:58.087821404Z level=info msg="finished to provision alerting" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=grafanaStorageLogger t=2023-11-19T11:36:58.088136596Z level=info msg="Storage starting" policy-db-migrator | -------------- grafana | logger=ngalert.state.manager t=2023-11-19T11:36:58.088391048Z level=info msg="Warming state cache for startup" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=http.server t=2023-11-19T11:36:58.094001517Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | -------------- grafana | logger=sqlstore.transactions t=2023-11-19T11:36:58.150837663Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | grafana | logger=grafana.update.checker t=2023-11-19T11:36:58.168327036Z level=info msg="Update check succeeded" duration=79.472054ms policy-db-migrator | grafana | logger=sqlstore.transactions t=2023-11-19T11:36:58.172954906Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=sqlstore.transactions t=2023-11-19T11:36:58.192121953Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" policy-db-migrator | -------------- grafana | logger=ngalert.migration t=2023-11-19T11:36:58.19518244Z level=info msg=Starting policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=ngalert.migration t=2023-11-19T11:36:58.196009098Z level=info msg="Starting legacy migration" policy-db-migrator | -------------- grafana | logger=ngalert.migration orgID=1 t=2023-11-19T11:36:58.19624928Z level=info msg="Migrating alerts for organisation" policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2023-11-19T11:36:58.196594573Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2023-11-19T11:36:58.196930206Z level=warn msg="No available receivers" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=ngalert.migration t=2023-11-19T11:36:58.198773732Z level=info msg="Completed legacy migration" policy-db-migrator | -------------- grafana | logger=plugins.update.checker t=2023-11-19T11:36:58.21699406Z level=info msg="Update check succeeded" duration=127.010787ms 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 grafana | logger=ngalert.state.manager t=2023-11-19T11:36:58.220217208Z level=info msg="State cache has been initialized" states=0 duration=131.82054ms policy-db-migrator | -------------- grafana | logger=ngalert.scheduler t=2023-11-19T11:36:58.220271839Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | policy-db-migrator | grafana | logger=ngalert.multiorg.alertmanager t=2023-11-19T11:36:58.220532501Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=ticker t=2023-11-19T11:36:58.220612282Z level=info msg=starting first_tick=2023-11-19T11:37:00Z policy-db-migrator | -------------- grafana | logger=sqlstore.transactions t=2023-11-19T11:36:58.307299758Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 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 grafana | logger=sqlstore.transactions t=2023-11-19T11:36:58.317987442Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | -------------- grafana | logger=sqlstore.transactions t=2023-11-19T11:36:58.329436752Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | grafana | logger=infra.usagestats t=2023-11-19T11:37:54.10085371Z level=info msg="Usage stats are ready to report" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:54 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:55 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:56 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:57 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:58 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:58 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:58 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1911231136540800u 1 2023-11-19 11:36:58 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1911231136540900u 1 2023-11-19 11:36:58 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1911231136541000u 1 2023-11-19 11:36:58 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1911231136541000u 1 2023-11-19 11:36:58 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1911231136541000u 1 2023-11-19 11:36:58 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1911231136541000u 1 2023-11-19 11:36:58 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1911231136541000u 1 2023-11-19 11:36:58 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1911231136541000u 1 2023-11-19 11:36:59 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1911231136541000u 1 2023-11-19 11:36:59 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1911231136541000u 1 2023-11-19 11:36:59 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1911231136541000u 1 2023-11-19 11:36:59 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1911231136541100u 1 2023-11-19 11:36:59 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1911231136541200u 1 2023-11-19 11:36:59 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1911231136541200u 1 2023-11-19 11:36:59 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1911231136541200u 1 2023-11-19 11:36:59 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1911231136541200u 1 2023-11-19 11:36:59 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing policy-db-migrator ... done Removing grafana ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.KLC2ztxfMp ]] + rsync -av /tmp/tmp.KLC2ztxfMp/ /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,141 bytes received 95 bytes 2,694,472.00 bytes/sec total size is 1,346,491 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 2134 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/jenkins5639248038921412245.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5060712906819402551.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/jenkins5382310575007913690.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-4gWg from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-4gWg/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10774510111183892131.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config5069537568504764295tmp 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/jenkins7732426659075942847.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2515657731535282145.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-4gWg from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-4gWg/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13047532820340032923.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5811538660428306829.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-4gWg 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. virtualenv 20.24.6 requires platformdirs<4,>=3.9.1, but you have platformdirs 4.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-4gWg/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/jenkins11915154512891205253.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-4gWg from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-4gWg/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/184 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-1612 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 844 27405 0 3916 30866 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:c9:f9:c2 brd ff:ff:ff:ff:ff:ff inet 10.30.106.37/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86059sec preferred_lft 86059sec inet6 fe80::f816:3eff:fec9:f9c2/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:b7:a1:eb:f7 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-1612) 11/19/23 _x86_64_ (8 CPU) 11:33:51 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 162.01 87.64 74.37 6250.42 57516.15 11:36:01 102.42 13.93 88.49 1141.14 27396.23 11:37:01 426.76 21.65 405.12 2421.96 82522.25 11:38:01 16.66 0.53 16.13 24.66 17204.68 11:39:01 45.02 1.37 43.65 125.69 19336.65 Average: 150.57 25.02 125.55 1992.71 40794.48 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30209788 31681860 2729432 8.29 55828 1734900 1460780 4.30 894116 1564484 90428 11:36:01 29739388 31657704 3199832 9.71 83436 2130804 1450964 4.27 940756 1941128 258112 11:37:01 27676440 31248968 5262780 15.98 125788 3673968 3950960 11.62 1474776 3346888 112 11:38:01 26761384 30361632 6177836 18.76 126128 3675436 4720972 13.89 2387424 3345412 92 11:39:01 28091400 31626848 4847820 14.72 128260 3645012 1455252 4.28 1153476 3275640 45356 Average: 28495680 31315402 4443540 13.49 103888 2972024 2607786 7.67 1370110 2694710 78820 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 1.73 1.73 0.17 0.17 0.00 0.00 0.00 0.00 11:35:01 ens3 343.61 233.69 1492.98 58.94 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 lo 1.27 1.27 0.13 0.13 0.00 0.00 0.00 0.00 11:36:01 ens3 67.56 46.69 914.75 7.92 0.00 0.00 0.00 0.00 11:37:01 br-2189b1dd5cb0 0.50 0.52 0.05 0.30 0.00 0.00 0.00 0.00 11:37:01 veth3984d03 0.00 0.17 0.00 0.01 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 veth2e2f4f2 0.42 0.50 0.03 0.03 0.00 0.00 0.00 0.00 11:38:01 br-2189b1dd5cb0 3.13 3.62 5.88 2.23 0.00 0.00 0.00 0.00 11:38:01 veth3984d03 0.17 0.20 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 veth2e2f4f2 114.70 94.72 46.66 119.07 0.00 0.00 0.00 0.01 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:01 lo 33.57 33.57 10.37 10.37 0.00 0.00 0.00 0.00 11:39:01 ens3 768.24 513.23 11082.02 106.48 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: lo 6.12 6.12 2.02 2.02 0.00 0.00 0.00 0.00 Average: ens3 150.30 101.64 2215.55 21.19 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-1612) 11/19/23 _x86_64_ (8 CPU) 11:33:51 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 8.60 0.00 1.19 3.42 0.04 86.75 11:35:01 0 7.93 0.00 2.07 1.93 0.05 88.02 11:35:01 1 7.96 0.00 1.12 14.78 0.03 76.11 11:35:01 2 4.32 0.00 0.72 0.67 0.03 94.26 11:35:01 3 5.34 0.00 0.48 0.68 0.02 93.48 11:35:01 4 11.84 0.00 0.89 1.20 0.03 86.04 11:35:01 5 9.77 0.00 1.09 5.02 0.05 84.07 11:35:01 6 16.10 0.00 1.94 0.99 0.05 80.92 11:35:01 7 5.57 0.00 1.25 2.14 0.03 91.00 11:36:01 all 10.41 0.00 0.75 2.23 0.03 86.58 11:36:01 0 13.51 0.00 0.82 2.62 0.02 83.03 11:36:01 1 2.99 0.00 0.38 9.56 0.03 87.03 11:36:01 2 20.08 0.00 1.29 1.09 0.07 77.48 11:36:01 3 1.12 0.00 0.33 1.98 0.02 96.55 11:36:01 4 4.47 0.00 0.48 0.08 0.02 94.94 11:36:01 5 0.72 0.00 0.20 0.78 0.03 98.26 11:36:01 6 23.53 0.00 1.47 1.46 0.05 73.49 11:36:01 7 16.97 0.00 0.99 0.30 0.03 81.71 11:37:01 all 10.26 0.00 3.44 6.54 0.06 79.71 11:37:01 0 10.28 0.00 4.13 21.29 0.08 64.21 11:37:01 1 8.10 0.00 2.79 8.12 0.05 80.94 11:37:01 2 12.42 0.00 3.39 4.74 0.07 79.38 11:37:01 3 8.30 0.00 3.04 9.35 0.05 79.26 11:37:01 4 10.68 0.00 3.65 0.76 0.05 84.86 11:37:01 5 9.68 0.00 4.00 3.24 0.05 83.04 11:37:01 6 7.86 0.00 2.94 0.87 0.05 88.28 11:37:01 7 14.71 0.00 3.51 4.08 0.05 77.65 11:38:01 all 14.96 0.00 1.24 0.80 0.04 82.95 11:38:01 0 11.70 0.00 1.19 0.00 0.03 87.08 11:38:01 1 14.17 0.00 1.12 5.98 0.05 78.67 11:38:01 2 20.65 0.00 1.77 0.02 0.03 77.53 11:38:01 3 14.22 0.00 0.77 0.17 0.03 84.81 11:38:01 4 16.02 0.00 1.57 0.03 0.05 82.32 11:38:01 5 12.19 0.00 1.15 0.22 0.03 86.41 11:38:01 6 14.59 0.00 1.07 0.02 0.08 84.23 11:38:01 7 16.17 0.00 1.24 0.00 0.03 82.56 11:39:01 all 4.03 0.00 0.54 1.01 0.03 94.39 11:39:01 0 1.23 0.00 0.53 0.02 0.02 98.20 11:39:01 1 16.47 0.00 0.94 6.13 0.03 76.43 11:39:01 2 1.03 0.00 0.38 0.10 0.02 98.47 11:39:01 3 2.41 0.00 0.41 1.07 0.02 96.09 11:39:01 4 3.56 0.00 0.52 0.02 0.07 95.84 11:39:01 5 3.62 0.00 0.57 0.10 0.03 95.67 11:39:01 6 2.87 0.00 0.65 0.10 0.02 96.37 11:39:01 7 1.05 0.00 0.38 0.57 0.03 97.96 Average: all 9.65 0.00 1.43 2.80 0.04 86.09 Average: 0 8.93 0.00 1.74 5.13 0.04 84.17 Average: 1 9.94 0.00 1.27 8.92 0.04 79.84 Average: 2 11.70 0.00 1.51 1.32 0.04 85.43 Average: 3 6.27 0.00 1.00 2.63 0.03 90.07 Average: 4 9.31 0.00 1.42 0.42 0.04 88.81 Average: 5 7.19 0.00 1.40 1.87 0.04 89.51 Average: 6 12.98 0.00 1.61 0.69 0.05 84.67 Average: 7 10.89 0.00 1.47 1.42 0.04 86.19