Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-2453 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-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-XAT6UaxlsGai/agent.2091 SSH_AGENT_PID=2093 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_327514262470048919.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_327514262470048919.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-master-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/master^{commit} # timeout=10 Checking out Revision 0a32da8957faea5b96de55b540f594dc6bf9bfba (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0a32da8957faea5b96de55b540f594dc6bf9bfba # timeout=30 Commit message: "Set all cross references of policy/docker" > git rev-list --no-walk 0a32da8957faea5b96de55b540f594dc6bf9bfba # 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-master-project-csit-api] $ /bin/bash /tmp/jenkins12890051239468351806.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-hLQx 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-hLQx/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-hLQx/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.4 botocore==1.32.4 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.32 idna==3.4 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==3.11.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.6 wcwidth==0.2.11 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-master-project-csit-api] $ /bin/sh /tmp/jenkins13274528863358798033.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-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins2364063059885235118.sh + /w/workspace/policy-api-master-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-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-api + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.mIUhpJNMiP ++ echo ROBOT_VENV=/tmp/tmp.mIUhpJNMiP +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.mIUhpJNMiP ++ source /tmp/tmp.mIUhpJNMiP/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.mIUhpJNMiP +++ 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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.mIUhpJNMiP/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.mIUhpJNMiP) ' '!=' x ']' +++ PS1='(tmp.mIUhpJNMiP) ' +++ 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-master-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.mIUhpJNMiP/src/onap ++ rm -rf /tmp/tmp.mIUhpJNMiP/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.mIUhpJNMiP/bin/activate + '[' -z /tmp/tmp.mIUhpJNMiP/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.mIUhpJNMiP/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-master-project-csit-api/csit:/w/workspace/policy-api-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-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.mIUhpJNMiP ++ 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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.mIUhpJNMiP/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.mIUhpJNMiP) ' ++ '[' 'x(tmp.mIUhpJNMiP) ' '!=' x ']' ++ PS1='(tmp.mIUhpJNMiP) (tmp.mIUhpJNMiP) ' ++ 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-master-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.wCRQ42lS9U + cd /tmp/tmp.wCRQ42lS9U + 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-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-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-master-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:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:535b9fec1d4848bde53cf1c2d10e10228e438d5a3d19ff53070fe232da33e1ca Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:8d92621d8c2db53e521c2d1638b6a3401be0e528ad514a311771ba2d2337d7ea Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT 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 prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds policy-db-migrator Up 16 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds NAMES STATUS policy-api Up 30 seconds grafana Up 33 seconds mariadb Up 32 seconds prometheus Up 34 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-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-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:24:16 up 3 min, 0 users, load average: 2.23, 0.99, 0.39 Tasks: 177 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.6 us, 2.1 sy, 0.0 ni, 83.0 id, 4.2 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 30 seconds grafana Up 33 seconds mariadb Up 32 seconds prometheus Up 34 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 0c26e488006e policy-api 0.11% 535.4MiB / 31.41GiB 1.66% 999kB / 711kB 0B / 0B 56 692693862ff6 grafana 0.03% 94.52MiB / 31.41GiB 0.29% 19.1kB / 3.41kB 0B / 23.4MB 18 85be4adc1da5 mariadb 0.03% 101.1MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 67.9MB 29 e05050f348c0 prometheus 0.04% 18.86MiB / 31.41GiB 0.06% 1.38kB / 0B 205kB / 0B 12 + echo + cd /tmp/tmp.wCRQ42lS9U + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | 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 | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | 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 | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.wCRQ42lS9U/output.xml Log: /tmp/tmp.wCRQ42lS9U/log.html Report: /tmp/tmp.wCRQ42lS9U/report.html + RESULT=0 + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana 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:25:28 up 5 min, 0 users, load average: 0.89, 0.87, 0.40 Tasks: 175 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.1 us, 1.7 sy, 0.0 ni, 85.7 id, 3.4 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.7G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute 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 0c26e488006e policy-api 0.11% 773.5MiB / 31.41GiB 2.40% 7.01MB / 2.55MB 0B / 0B 55 692693862ff6 grafana 0.10% 94.87MiB / 31.41GiB 0.29% 20.3kB / 4.65kB 0B / 23.4MB 18 85be4adc1da5 mariadb 0.02% 102MiB / 31.41GiB 0.32% 2.39MB / 7.05MB 11MB / 68.3MB 18 e05050f348c0 prometheus 0.00% 25.08MiB / 31.41GiB 0.08% 55.5kB / 6.56kB 205kB / 0B 13 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2023-11-21T11:23:42.864616535Z 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-21T11:23:42.86505438Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-21T11:23:42.86507017Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-21T11:23:42.86507498Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-21T11:23:42.865079851Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-21T11:23:42.865083621Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-21T11:23:42.865087311Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-21T11:23:42.865092041Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-21T11:23:42.865097961Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-21T11:23:42.865107551Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-21T11:23:42.865111261Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-21T11:23:42.865114731Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-21T11:23:42.865118321Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-21T11:23:42.865124011Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-21T11:23:42.865128521Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-21T11:23:42.865131521Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-21T11:23:42.865135271Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-21T11:23:42.865138931Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-21T11:23:42.865144261Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-21T11:23:42.865535326Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-21T11:23:42.865556726Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-21T11:23:42.866283154Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-21T11:23:42.867248305Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-21T11:23:42.867963123Z level=info msg="Migration successfully executed" id="create migration_log table" duration=715.108µs grafana | logger=migrator t=2023-11-21T11:23:42.873982302Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-21T11:23:42.874490277Z level=info msg="Migration successfully executed" id="create user table" duration=508.775µs grafana | logger=migrator t=2023-11-21T11:23:42.877451571Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-21T11:23:42.878007697Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=556.086µs grafana | logger=migrator t=2023-11-21T11:23:42.881436966Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-21T11:23:42.882553729Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.116043ms grafana | logger=migrator t=2023-11-21T11:23:42.888278304Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-21T11:23:42.888956671Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=678.587µs grafana | logger=migrator t=2023-11-21T11:23:42.891754853Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-21T11:23:42.89238235Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=627.307µs grafana | logger=migrator t=2023-11-21T11:23:42.895531237Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-21T11:23:42.89848611Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.952433ms grafana | logger=migrator t=2023-11-21T11:23:42.903488616Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-21T11:23:42.904195185Z level=info msg="Migration successfully executed" id="create user table v2" duration=706.559µs grafana | logger=migrator t=2023-11-21T11:23:42.906294988Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-21T11:23:42.907020807Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=725.489µs grafana | logger=migrator t=2023-11-21T11:23:42.909774999Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-21T11:23:42.910494986Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=719.757µs grafana | logger=migrator t=2023-11-21T11:23:42.913313128Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-21T11:23:42.913765813Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=453.035µs grafana | logger=migrator t=2023-11-21T11:23:42.918593999Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-21T11:23:42.919087554Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=493.575µs grafana | logger=migrator t=2023-11-21T11:23:42.921973257Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-21T11:23:42.923640876Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.667219ms grafana | logger=migrator t=2023-11-21T11:23:42.926553989Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-21T11:23:42.92659142Z level=info msg="Migration successfully executed" id="Update user table charset" duration=38.361µs grafana | logger=migrator t=2023-11-21T11:23:42.931984371Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-21T11:23:42.933165964Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.183573ms grafana | logger=migrator t=2023-11-21T11:23:42.940007791Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-21T11:23:42.940333956Z level=info msg="Migration successfully executed" id="Add missing user data" duration=329.525µs grafana | logger=migrator t=2023-11-21T11:23:42.942060125Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-21T11:23:42.942961536Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=900.931µs grafana | logger=migrator t=2023-11-21T11:23:42.945054699Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-21T11:23:42.945575985Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=521.226µs grafana | logger=migrator t=2023-11-21T11:23:42.949942225Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-21T11:23:42.950748174Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=805.729µs grafana | logger=migrator t=2023-11-21T11:23:42.953318963Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-21T11:23:42.96356411Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.244387ms grafana | logger=migrator t=2023-11-21T11:23:42.96623394Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-21T11:23:42.966748806Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=516.636µs grafana | logger=migrator t=2023-11-21T11:23:42.969153603Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-21T11:23:42.969692519Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=541.216µs grafana | logger=migrator t=2023-11-21T11:23:42.973871307Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-21T11:23:42.974480944Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=608.867µs grafana | logger=migrator t=2023-11-21T11:23:42.977837842Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-21T11:23:42.97854101Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=703.098µs grafana | logger=migrator t=2023-11-21T11:23:43.009612586Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-21T11:23:43.011441304Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.822468ms grafana | logger=migrator t=2023-11-21T11:23:43.014928189Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-21T11:23:43.014974999Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=44.8µs grafana | logger=migrator t=2023-11-21T11:23:43.018398772Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-21T11:23:43.01908879Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=690.128µs grafana | logger=migrator t=2023-11-21T11:23:43.023801555Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-21T11:23:43.024521573Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=719.478µs grafana | logger=migrator t=2023-11-21T11:23:43.027374961Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-21T11:23:43.028511212Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.139671ms grafana | logger=migrator t=2023-11-21T11:23:43.031816894Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-21T11:23:43.032896275Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.078711ms grafana | logger=migrator t=2023-11-21T11:23:43.038194517Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-21T11:23:43.044780121Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=6.581614ms grafana | logger=migrator t=2023-11-21T11:23:43.048343985Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-21T11:23:43.049698349Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.353824ms grafana | logger=migrator t=2023-11-21T11:23:43.053086422Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-21T11:23:43.054330224Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.239592ms grafana | logger=migrator t=2023-11-21T11:23:43.06013271Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-21T11:23:43.060881639Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=748.628µs grafana | logger=migrator t=2023-11-21T11:23:43.063689706Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-21T11:23:43.064585904Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=866.858µs grafana | logger=migrator t=2023-11-21T11:23:43.067912497Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-21T11:23:43.069124039Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.211222ms grafana | logger=migrator t=2023-11-21T11:23:43.07448176Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-21T11:23:43.075147387Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=666.797µs grafana | logger=migrator t=2023-11-21T11:23:43.078627991Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-21T11:23:43.079482359Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=849.188µs grafana | logger=migrator t=2023-11-21T11:23:43.082751551Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-21T11:23:43.083104755Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=353.935µs grafana | logger=migrator t=2023-11-21T11:23:43.086235675Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-21T11:23:43.086819211Z level=info msg="Migration successfully executed" id="create star table" duration=582.466µs grafana | logger=migrator t=2023-11-21T11:23:43.091943031Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-21T11:23:43.093250363Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.306922ms grafana | logger=migrator t=2023-11-21T11:23:43.096509994Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-21T11:23:43.097747857Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.237263ms grafana | logger=migrator t=2023-11-21T11:23:43.102657005Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-21T11:23:43.103429182Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=767.797µs grafana | logger=migrator t=2023-11-21T11:23:43.108375211Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-21T11:23:43.109554371Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.178751ms grafana | logger=migrator t=2023-11-21T11:23:43.113118736Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-21T11:23:43.11451333Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.394684ms grafana | logger=migrator t=2023-11-21T11:23:43.117771841Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-21T11:23:43.11866425Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=892.069µs grafana | logger=migrator t=2023-11-21T11:23:43.12171442Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-21T11:23:43.122563138Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=848.499µs grafana | logger=migrator t=2023-11-21T11:23:43.127596426Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-21T11:23:43.127622277Z level=info msg="Migration successfully executed" id="Update org table charset" duration=26.571µs grafana | logger=migrator t=2023-11-21T11:23:43.129913089Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-21T11:23:43.129937119Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=25.45µs grafana | logger=migrator t=2023-11-21T11:23:43.13310703Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-21T11:23:43.133379173Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=272.233µs grafana | logger=migrator t=2023-11-21T11:23:43.136601395Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-21T11:23:43.137970468Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.368813ms grafana | logger=migrator t=2023-11-21T11:23:43.14341028Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-21T11:23:43.144290049Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=878.989µs grafana | logger=migrator t=2023-11-21T11:23:43.147572741Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-21T11:23:43.148561251Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=985.88µs grafana | logger=migrator t=2023-11-21T11:23:43.151484689Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-21T11:23:43.152237046Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=751.707µs grafana | logger=migrator t=2023-11-21T11:23:43.155384057Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-21T11:23:43.156258526Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=871.169µs grafana | logger=migrator t=2023-11-21T11:23:43.161075312Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-21T11:23:43.161923681Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=848.499µs grafana | logger=migrator t=2023-11-21T11:23:43.16486783Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-21T11:23:43.171736176Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.867746ms grafana | logger=migrator t=2023-11-21T11:23:43.175072118Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-21T11:23:43.175919787Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=846.339µs grafana | logger=migrator t=2023-11-21T11:23:43.181079027Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-21T11:23:43.182115377Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.03768ms grafana | logger=migrator t=2023-11-21T11:23:43.185474709Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-21T11:23:43.186863403Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.387484ms grafana | logger=migrator t=2023-11-21T11:23:43.190422258Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-21T11:23:43.191043213Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=620.565µs grafana | logger=migrator t=2023-11-21T11:23:43.196238394Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-21T11:23:43.197172313Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=933.509µs grafana | logger=migrator t=2023-11-21T11:23:43.200415854Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-21T11:23:43.200583796Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=141.602µs grafana | logger=migrator t=2023-11-21T11:23:43.203814058Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-21T11:23:43.206808057Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.976739ms grafana | logger=migrator t=2023-11-21T11:23:43.21224581Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-21T11:23:43.214126338Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.880388ms grafana | logger=migrator t=2023-11-21T11:23:43.217283608Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-21T11:23:43.219116976Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.832658ms grafana | logger=migrator t=2023-11-21T11:23:43.222436738Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-21T11:23:43.223277757Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=842.149µs grafana | logger=migrator t=2023-11-21T11:23:43.228600088Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-21T11:23:43.231307964Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.705616ms grafana | logger=migrator t=2023-11-21T11:23:43.23486686Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-21T11:23:43.236372174Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.505444ms grafana | logger=migrator t=2023-11-21T11:23:43.240538475Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-21T11:23:43.241408823Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=870.178µs grafana | logger=migrator t=2023-11-21T11:23:43.246648304Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-21T11:23:43.246690245Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=43.931µs grafana | logger=migrator t=2023-11-21T11:23:43.250259649Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-21T11:23:43.250299539Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=41.67µs grafana | logger=migrator t=2023-11-21T11:23:43.253719653Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-21T11:23:43.255850773Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.131211ms grafana | logger=migrator t=2023-11-21T11:23:43.262115014Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-21T11:23:43.264071293Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.953419ms grafana | logger=migrator t=2023-11-21T11:23:43.267045772Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-21T11:23:43.269048582Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.00182ms grafana | logger=migrator t=2023-11-21T11:23:43.272337974Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-21T11:23:43.274360383Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.021079ms grafana | logger=migrator t=2023-11-21T11:23:43.277571825Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-21T11:23:43.27811398Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=540.865µs grafana | logger=migrator t=2023-11-21T11:23:43.283660764Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-21T11:23:43.285113028Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.451164ms grafana | logger=migrator t=2023-11-21T11:23:43.288691973Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-21T11:23:43.290015865Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.323942ms grafana | logger=migrator t=2023-11-21T11:23:43.293364039Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-21T11:23:43.293408189Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=45.68µs grafana | logger=migrator t=2023-11-21T11:23:43.298691801Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-21T11:23:43.299554449Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=862.058µs grafana | logger=migrator t=2023-11-21T11:23:43.302683579Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-21T11:23:43.30382459Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.13722ms grafana | logger=migrator t=2023-11-21T11:23:43.307177853Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-21T11:23:43.31523402Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.056747ms grafana | logger=migrator t=2023-11-21T11:23:43.320536622Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-21T11:23:43.321757174Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.219862ms grafana | logger=migrator t=2023-11-21T11:23:43.325220198Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-21T11:23:43.326631431Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.411073ms grafana | logger=migrator t=2023-11-21T11:23:43.329984514Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-21T11:23:43.330939003Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=954.219µs grafana | logger=migrator t=2023-11-21T11:23:43.336237695Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-21T11:23:43.336703329Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=464.684µs grafana | logger=migrator t=2023-11-21T11:23:43.340235474Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-21T11:23:43.341352015Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.115072ms grafana | logger=migrator t=2023-11-21T11:23:43.345076231Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-21T11:23:43.347265732Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.190581ms grafana | logger=migrator t=2023-11-21T11:23:43.352768976Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-21T11:23:43.353705524Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=936.188µs grafana | logger=migrator t=2023-11-21T11:23:43.356931956Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-21T11:23:43.357209938Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=277.592µs grafana | logger=migrator t=2023-11-21T11:23:43.360109146Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-21T11:23:43.36039145Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=279.114µs grafana | logger=migrator t=2023-11-21T11:23:43.396881995Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-21T11:23:43.39855016Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.672175ms grafana | logger=migrator t=2023-11-21T11:23:43.404459918Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-21T11:23:43.40670272Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.241642ms grafana | logger=migrator t=2023-11-21T11:23:43.413653228Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-11-21T11:23:43.414576036Z level=info msg="Migration successfully executed" id="create data_source table" duration=946.359µs grafana | logger=migrator t=2023-11-21T11:23:43.41809849Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-21T11:23:43.418883498Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=782.488µs grafana | logger=migrator t=2023-11-21T11:23:43.425479313Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-21T11:23:43.426392911Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=913.249µs grafana | logger=migrator t=2023-11-21T11:23:43.429227199Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-21T11:23:43.429999446Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=772.147µs grafana | logger=migrator t=2023-11-21T11:23:43.433589791Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-21T11:23:43.43448614Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=895.389µs grafana | logger=migrator t=2023-11-21T11:23:43.439219956Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-21T11:23:43.448164583Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.942957ms grafana | logger=migrator t=2023-11-21T11:23:43.451153372Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-21T11:23:43.451945739Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=792.397µs grafana | logger=migrator t=2023-11-21T11:23:43.455676516Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-21T11:23:43.456492244Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=815.318µs grafana | logger=migrator t=2023-11-21T11:23:43.459586154Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-21T11:23:43.460456502Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=869.398µs grafana | logger=migrator t=2023-11-21T11:23:43.464377371Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-21T11:23:43.464938226Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=560.355µs grafana | logger=migrator t=2023-11-21T11:23:43.46851468Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-21T11:23:43.47250307Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.98664ms grafana | logger=migrator t=2023-11-21T11:23:43.475980483Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-21T11:23:43.480240324Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=4.257361ms grafana | logger=migrator t=2023-11-21T11:23:43.484595777Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-21T11:23:43.484622567Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=22.62µs grafana | logger=migrator t=2023-11-21T11:23:43.487774958Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-21T11:23:43.487945679Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=171.211µs grafana | logger=migrator t=2023-11-21T11:23:43.491656915Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-21T11:23:43.495304451Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.644266ms grafana | logger=migrator t=2023-11-21T11:23:43.498857756Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-21T11:23:43.499028467Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=170.721µs grafana | logger=migrator t=2023-11-21T11:23:43.503539241Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-21T11:23:43.503829254Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=289.983µs grafana | logger=migrator t=2023-11-21T11:23:43.507348678Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-21T11:23:43.511392597Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.038409ms grafana | logger=migrator t=2023-11-21T11:23:43.515030423Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-21T11:23:43.515313526Z level=info msg="Migration successfully executed" id="Update uid value" duration=287.623µs grafana | logger=migrator t=2023-11-21T11:23:43.518941651Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-21T11:23:43.520328795Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.386644ms grafana | logger=migrator t=2023-11-21T11:23:43.524813728Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-21T11:23:43.525619526Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=803.128µs grafana | logger=migrator t=2023-11-21T11:23:43.5291607Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-21T11:23:43.529873017Z level=info msg="Migration successfully executed" id="create api_key table" duration=711.327µs grafana | logger=migrator t=2023-11-21T11:23:43.532964597Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-21T11:23:43.533726354Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=761.787µs grafana | logger=migrator t=2023-11-21T11:23:43.537542602Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-21T11:23:43.538337579Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=794.607µs grafana | logger=migrator t=2023-11-21T11:23:43.54155381Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-21T11:23:43.542398829Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=844.739µs grafana | logger=migrator t=2023-11-21T11:23:43.547099674Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-21T11:23:43.547820891Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=721.557µs grafana | logger=migrator t=2023-11-21T11:23:43.552000872Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-21T11:23:43.552735549Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=734.187µs mariadb | 2023-11-21 11:23:43+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-21 11:23:43+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-21 11:23:43+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-21 11:23:44+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-21 11:23:44 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-21 11:23:44 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-21 11:23:44 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-21 11:23:45+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-21 11:23:45+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-21 11:23:45+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-21 11:23:45 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2023-11-21 11:23:45 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-21 11:23:45 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-21 11:23:45 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2023-11-21T11:23:43.556172882Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-11-21T11:23:43.55689774Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=724.358µs grafana | logger=migrator t=2023-11-21T11:23:43.561557385Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-21T11:23:43.573089897Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.533482ms grafana | logger=migrator t=2023-11-21T11:23:43.576305179Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-21T11:23:43.576979155Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=673.086µs grafana | logger=migrator t=2023-11-21T11:23:43.580105445Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-21T11:23:43.580866892Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=761.417µs grafana | logger=migrator t=2023-11-21T11:23:43.584987043Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-21T11:23:43.58574351Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=755.047µs grafana | logger=migrator t=2023-11-21T11:23:43.589149863Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-21T11:23:43.590403376Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.253443ms grafana | logger=migrator t=2023-11-21T11:23:43.594175492Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-21T11:23:43.594698487Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=521.315µs grafana | logger=migrator t=2023-11-21T11:23:43.599022359Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-21T11:23:43.599551264Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=526.605µs grafana | logger=migrator t=2023-11-21T11:23:43.602250091Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-21T11:23:43.602270911Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=20.99µs grafana | logger=migrator t=2023-11-21T11:23:43.605428232Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-21T11:23:43.609376149Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.943987ms grafana | logger=migrator t=2023-11-21T11:23:43.613533051Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-21T11:23:43.615993834Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.460034ms grafana | logger=migrator t=2023-11-21T11:23:43.619164455Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-21T11:23:43.619319287Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=155.201µs grafana | logger=migrator t=2023-11-21T11:23:43.621817431Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-21T11:23:43.624275135Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.457334ms grafana | logger=migrator t=2023-11-21T11:23:43.627501936Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-21T11:23:43.630096471Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.593745ms grafana | logger=migrator t=2023-11-21T11:23:43.63414438Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-21T11:23:43.634808087Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=661.327µs grafana | logger=migrator t=2023-11-21T11:23:43.637899868Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-21T11:23:43.638428982Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=526.055µs grafana | logger=migrator t=2023-11-21T11:23:43.642775294Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-21T11:23:43.643510242Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=734.828µs grafana | logger=migrator t=2023-11-21T11:23:43.646849544Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-21T11:23:43.647627681Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=777.827µs grafana | logger=migrator t=2023-11-21T11:23:43.650927353Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-21T11:23:43.651699632Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=771.959µs grafana | logger=migrator t=2023-11-21T11:23:43.65563161Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-21T11:23:43.656470817Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=840.767µs grafana | logger=migrator t=2023-11-21T11:23:43.659696919Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-21T11:23:43.659757699Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=61.49µs grafana | logger=migrator t=2023-11-21T11:23:43.663626617Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-21T11:23:43.663671168Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=45.801µs grafana | logger=migrator t=2023-11-21T11:23:43.667380334Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-21T11:23:43.67209091Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.709626ms grafana | logger=migrator t=2023-11-21T11:23:43.677657854Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-21T11:23:43.68038896Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.729116ms grafana | logger=migrator t=2023-11-21T11:23:43.683568201Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-21T11:23:43.683627062Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=59.341µs grafana | logger=migrator t=2023-11-21T11:23:43.686098656Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-21T11:23:43.686739142Z level=info msg="Migration successfully executed" id="create quota table v1" duration=639.936µs mariadb | 2023-11-21 11:23:45 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-21 11:23:45 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-21 11:23:45 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-21 11:23:45 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-21 11:23:45 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-21 11:23:45 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-21 11:23:45 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-21 11:23:45 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-21 11:23:45 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-21 11:23:45 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-21 11:23:45 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-21 11:23:45 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-21 11:23:45 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-21 11:23:45 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-21 11:23:45 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-21 11:23:46+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-21 11:23:48+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-21 11:23:48+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2023-11-21 11:23:48+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2023-11-21 11:23:48+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;' grafana | logger=migrator t=2023-11-21T11:23:43.691113785Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-21T11:23:43.692469217Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.354422ms grafana | logger=migrator t=2023-11-21T11:23:43.697331445Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-21T11:23:43.697368555Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=39.66µs grafana | logger=migrator t=2023-11-21T11:23:43.701125032Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-21T11:23:43.701884769Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=759.487µs grafana | logger=migrator t=2023-11-21T11:23:43.705167171Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-21T11:23:43.70610022Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=932.289µs grafana | logger=migrator t=2023-11-21T11:23:43.710039948Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-21T11:23:43.712937166Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.896198ms grafana | logger=migrator t=2023-11-21T11:23:43.716176498Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-21T11:23:43.716197569Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=23.541µs grafana | logger=migrator t=2023-11-21T11:23:43.720310598Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-21T11:23:43.721135976Z level=info msg="Migration successfully executed" id="create session table" duration=824.948µs grafana | logger=migrator t=2023-11-21T11:23:43.725547129Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-21T11:23:43.725811602Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=263.283µs grafana | logger=migrator t=2023-11-21T11:23:43.7297842Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-21T11:23:43.730004272Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=218.602µs grafana | logger=migrator t=2023-11-21T11:23:43.733584117Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-21T11:23:43.734338314Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=753.547µs grafana | logger=migrator t=2023-11-21T11:23:43.738824308Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-21T11:23:43.739550865Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=725.937µs grafana | logger=migrator t=2023-11-21T11:23:43.742830897Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-21T11:23:43.742864057Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=34.87µs grafana | logger=migrator t=2023-11-21T11:23:43.769229333Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-21T11:23:43.769298875Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=81.702µs grafana | logger=migrator t=2023-11-21T11:23:43.772795018Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-21T11:23:43.778432923Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.636845ms grafana | logger=migrator t=2023-11-21T11:23:43.784197229Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-21T11:23:43.788516131Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.321972ms grafana | logger=migrator t=2023-11-21T11:23:43.792091766Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-21T11:23:43.792188597Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=97.481µs grafana | logger=migrator t=2023-11-21T11:23:43.795884453Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-21T11:23:43.796063154Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=178.251µs grafana | logger=migrator t=2023-11-21T11:23:43.800425417Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-21T11:23:43.801524837Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.10135ms grafana | logger=migrator t=2023-11-21T11:23:43.807288113Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-21T11:23:43.807322834Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=35.621µs grafana | logger=migrator t=2023-11-21T11:23:43.815418213Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-21T11:23:43.821503482Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=6.13675ms grafana | logger=migrator t=2023-11-21T11:23:43.826542301Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-21T11:23:43.826704772Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=163.201µs grafana | logger=migrator t=2023-11-21T11:23:43.829657571Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-21T11:23:43.832958873Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.301132ms grafana | logger=migrator t=2023-11-21T11:23:43.837951512Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-21T11:23:43.842717868Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=4.767917ms grafana | logger=migrator t=2023-11-21T11:23:43.845576026Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-21T11:23:43.845661367Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=86.281µs grafana | logger=migrator t=2023-11-21T11:23:43.848521925Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-21T11:23:43.849475424Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=952.549µs grafana | logger=migrator t=2023-11-21T11:23:43.857803175Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-21T11:23:43.859007397Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.206243ms grafana | logger=migrator t=2023-11-21T11:23:43.862409099Z level=info msg="Executing migration" id="create alert table v1" 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-21 11:23:49+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-21 11:23:49 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: Buffer pool(s) dump completed at 231121 11:23:49 mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: Shutdown completed; log sequence number 339006; transaction id 298 mariadb | 2023-11-21 11:23:49 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-21 11:23:49+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-21 11:23:49+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-21 11:23:49 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-21 11:23:49 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-21 11:23:49 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-21 11:23:49 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: log sequence number 339006; transaction id 299 mariadb | 2023-11-21 11:23:49 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-21 11:23:49 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-21 11:23:49 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-21 11:23:49 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-21 11:23:49 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-21 11:23:49 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-21 11:23:49 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-21 11:23:49 0 [Note] InnoDB: Buffer pool(s) load completed at 231121 11:23:49 mariadb | 2023-11-21 11:23:50 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2023-11-21 11:23:50 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-21T11:23:43.863441969Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.0324ms grafana | logger=migrator t=2023-11-21T11:23:43.868190006Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-21T11:23:43.869156995Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=966.519µs grafana | logger=migrator t=2023-11-21T11:23:43.875485406Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-21T11:23:43.87684076Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.355014ms grafana | logger=migrator t=2023-11-21T11:23:43.887186821Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-21T11:23:43.888029948Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=842.847µs grafana | logger=migrator t=2023-11-21T11:23:43.898110176Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-21T11:23:43.899151977Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.04078ms grafana | logger=migrator t=2023-11-21T11:23:43.90256948Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-21T11:23:43.90569173Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=3.103129ms grafana | logger=migrator t=2023-11-21T11:23:43.911745939Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-21T11:23:43.913205183Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.460164ms grafana | logger=migrator t=2023-11-21T11:23:43.916621146Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-21T11:23:43.932338759Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=15.719143ms grafana | logger=migrator t=2023-11-21T11:23:43.936048055Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-21T11:23:43.93656337Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=515.165µs grafana | logger=migrator t=2023-11-21T11:23:43.943015503Z 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-21T11:23:43.944698539Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.686986ms grafana | logger=migrator t=2023-11-21T11:23:43.950610386Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-21T11:23:43.951199452Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=588.946µs grafana | logger=migrator t=2023-11-21T11:23:43.954973409Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-21T11:23:43.955829597Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=860.248µs grafana | logger=migrator t=2023-11-21T11:23:43.964234859Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-21T11:23:43.965806535Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.571566ms grafana | logger=migrator t=2023-11-21T11:23:43.972344008Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-21T11:23:43.975172505Z level=info msg="Migration successfully executed" id="Add column is_default" duration=2.828437ms grafana | logger=migrator t=2023-11-21T11:23:43.982042532Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-21T11:23:43.988090851Z level=info msg="Migration successfully executed" id="Add column frequency" duration=6.042669ms grafana | logger=migrator t=2023-11-21T11:23:43.992497573Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-21T11:23:43.997364571Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=4.867008ms grafana | logger=migrator t=2023-11-21T11:23:44.000934906Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-21T11:23:44.004219567Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.283801ms grafana | logger=migrator t=2023-11-21T11:23:44.010655359Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-21T11:23:44.012234416Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.578907ms grafana | logger=migrator t=2023-11-21T11:23:44.017708597Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-21T11:23:44.017738587Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=30.63µs grafana | logger=migrator t=2023-11-21T11:23:44.022122856Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-21T11:23:44.022149887Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=26.681µs grafana | logger=migrator t=2023-11-21T11:23:44.025931648Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-21T11:23:44.027016551Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.084433ms grafana | logger=migrator t=2023-11-21T11:23:44.03057325Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-21T11:23:44.03152323Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=949.75µs grafana | logger=migrator t=2023-11-21T11:23:44.03509061Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-21T11:23:44.035863249Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=775.59µs grafana | logger=migrator t=2023-11-21T11:23:44.04134921Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-21T11:23:44.043139899Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.792099ms grafana | logger=migrator t=2023-11-21T11:23:44.048741241Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-21T11:23:44.050032026Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.291405ms grafana | logger=migrator t=2023-11-21T11:23:44.053501284Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-21T11:23:44.057279886Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.777662ms grafana | logger=migrator t=2023-11-21T11:23:44.061862557Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-21T11:23:44.065494697Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.63128ms grafana | logger=migrator t=2023-11-21T11:23:44.068855494Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-21T11:23:44.069119218Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=262.914µs grafana | logger=migrator t=2023-11-21T11:23:44.072407514Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-21T11:23:44.073373004Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=965.24µs grafana | logger=migrator t=2023-11-21T11:23:44.081785448Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-21T11:23:44.082639207Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=853.89µs grafana | logger=migrator t=2023-11-21T11:23:44.086987535Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-21T11:23:44.090614355Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.62424ms grafana | logger=migrator t=2023-11-21T11:23:44.093844221Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-21T11:23:44.093935222Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=94.221µs grafana | logger=migrator t=2023-11-21T11:23:44.097050297Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-21T11:23:44.097953937Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=902.86µs grafana | logger=migrator t=2023-11-21T11:23:44.103114634Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-21T11:23:44.104824453Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.709349ms grafana | logger=migrator t=2023-11-21T11:23:44.108761047Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-21T11:23:44.108918179Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=159.212µs grafana | logger=migrator t=2023-11-21T11:23:44.112614809Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-21T11:23:44.113374267Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=758.618µs grafana | logger=migrator t=2023-11-21T11:23:44.117694536Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-21T11:23:44.118604256Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=908.979µs grafana | logger=migrator t=2023-11-21T11:23:44.122050804Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-21T11:23:44.122956764Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=905.321µs grafana | logger=migrator t=2023-11-21T11:23:44.126771816Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-21T11:23:44.128400595Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.632829ms grafana | logger=migrator t=2023-11-21T11:23:44.165531086Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-21T11:23:44.167139274Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.611008ms grafana | logger=migrator t=2023-11-21T11:23:44.17038479Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-21T11:23:44.171934537Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.549547ms grafana | logger=migrator t=2023-11-21T11:23:44.175125732Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-21T11:23:44.175197963Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=73.431µs grafana | logger=migrator t=2023-11-21T11:23:44.177527859Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-21T11:23:44.181542834Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.014315ms grafana | logger=migrator t=2023-11-21T11:23:44.185292815Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-21T11:23:44.186186425Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=896.63µs grafana | logger=migrator t=2023-11-21T11:23:44.192331954Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-21T11:23:44.195455668Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.126795ms grafana | logger=migrator t=2023-11-21T11:23:44.200143879Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-21T11:23:44.200782567Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=639.548µs grafana | logger=migrator t=2023-11-21T11:23:44.205960614Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-21T11:23:44.206880425Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=920.261µs grafana | logger=migrator t=2023-11-21T11:23:44.214433088Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-21T11:23:44.215515211Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.081363ms grafana | logger=migrator t=2023-11-21T11:23:44.218676016Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-21T11:23:44.235588034Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.911538ms grafana | logger=migrator t=2023-11-21T11:23:44.238477576Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-21T11:23:44.238977331Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=500.375µs grafana | logger=migrator t=2023-11-21T11:23:44.245109959Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-11-21T11:23:44.24599135Z 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=884.171µs grafana | logger=migrator t=2023-11-21T11:23:44.249039473Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-21T11:23:44.249365517Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=324.994µs grafana | logger=migrator t=2023-11-21T11:23:44.254040209Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-11-21T11:23:44.254836428Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=796.059µs grafana | logger=migrator t=2023-11-21T11:23:44.261927606Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-21T11:23:44.262194659Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=266.623µs grafana | logger=migrator t=2023-11-21T11:23:44.265582077Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-21T11:23:44.270979207Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.3973ms grafana | logger=migrator t=2023-11-21T11:23:44.274218953Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-21T11:23:44.278285888Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.065745ms grafana | logger=migrator t=2023-11-21T11:23:44.2829534Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-21T11:23:44.28383916Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=885.97µs grafana | logger=migrator t=2023-11-21T11:23:44.287719003Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-21T11:23:44.288639903Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=920.81µs grafana | logger=migrator t=2023-11-21T11:23:44.294927653Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-21T11:23:44.295339417Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=411.014µs grafana | logger=migrator t=2023-11-21T11:23:44.301746069Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-21T11:23:44.30642298Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.678841ms grafana | logger=migrator t=2023-11-21T11:23:44.309732787Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-21T11:23:44.310743479Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.009832ms grafana | logger=migrator t=2023-11-21T11:23:44.315017546Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-21T11:23:44.315188117Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=173.541µs grafana | logger=migrator t=2023-11-21T11:23:44.318208841Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-21T11:23:44.318831739Z level=info msg="Migration successfully executed" id="Move region to single row" duration=621.348µs grafana | logger=migrator t=2023-11-21T11:23:44.32524944Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-21T11:23:44.32704042Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.78972ms grafana | logger=migrator t=2023-11-21T11:23:44.332179786Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-21T11:23:44.333721134Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.541398ms grafana | logger=migrator t=2023-11-21T11:23:44.33785201Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-21T11:23:44.339350147Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.497517ms grafana | logger=migrator t=2023-11-21T11:23:44.345275902Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-21T11:23:44.346167912Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=890.67µs grafana | logger=migrator t=2023-11-21T11:23:44.350424049Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-21T11:23:44.351217688Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=793.439µs grafana | logger=migrator t=2023-11-21T11:23:44.358047995Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-21T11:23:44.359575721Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.528506ms grafana | logger=migrator t=2023-11-21T11:23:44.364772449Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-21T11:23:44.36488244Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=110.711µs grafana | logger=migrator t=2023-11-21T11:23:44.369041027Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-21T11:23:44.37031815Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.276083ms grafana | logger=migrator t=2023-11-21T11:23:44.376254526Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-21T11:23:44.376982554Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=728.528µs grafana | logger=migrator t=2023-11-21T11:23:44.383311625Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-21T11:23:44.385172565Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.86688ms grafana | logger=migrator t=2023-11-21T11:23:44.389466383Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-21T11:23:44.391076321Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.618008ms grafana | logger=migrator t=2023-11-21T11:23:44.394239717Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-21T11:23:44.39452515Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=287.053µs grafana | logger=migrator t=2023-11-21T11:23:44.400040161Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-21T11:23:44.400495106Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=455.075µs grafana | logger=migrator t=2023-11-21T11:23:44.406569983Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-11-21T11:23:44.406731115Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=163.742µs policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2023-11-21T11:24:05.086+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 27 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-21T11:24:05.090+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-21T11:24:07.035+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-21T11:24:07.132+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 86 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-21T11:24:07.552+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-11-21T11:24:07.553+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-11-21T11:24:08.290+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-21T11:24:08.300+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-21T11:24:08.302+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-21T11:24:08.303+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2023-11-21T11:24:08.404+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-21T11:24:08.405+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3228 ms policy-api | [2023-11-21T11:24:08.855+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-21T11:24:08.927+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2023-11-21T11:24:08.931+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2023-11-21T11:24:08.979+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2023-11-21T11:24:09.327+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2023-11-21T11:24:09.348+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-21T11:24:09.442+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@7636823f policy-api | [2023-11-21T11:24:09.445+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-21T11:24:09.470+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2023-11-21T11:24:09.471+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2023-11-21T11:24:11.393+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2023-11-21T11:24:11.397+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-21T11:24:12.761+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-21T11:24:13.660+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2023-11-21T11:23:44.410951782Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-11-21T11:23:44.412363398Z level=info msg="Migration successfully executed" id="create team table" duration=1.411166ms grafana | logger=migrator t=2023-11-21T11:23:44.417308133Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-21T11:23:44.419302055Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.993022ms grafana | logger=migrator t=2023-11-21T11:23:44.423485411Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-21T11:23:44.424851407Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.368106ms grafana | logger=migrator t=2023-11-21T11:23:44.429461337Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-21T11:23:44.435246652Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.778205ms grafana | logger=migrator t=2023-11-21T11:23:44.44141706Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-21T11:23:44.441731944Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=317.304µs grafana | logger=migrator t=2023-11-21T11:23:44.446592338Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-21T11:23:44.447827332Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.232314ms grafana | logger=migrator t=2023-11-21T11:23:44.453675067Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-21T11:23:44.455097652Z level=info msg="Migration successfully executed" id="create team member table" duration=1.423205ms grafana | logger=migrator t=2023-11-21T11:23:44.460780225Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-21T11:23:44.462325533Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.550328ms grafana | logger=migrator t=2023-11-21T11:23:44.467138607Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-21T11:23:44.46834977Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.211963ms grafana | logger=migrator t=2023-11-21T11:23:44.473070613Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-21T11:23:44.474829502Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.761478ms grafana | logger=migrator t=2023-11-21T11:23:44.479494794Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-21T11:23:44.486456141Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.958837ms grafana | logger=migrator t=2023-11-21T11:23:44.490241343Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-21T11:23:44.495696794Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.429781ms grafana | logger=migrator t=2023-11-21T11:23:44.500190673Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-21T11:23:44.506472364Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=6.27793ms grafana | logger=migrator t=2023-11-21T11:23:44.512640462Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-21T11:23:44.513825005Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.184443ms grafana | logger=migrator t=2023-11-21T11:23:44.551898588Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-21T11:23:44.553852Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.953472ms grafana | logger=migrator t=2023-11-21T11:23:44.558734914Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-21T11:23:44.559829466Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.094522ms grafana | logger=migrator t=2023-11-21T11:23:44.565910204Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-21T11:23:44.56739885Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.488736ms grafana | logger=migrator t=2023-11-21T11:23:44.573552389Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-21T11:23:44.575010135Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.457786ms grafana | logger=migrator t=2023-11-21T11:23:44.580685058Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-21T11:23:44.582176935Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.491747ms grafana | logger=migrator t=2023-11-21T11:23:44.588376564Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-21T11:23:44.589359494Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=982.64µs grafana | logger=migrator t=2023-11-21T11:23:44.593870035Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-21T11:23:44.59531534Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.445416ms grafana | logger=migrator t=2023-11-21T11:23:44.601121685Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-21T11:23:44.602118977Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=1.002181ms grafana | logger=migrator t=2023-11-21T11:23:44.613883077Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-21T11:23:44.614267361Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=377.634µs grafana | logger=migrator t=2023-11-21T11:23:44.620913356Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-21T11:23:44.622115759Z level=info msg="Migration successfully executed" id="create tag table" duration=1.202962ms grafana | logger=migrator t=2023-11-21T11:23:44.626381145Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-21T11:23:44.627847862Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.466617ms grafana | logger=migrator t=2023-11-21T11:23:44.633666386Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-21T11:23:44.634346164Z level=info msg="Migration successfully executed" id="create login attempt table" duration=679.338µs grafana | logger=migrator t=2023-11-21T11:23:44.638223647Z level=info msg="Executing migration" id="add index login_attempt.username" policy-api | [2023-11-21T11:24:14.774+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-21T11:24:14.997+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@19a7e618, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@22ccd80f, org.springframework.security.web.context.SecurityContextHolderFilter@2f29400e, org.springframework.security.web.header.HeaderWriterFilter@56d3e4a9, org.springframework.security.web.authentication.logout.LogoutFilter@ab8b1ef, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@543d242e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@547a79cd, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@25e7e6d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@31829b82, org.springframework.security.web.access.ExceptionTranslationFilter@36c6d53b, org.springframework.security.web.access.intercept.AuthorizationFilter@680f7a5e] policy-api | [2023-11-21T11:24:15.899+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-21T11:24:15.960+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-21T11:24:15.987+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-21T11:24:16.010+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.657 seconds (process running for 12.277) policy-api | [2023-11-21T11:24:19.437+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-21T11:24:19.437+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-21T11:24:19.438+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2023-11-21T11:24:22.021+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-21T11:24:22.189+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2023-11-21T11:24:22.485+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-11-21T11:24:23.748+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-11-21T11:24:26.157+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-21T11:24:26.526+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-21T11:24:26.765+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-21T11:24:27.003+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-21T11:24:27.232+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-21T11:24:27.453+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- prometheus | ts=2023-11-21T11:23:41.831Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-11-21T11:23:41.831Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" prometheus | ts=2023-11-21T11:23:41.831Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-11-21T11:23:41.831Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-11-21T11:23:41.831Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-21T11:23:41.831Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-21T11:23:41.833Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-21T11:23:41.833Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-21T11:23:41.837Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-21T11:23:41.837Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-21T11:23:41.842Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-21T11:23:41.842Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=4.11µs prometheus | ts=2023-11-21T11:23:41.842Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-21T11:23:41.843Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-21T11:23:41.843Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=74.201µs wal_replay_duration=432.954µs wbl_replay_duration=250ns total_replay_duration=669.726µs prometheus | ts=2023-11-21T11:23:41.845Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-21T11:23:41.845Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-21T11:23:41.845Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-21T11:23:41.846Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.047009ms db_storage=1.55µs remote_storage=2.47µs web_handler=770ns query_engine=1.4µs scrape=254.763µs scrape_sd=128.031µs notify=33.47µs notify_sd=12.43µs rules=2.23µs tracing=6.35µs prometheus | ts=2023-11-21T11:23:41.846Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-21T11:23:41.846Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-11-21T11:23:44.639108657Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=885.28µs grafana | logger=migrator t=2023-11-21T11:23:44.642001459Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-21T11:23:44.642894339Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=892.52µs grafana | logger=migrator t=2023-11-21T11:23:44.648011816Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-21T11:23:44.667804556Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.79226ms grafana | logger=migrator t=2023-11-21T11:23:44.670728348Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-21T11:23:44.671244544Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=515.466µs grafana | logger=migrator t=2023-11-21T11:23:44.674339419Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-21T11:23:44.675224368Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=884.239µs grafana | logger=migrator t=2023-11-21T11:23:44.682764323Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-21T11:23:44.683217328Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=449.074µs grafana | logger=migrator t=2023-11-21T11:23:44.686225831Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-21T11:23:44.687282052Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.056221ms grafana | logger=migrator t=2023-11-21T11:23:44.690486647Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-21T11:23:44.691161496Z level=info msg="Migration successfully executed" id="create user auth table" duration=675.419µs grafana | logger=migrator t=2023-11-21T11:23:44.696745848Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-21T11:23:44.697727279Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=980.511µs grafana | logger=migrator t=2023-11-21T11:23:44.700952964Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-21T11:23:44.701051305Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=101.681µs grafana | logger=migrator t=2023-11-21T11:23:44.706831799Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-21T11:23:44.713010478Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.177989ms grafana | logger=migrator t=2023-11-21T11:23:44.717455388Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-21T11:23:44.722486004Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.030086ms grafana | logger=migrator t=2023-11-21T11:23:44.728327308Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-21T11:23:44.733387655Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.060037ms grafana | logger=migrator t=2023-11-21T11:23:44.738529712Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-21T11:23:44.743473936Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.943674ms grafana | logger=migrator t=2023-11-21T11:23:44.747647253Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-21T11:23:44.748825396Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.180133ms grafana | logger=migrator t=2023-11-21T11:23:44.754714731Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-21T11:23:44.762898702Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.183161ms grafana | logger=migrator t=2023-11-21T11:23:44.768570975Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-21T11:23:44.769433485Z level=info msg="Migration successfully executed" id="create server_lock table" duration=862.15µs grafana | logger=migrator t=2023-11-21T11:23:44.774516591Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-21T11:23:44.776203291Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.685769ms grafana | logger=migrator t=2023-11-21T11:23:44.782259787Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-21T11:23:44.783772465Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.512968ms grafana | logger=migrator t=2023-11-21T11:23:44.789081444Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-21T11:23:44.791040985Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.959021ms grafana | logger=migrator t=2023-11-21T11:23:44.795288993Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-21T11:23:44.796392965Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.103312ms grafana | logger=migrator t=2023-11-21T11:23:44.829096128Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-21T11:23:44.831359413Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=2.264075ms grafana | logger=migrator t=2023-11-21T11:23:44.838756565Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-21T11:23:44.846672043Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.892718ms grafana | logger=migrator t=2023-11-21T11:23:44.851249954Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-21T11:23:44.852172954Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=922.85µs grafana | logger=migrator t=2023-11-21T11:23:44.855963576Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-21T11:23:44.857006469Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.040282ms grafana | logger=migrator t=2023-11-21T11:23:44.864192718Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-21T11:23:44.86527025Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.077052ms grafana | logger=migrator t=2023-11-21T11:23:44.869687569Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-11-21T11:23:44.871051614Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.363415ms grafana | logger=migrator t=2023-11-21T11:23:44.877403645Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-21T11:23:44.878479966Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.076411ms grafana | logger=migrator t=2023-11-21T11:23:44.884772427Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-11-21T11:23:44.884843358Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=74.641µs grafana | logger=migrator t=2023-11-21T11:23:44.889372657Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-21T11:23:44.889551159Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=179.052µs grafana | logger=migrator t=2023-11-21T11:23:44.895700119Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-21T11:23:44.897049703Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.349624ms grafana | logger=migrator t=2023-11-21T11:23:44.903486104Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-21T11:23:44.904569197Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.083023ms grafana | logger=migrator t=2023-11-21T11:23:44.911815977Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-21T11:23:44.91290642Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.090373ms grafana | logger=migrator t=2023-11-21T11:23:44.919906497Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-21T11:23:44.920001968Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=98.611µs grafana | logger=migrator t=2023-11-21T11:23:44.923942652Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-21T11:23:44.924983813Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.041621ms grafana | logger=migrator t=2023-11-21T11:23:44.929383503Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-21T11:23:44.930917729Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.534476ms grafana | logger=migrator t=2023-11-21T11:23:44.961750732Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-21T11:23:44.963491951Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.743689ms grafana | logger=migrator t=2023-11-21T11:23:44.968674579Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-21T11:23:44.969873992Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.199583ms grafana | logger=migrator t=2023-11-21T11:23:44.975805378Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-21T11:23:44.981667063Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.861725ms grafana | logger=migrator t=2023-11-21T11:23:44.98857096Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-21T11:23:44.990018626Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.447226ms grafana | logger=migrator t=2023-11-21T11:23:44.99490774Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-21T11:23:44.995055842Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=148.362µs grafana | logger=migrator t=2023-11-21T11:23:45.003762868Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-21T11:23:45.00472397Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=960.032µs grafana | logger=migrator t=2023-11-21T11:23:45.010577239Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2023-11-21T11:23:45.012168637Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.590728ms grafana | logger=migrator t=2023-11-21T11:23:45.017557369Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2023-11-21T11:23:45.022295554Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=4.736925ms grafana | logger=migrator t=2023-11-21T11:23:45.030067394Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-21T11:23:45.030128795Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=62.111µs grafana | logger=migrator t=2023-11-21T11:23:45.034336283Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-21T11:23:45.035058001Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=721.098µs grafana | logger=migrator t=2023-11-21T11:23:45.039123099Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-21T11:23:45.04009119Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=967.911µs grafana | logger=migrator t=2023-11-21T11:23:45.043806102Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2023-11-21T11:23:45.04529977Z 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.488298ms grafana | logger=migrator t=2023-11-21T11:23:45.049064493Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-11-21T11:23:45.050221387Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.156184ms grafana | logger=migrator t=2023-11-21T11:23:45.054698848Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-21T11:23:45.060579806Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.880368ms grafana | logger=migrator t=2023-11-21T11:23:45.064991418Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-21T11:23:45.066008069Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.016011ms grafana | logger=migrator t=2023-11-21T11:23:45.069910315Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-21T11:23:45.071327421Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.415456ms grafana | logger=migrator t=2023-11-21T11:23:45.07549181Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-21T11:23:45.114625924Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=39.134974ms grafana | logger=migrator t=2023-11-21T11:23:45.118747982Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-21T11:23:45.154599568Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.850326ms grafana | logger=migrator t=2023-11-21T11:23:45.159352424Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-21T11:23:45.160390355Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.037751ms grafana | logger=migrator t=2023-11-21T11:23:45.167069153Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-21T11:23:45.168104205Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.034722ms grafana | logger=migrator t=2023-11-21T11:23:45.172216602Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-21T11:23:45.177834878Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.618136ms grafana | logger=migrator t=2023-11-21T11:23:45.183047058Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-21T11:23:45.18394756Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=900.452µs grafana | logger=migrator t=2023-11-21T11:23:45.189703826Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-21T11:23:45.190777418Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.071202ms grafana | logger=migrator t=2023-11-21T11:23:45.195321821Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-21T11:23:45.19699107Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.669709ms grafana | logger=migrator t=2023-11-21T11:23:45.202923739Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-11-21T11:23:45.204127774Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.203825ms grafana | logger=migrator t=2023-11-21T11:23:45.209482506Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-21T11:23:45.209579537Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=95.191µs grafana | logger=migrator t=2023-11-21T11:23:45.213784546Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-21T11:23:45.219772215Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.98742ms grafana | logger=migrator t=2023-11-21T11:23:45.223901053Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-21T11:23:45.229733531Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.831918ms grafana | logger=migrator t=2023-11-21T11:23:45.234333804Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-21T11:23:45.240299314Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.96631ms grafana | logger=migrator t=2023-11-21T11:23:45.245095529Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-21T11:23:45.246107951Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.012222ms grafana | logger=migrator t=2023-11-21T11:23:45.251809527Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-11-21T11:23:45.25382083Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=2.010833ms grafana | logger=migrator t=2023-11-21T11:23:45.259138212Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-21T11:23:45.265424756Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.284403ms grafana | logger=migrator t=2023-11-21T11:23:45.270236251Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-21T11:23:45.276417973Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.181532ms grafana | logger=migrator t=2023-11-21T11:23:45.281681624Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2023-11-21T11:23:45.282739927Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.056872ms grafana | logger=migrator t=2023-11-21T11:23:45.287363269Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-21T11:23:45.29332521Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.961611ms grafana | logger=migrator t=2023-11-21T11:23:45.297483007Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-21T11:23:45.303403756Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.920139ms grafana | logger=migrator t=2023-11-21T11:23:45.307592865Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-21T11:23:45.307690446Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=98.151µs grafana | logger=migrator t=2023-11-21T11:23:45.311725763Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-11-21T11:23:45.313069839Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.342606ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-21T11:23:45.316990544Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2023-11-21T11:23:45.318913516Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.922142ms grafana | logger=migrator t=2023-11-21T11:23:45.357393963Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2023-11-21T11:23:45.359237665Z 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.841991ms grafana | logger=migrator t=2023-11-21T11:23:45.362543293Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-21T11:23:45.362607453Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=64.83µs grafana | logger=migrator t=2023-11-21T11:23:45.370142071Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-21T11:23:45.380034697Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.890084ms grafana | logger=migrator t=2023-11-21T11:23:45.3838067Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-21T11:23:45.38815712Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.34986ms grafana | logger=migrator t=2023-11-21T11:23:45.391676781Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-21T11:23:45.397807183Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.129442ms grafana | logger=migrator t=2023-11-21T11:23:45.40190409Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-21T11:23:45.408063852Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.158842ms grafana | logger=migrator t=2023-11-21T11:23:45.412351111Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-21T11:23:45.418524583Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.172442ms grafana | logger=migrator t=2023-11-21T11:23:45.422165396Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-21T11:23:45.422228596Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=63.83µs grafana | logger=migrator t=2023-11-21T11:23:45.426668957Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-21T11:23:45.427341655Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=672.478µs grafana | logger=migrator t=2023-11-21T11:23:45.433246513Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-21T11:23:45.440622749Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=7.376776ms grafana | logger=migrator t=2023-11-21T11:23:45.44495002Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-21T11:23:45.445012591Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=62.861µs grafana | logger=migrator t=2023-11-21T11:23:45.449185519Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-21T11:23:45.455382511Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.196262ms grafana | logger=migrator t=2023-11-21T11:23:45.459313047Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-21T11:23:45.460414179Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.100762ms grafana | logger=migrator t=2023-11-21T11:23:45.465725411Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-21T11:23:45.476273924Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=10.542933ms grafana | logger=migrator t=2023-11-21T11:23:45.4794396Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-21T11:23:45.480053677Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=613.947µs grafana | logger=migrator t=2023-11-21T11:23:45.482990581Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-21T11:23:45.483816261Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=825.04µs grafana | logger=migrator t=2023-11-21T11:23:45.486649414Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-21T11:23:45.493016118Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.365504ms grafana | logger=migrator t=2023-11-21T11:23:45.496097364Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-21T11:23:45.496924073Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=828.849µs grafana | logger=migrator t=2023-11-21T11:23:45.500017769Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-21T11:23:45.501123083Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.105164ms grafana | logger=migrator t=2023-11-21T11:23:45.505732695Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-21T11:23:45.506571426Z level=info msg="Migration successfully executed" id="create alert_image table" duration=838.191µs grafana | logger=migrator t=2023-11-21T11:23:45.509859904Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-21T11:23:45.511223809Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.362856ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-21T11:23:45.514830272Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-21T11:23:45.514933933Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=104.231µs grafana | logger=migrator t=2023-11-21T11:23:45.519500185Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-21T11:23:45.520396006Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=895.721µs grafana | logger=migrator t=2023-11-21T11:23:45.523961697Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-11-21T11:23:45.525030889Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.069262ms grafana | logger=migrator t=2023-11-21T11:23:45.529223568Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-21T11:23:45.529754434Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-21T11:23:45.533088713Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-21T11:23:45.533609699Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=520.396µs grafana | logger=migrator t=2023-11-21T11:23:45.537028319Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-21T11:23:45.538559437Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.529698ms grafana | logger=migrator t=2023-11-21T11:23:45.542110408Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-21T11:23:45.550968401Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.858163ms grafana | logger=migrator t=2023-11-21T11:23:45.55519319Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-21T11:23:45.556045289Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=851.689µs grafana | logger=migrator t=2023-11-21T11:23:45.562074679Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-21T11:23:45.565725042Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=3.651003ms grafana | logger=migrator t=2023-11-21T11:23:45.569590607Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-21T11:23:45.570343296Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=750.599µs grafana | logger=migrator t=2023-11-21T11:23:45.574716357Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-21T11:23:45.57593572Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.218863ms grafana | logger=migrator t=2023-11-21T11:23:45.581484435Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-21T11:23:45.582559478Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.073873ms grafana | logger=migrator t=2023-11-21T11:23:45.586049288Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-21T11:23:45.586070898Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=22.11µs grafana | logger=migrator t=2023-11-21T11:23:45.590066295Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-21T11:23:45.590129485Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=64.03µs grafana | logger=migrator t=2023-11-21T11:23:45.593554116Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-21T11:23:45.59393782Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=386.114µs grafana | logger=migrator t=2023-11-21T11:23:45.597169137Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-21T11:23:45.598123608Z level=info msg="Migration successfully executed" id="create data_keys table" duration=957.681µs grafana | logger=migrator t=2023-11-21T11:23:45.60347723Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-21T11:23:45.604353311Z level=info msg="Migration successfully executed" id="create secrets table" duration=871.021µs grafana | logger=migrator t=2023-11-21T11:23:45.609190617Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-21T11:23:45.659501001Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=50.283794ms grafana | logger=migrator t=2023-11-21T11:23:45.663284186Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-21T11:23:45.67060316Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.319055ms grafana | logger=migrator t=2023-11-21T11:23:45.673745776Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-21T11:23:45.673863117Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=118.001µs grafana | logger=migrator t=2023-11-21T11:23:45.684620403Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-21T11:23:45.732872473Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=48.248ms grafana | logger=migrator t=2023-11-21T11:23:45.779678587Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-21T11:23:45.831509529Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=51.831992ms grafana | logger=migrator t=2023-11-21T11:23:45.834677766Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-21T11:23:45.835240202Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=562.446µs grafana | logger=migrator t=2023-11-21T11:23:45.839908457Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-21T11:23:45.840680345Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=771.928µs grafana | logger=migrator t=2023-11-21T11:23:45.843771591Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-21T11:23:45.844153805Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=382.644µs grafana | logger=migrator t=2023-11-21T11:23:45.84715489Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-21T11:23:45.848391495Z level=info msg="Migration successfully executed" id="create permission table" duration=1.236215ms grafana | logger=migrator t=2023-11-21T11:23:45.85485908Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-21T11:23:45.855910532Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.050782ms policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-21T11:23:45.859737867Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-21T11:23:45.861472186Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.733349ms grafana | logger=migrator t=2023-11-21T11:23:45.865505584Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-21T11:23:45.866833899Z level=info msg="Migration successfully executed" id="create role table" duration=1.327675ms grafana | logger=migrator t=2023-11-21T11:23:45.870542502Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-21T11:23:45.87816437Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.621308ms grafana | logger=migrator t=2023-11-21T11:23:45.883220039Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-21T11:23:45.890682856Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.462147ms grafana | logger=migrator t=2023-11-21T11:23:45.893955714Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-21T11:23:45.895042996Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.086442ms grafana | logger=migrator t=2023-11-21T11:23:45.90053969Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-21T11:23:45.901694144Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.154214ms grafana | logger=migrator t=2023-11-21T11:23:45.905989583Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-21T11:23:45.907174148Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.184085ms grafana | logger=migrator t=2023-11-21T11:23:45.911357066Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-21T11:23:45.912138965Z level=info msg="Migration successfully executed" id="create team role table" duration=782.039µs grafana | logger=migrator t=2023-11-21T11:23:45.915082379Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-21T11:23:45.916223203Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.142554ms grafana | logger=migrator t=2023-11-21T11:23:45.923783571Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-21T11:23:45.925811193Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=2.026963ms grafana | logger=migrator t=2023-11-21T11:23:45.930214325Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-21T11:23:45.931316677Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.099402ms grafana | logger=migrator t=2023-11-21T11:23:45.936778711Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-21T11:23:45.937561111Z level=info msg="Migration successfully executed" id="create user role table" duration=781.94µs grafana | logger=migrator t=2023-11-21T11:23:45.940790498Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-21T11:23:45.941885591Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.094132ms grafana | logger=migrator t=2023-11-21T11:23:45.946170821Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-21T11:23:45.947274353Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.100442ms grafana | logger=migrator t=2023-11-21T11:23:45.951144567Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-21T11:23:45.952272061Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.127424ms grafana | logger=migrator t=2023-11-21T11:23:45.958131519Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-21T11:23:45.958942528Z level=info msg="Migration successfully executed" id="create builtin role table" duration=810.209µs grafana | logger=migrator t=2023-11-21T11:23:45.961736131Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-21T11:23:45.962837334Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.100223ms grafana | logger=migrator t=2023-11-21T11:23:45.965721768Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-21T11:23:45.96680856Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.086102ms grafana | logger=migrator t=2023-11-21T11:23:45.971674077Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-21T11:23:45.979567438Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.893071ms grafana | logger=migrator t=2023-11-21T11:23:45.982295269Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-21T11:23:45.983447243Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.152864ms grafana | logger=migrator t=2023-11-21T11:23:45.986153995Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-21T11:23:45.987328128Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.173743ms grafana | logger=migrator t=2023-11-21T11:23:45.991993302Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-21T11:23:45.993091895Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.098243ms grafana | logger=migrator t=2023-11-21T11:23:45.99611316Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-21T11:23:45.997215953Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.101753ms grafana | logger=migrator t=2023-11-21T11:23:46.000034666Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-21T11:23:46.000801264Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=765.638µs grafana | logger=migrator t=2023-11-21T11:23:46.005371178Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-21T11:23:46.006534537Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.165479ms grafana | logger=migrator t=2023-11-21T11:23:46.009664832Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-21T11:23:46.017674288Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.009076ms grafana | logger=migrator t=2023-11-21T11:23:46.020678883Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-21T11:23:46.026543221Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.862038ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-21T11:23:46.03127141Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-11-21T11:23:46.039265866Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.964666ms grafana | logger=migrator t=2023-11-21T11:23:46.04209679Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-21T11:23:46.049844354Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.746494ms grafana | logger=migrator t=2023-11-21T11:23:46.053979267Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-21T11:23:46.054789464Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=810.386µs grafana | logger=migrator t=2023-11-21T11:23:46.059907096Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-21T11:23:46.061323518Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.415542ms grafana | logger=migrator t=2023-11-21T11:23:46.064587155Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-21T11:23:46.06642495Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.837035ms grafana | logger=migrator t=2023-11-21T11:23:46.069896188Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-21T11:23:46.069985459Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=90.201µs grafana | logger=migrator t=2023-11-21T11:23:46.074587836Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-21T11:23:46.074625077Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=37.581µs grafana | logger=migrator t=2023-11-21T11:23:46.077919164Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-21T11:23:46.078752951Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=834.117µs grafana | logger=migrator t=2023-11-21T11:23:46.082158589Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-21T11:23:46.083317959Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.16073ms grafana | logger=migrator t=2023-11-21T11:23:46.086448965Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-21T11:23:46.08713905Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=690.215µs grafana | logger=migrator t=2023-11-21T11:23:46.092045281Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-21T11:23:46.092264072Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=218.481µs grafana | logger=migrator t=2023-11-21T11:23:46.095573759Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-21T11:23:46.096128734Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=555.385µs grafana | logger=migrator t=2023-11-21T11:23:46.099614952Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-21T11:23:46.100897073Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.281471ms grafana | logger=migrator t=2023-11-21T11:23:46.104984276Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-21T11:23:46.106137256Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.15275ms grafana | logger=migrator t=2023-11-21T11:23:46.11140344Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-21T11:23:46.119994401Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.59016ms grafana | logger=migrator t=2023-11-21T11:23:46.123130426Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-21T11:23:46.123221697Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=91.141µs grafana | logger=migrator t=2023-11-21T11:23:46.125508866Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-21T11:23:46.126170941Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=661.795µs grafana | logger=migrator t=2023-11-21T11:23:46.131171662Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-21T11:23:46.132389442Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.21763ms grafana | logger=migrator t=2023-11-21T11:23:46.13695445Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-21T11:23:46.138095279Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.138529ms grafana | logger=migrator t=2023-11-21T11:23:46.141014043Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-21T11:23:46.14916022Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.145617ms grafana | logger=migrator t=2023-11-21T11:23:46.175216312Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-21T11:23:46.177010437Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.794355ms grafana | logger=migrator t=2023-11-21T11:23:46.180515786Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-21T11:23:46.18222395Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.711804ms grafana | logger=migrator t=2023-11-21T11:23:46.186626845Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-21T11:23:46.218226534Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.599299ms grafana | logger=migrator t=2023-11-21T11:23:46.221668252Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-21T11:23:46.222356738Z level=info msg="Migration successfully executed" id="create correlation v2" duration=688.185µs grafana | logger=migrator t=2023-11-21T11:23:46.225651684Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-21T11:23:46.226857215Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.205321ms grafana | logger=migrator t=2023-11-21T11:23:46.231037908Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-21T11:23:46.232274729Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.236231ms policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-21T11:23:46.235779347Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-21T11:23:46.236992587Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.21262ms grafana | logger=migrator t=2023-11-21T11:23:46.240448096Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-21T11:23:46.240738428Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=289.832µs grafana | logger=migrator t=2023-11-21T11:23:46.244856791Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-21T11:23:46.245681879Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=825.078µs grafana | logger=migrator t=2023-11-21T11:23:46.249048196Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-21T11:23:46.257704096Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.65528ms grafana | logger=migrator t=2023-11-21T11:23:46.261074754Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-21T11:23:46.261667418Z level=info msg="Migration successfully executed" id="create entity_events table" duration=592.294µs grafana | logger=migrator t=2023-11-21T11:23:46.265595341Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-21T11:23:46.266306117Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=707.405µs grafana | logger=migrator t=2023-11-21T11:23:46.269563483Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-21T11:23:46.270107037Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-21T11:23:46.273127662Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-21T11:23:46.273613936Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-21T11:23:46.277902971Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-21T11:23:46.278712348Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=810.297µs grafana | logger=migrator t=2023-11-21T11:23:46.282008334Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-21T11:23:46.282926412Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=917.548µs grafana | logger=migrator t=2023-11-21T11:23:46.287183817Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-21T11:23:46.288384017Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.19992ms grafana | logger=migrator t=2023-11-21T11:23:46.291548703Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-21T11:23:46.292744732Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.195399ms grafana | logger=migrator t=2023-11-21T11:23:46.296912697Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-21T11:23:46.298064955Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.154759ms grafana | logger=migrator t=2023-11-21T11:23:46.301716126Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-21T11:23:46.302816365Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.099769ms grafana | logger=migrator t=2023-11-21T11:23:46.306881447Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-21T11:23:46.307719845Z level=info msg="Migration successfully executed" id="Drop public config table" duration=837.938µs grafana | logger=migrator t=2023-11-21T11:23:46.310195875Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-21T11:23:46.311228223Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.032008ms grafana | logger=migrator t=2023-11-21T11:23:46.315179985Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-21T11:23:46.316386906Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.206501ms grafana | logger=migrator t=2023-11-21T11:23:46.319468191Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-21T11:23:46.32065313Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.184689ms grafana | logger=migrator t=2023-11-21T11:23:46.324466352Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-21T11:23:46.325602261Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.136489ms grafana | logger=migrator t=2023-11-21T11:23:46.328765346Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-21T11:23:46.36100683Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.240424ms grafana | logger=migrator t=2023-11-21T11:23:46.364259556Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-21T11:23:46.372767316Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.50695ms grafana | logger=migrator t=2023-11-21T11:23:46.376775568Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-21T11:23:46.382952019Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.173391ms grafana | logger=migrator t=2023-11-21T11:23:46.386004054Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-21T11:23:46.386217746Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=213.952µs grafana | logger=migrator t=2023-11-21T11:23:46.38921043Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-21T11:23:46.397605058Z level=info msg="Migration successfully executed" id="add share column" duration=8.394198ms grafana | logger=migrator t=2023-11-21T11:23:46.400761924Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-21T11:23:46.400998846Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=237.052µs 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 grafana | logger=migrator t=2023-11-21T11:23:46.404991788Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-21T11:23:46.405837896Z level=info msg="Migration successfully executed" id="create file table" duration=846.198µs grafana | logger=migrator t=2023-11-21T11:23:46.409534066Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-21T11:23:46.411458132Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.923856ms grafana | logger=migrator t=2023-11-21T11:23:46.41499551Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-21T11:23:46.416905566Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.909056ms grafana | logger=migrator t=2023-11-21T11:23:46.42110926Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-21T11:23:46.421863566Z level=info msg="Migration successfully executed" id="create file_meta table" duration=753.946µs grafana | logger=migrator t=2023-11-21T11:23:46.424906941Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-21T11:23:46.426108241Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.19959ms grafana | logger=migrator t=2023-11-21T11:23:46.431006961Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-21T11:23:46.431093292Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=86.021µs grafana | logger=migrator t=2023-11-21T11:23:46.435120115Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-21T11:23:46.435192785Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=74.241µs grafana | logger=migrator t=2023-11-21T11:23:46.437856697Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-21T11:23:46.438805604Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=949.257µs grafana | logger=migrator t=2023-11-21T11:23:46.442366634Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-21T11:23:46.442769877Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=403.273µs grafana | logger=migrator t=2023-11-21T11:23:46.446176585Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-21T11:23:46.447638127Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.458262ms grafana | logger=migrator t=2023-11-21T11:23:46.451868871Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-21T11:23:46.460677133Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.809772ms grafana | logger=migrator t=2023-11-21T11:23:46.464147801Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-21T11:23:46.464328474Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=180.453µs grafana | logger=migrator t=2023-11-21T11:23:46.467417009Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-21T11:23:46.468577238Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.159769ms grafana | logger=migrator t=2023-11-21T11:23:46.472030306Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-21T11:23:46.472464479Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=434.623µs grafana | logger=migrator t=2023-11-21T11:23:46.476473202Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-21T11:23:46.476729474Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=255.942µs grafana | logger=migrator t=2023-11-21T11:23:46.480030771Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-21T11:23:46.480536635Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=505.754µs grafana | logger=migrator t=2023-11-21T11:23:46.483934784Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-21T11:23:46.492631734Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.69602ms grafana | logger=migrator t=2023-11-21T11:23:46.496432405Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-21T11:23:46.506065313Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=9.632158ms grafana | logger=migrator t=2023-11-21T11:23:46.509586693Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-21T11:23:46.511404047Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.816284ms grafana | logger=migrator t=2023-11-21T11:23:46.516229527Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-21T11:23:46.63051508Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=114.280703ms grafana | logger=migrator t=2023-11-21T11:23:46.636081445Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-21T11:23:46.637334835Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.25224ms grafana | logger=migrator t=2023-11-21T11:23:46.640958685Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-21T11:23:46.642205215Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.24608ms grafana | logger=migrator t=2023-11-21T11:23:46.645440941Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-21T11:23:46.679172277Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=33.730926ms grafana | logger=migrator t=2023-11-21T11:23:46.683523403Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-21T11:23:46.683703374Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=180.741µs grafana | logger=migrator t=2023-11-21T11:23:46.685978543Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-21T11:23:46.686133654Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=154.681µs grafana | logger=migrator t=2023-11-21T11:23:46.689177299Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-21T11:23:46.68934294Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=165.171µs grafana | logger=migrator t=2023-11-21T11:23:46.69310065Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-21T11:23:46.693771585Z level=info msg="Migration successfully executed" id="create folder table" duration=670.735µs grafana | logger=migrator t=2023-11-21T11:23:46.697474977Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-21T11:23:46.698363934Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=888.387µs grafana | logger=migrator t=2023-11-21T11:23:46.701259367Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-21T11:23:46.702130104Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=870.247µs grafana | logger=migrator t=2023-11-21T11:23:46.707054644Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-21T11:23:46.707078985Z level=info msg="Migration successfully executed" id="Update folder title length" duration=25.161µs grafana | logger=migrator t=2023-11-21T11:23:46.709552015Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-21T11:23:46.710414951Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=862.596µs grafana | logger=migrator t=2023-11-21T11:23:46.713412976Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-21T11:23:46.714188313Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=775.087µs grafana | logger=migrator t=2023-11-21T11:23:46.718269146Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-21T11:23:46.720116311Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.846495ms grafana | logger=migrator t=2023-11-21T11:23:46.72366164Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-21T11:23:46.724568987Z level=info msg="Migration successfully executed" id="create anon_device table" duration=906.887µs grafana | logger=migrator t=2023-11-21T11:23:46.727844864Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-21T11:23:46.729021314Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.169749ms grafana | logger=migrator t=2023-11-21T11:23:46.732978346Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-21T11:23:46.734089065Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.104649ms grafana | logger=migrator t=2023-11-21T11:23:46.737037799Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-21T11:23:46.737872496Z level=info msg="Migration successfully executed" id="create signing_key table" duration=837.097µs grafana | logger=migrator t=2023-11-21T11:23:46.74085411Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-21T11:23:46.74196739Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.11309ms grafana | logger=migrator t=2023-11-21T11:23:46.745864841Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-21T11:23:46.74698234Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.117249ms grafana | logger=migrator t=2023-11-21T11:23:46.749867883Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-21T11:23:46.750135777Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=268.634µs grafana | logger=migrator t=2023-11-21T11:23:46.753115781Z level=info msg="migrations completed" performed=517 skipped=0 duration=3.885898827s grafana | logger=sqlstore t=2023-11-21T11:23:46.762097604Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-21T11:23:46.762374006Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-21T11:23:46.766677291Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-21T11:23:46.839217023Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-21T11:23:46.842236547Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-21T11:23:46.846952376Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-21T11:23:49.297611871Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-21T11:23:49.300025368Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-21T11:23:49.315494207Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-21T11:23:49.315513137Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-11-21T11:23:49.315878371Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2023-11-21T11:23:49.317008974Z level=info msg="Storage starting" grafana | logger=http.server t=2023-11-21T11:23:49.321784867Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=sqlstore.transactions t=2023-11-21T11:23:49.333128811Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=ngalert.migration t=2023-11-21T11:23:49.339564272Z level=info msg=Starting grafana | logger=ngalert.state.manager t=2023-11-21T11:23:49.340184998Z level=info msg="State cache has been initialized" states=0 duration=24.309517ms grafana | logger=ngalert.scheduler t=2023-11-21T11:23:49.340219489Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-21T11:23:49.340258309Z level=info msg=starting first_tick=2023-11-21T11:23:50Z grafana | logger=ngalert.multiorg.alertmanager t=2023-11-21T11:23:49.340271929Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.migration t=2023-11-21T11:23:49.340322Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-21T11:23:49.340621123Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-21T11:23:49.341244981Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-21T11:23:49.341882537Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-21T11:23:49.344195573Z level=info msg="Completed legacy migration" grafana | logger=plugins.update.checker t=2023-11-21T11:23:49.400702873Z level=info msg="Update check succeeded" duration=84.809582ms grafana | logger=sqlstore.transactions t=2023-11-21T11:23:49.428172525Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2023-11-21T11:23:49.561317575Z level=info msg="Update check succeeded" duration=245.400163ms grafana | logger=infra.usagestats t=2023-11-21T11:24:20.329296779Z level=info msg="Usage stats are ready to report" 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 | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:51 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:52 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:53 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:53 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:53 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:53 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:53 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:53 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:54 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:54 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:54 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:54 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:54 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:54 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:54 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:54 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:55 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:55 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:55 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:55 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:55 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:56 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:56 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:56 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:56 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:56 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:57 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:57 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:57 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:57 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:57 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:58 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:58 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:58 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:58 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:58 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:58 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:58 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:58 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:58 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:58 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:58 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:59 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:59 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:59 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:59 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:59 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:59 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:59 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:59 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:59 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:59 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:59 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2111231123510800u 1 2023-11-21 11:23:59 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:23:59 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:23:59 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:23:59 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:23:59 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:23:59 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:24:00 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:24:00 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:24:00 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:24:00 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:24:00 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:24:00 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:24:00 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2111231123510900u 1 2023-11-21 11:24:01 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2111231123511000u 1 2023-11-21 11:24:01 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2111231123511000u 1 2023-11-21 11:24:01 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2111231123511000u 1 2023-11-21 11:24:01 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2111231123511000u 1 2023-11-21 11:24:02 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2111231123511000u 1 2023-11-21 11:24:02 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2111231123511000u 1 2023-11-21 11:24:02 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2111231123511000u 1 2023-11-21 11:24:02 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2111231123511000u 1 2023-11-21 11:24:02 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2111231123511000u 1 2023-11-21 11:24:02 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2111231123511100u 1 2023-11-21 11:24:02 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2111231123511200u 1 2023-11-21 11:24:02 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2111231123511200u 1 2023-11-21 11:24:02 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2111231123511200u 1 2023-11-21 11:24:03 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2111231123511200u 1 2023-11-21 11:24:03 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2111231123511300u 1 2023-11-21 11:24:03 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2111231123511300u 1 2023-11-21 11:24:03 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2111231123511300u 1 2023-11-21 11:24:03 policy-db-migrator | policyadmin: OK @ 1300 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing policy-db-migrator ... done Removing policy-api ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-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.wCRQ42lS9U ]] + rsync -av /tmp/tmp.wCRQ42lS9U/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,344,577 bytes received 95 bytes 2,689,344.00 bytes/sec total size is 1,343,928 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2093 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-master-project-csit-api] $ /bin/bash /tmp/jenkins5883758100717324285.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins3366769209099690096.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-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-master-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-master-project-csit-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins9043504872331954235.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hLQx from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-hLQx/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14997018585944800029.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config3483128251425776577tmp 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-master-project-csit-api] $ /bin/bash /tmp/jenkins17731945900515659539.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2447149184776960572.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hLQx from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-hLQx/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins3988907530198948174.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins6624900967607016018.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hLQx 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-hLQx/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins6327179790357030963.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hLQx from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-hLQx/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1425 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-2453 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 842 27304 0 4020 30868 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:0b:86:b0 brd ff:ff:ff:ff:ff:ff inet 10.30.106.113/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86035sec preferred_lft 86035sec inet6 fe80::f816:3eff:fe0b:86b0/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:a8:fb:2a:11 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-2453) 11/21/23 _x86_64_ (8 CPU) 11:20:32 LINUX RESTART (8 CPU) 11:21:02 tps rtps wtps bread/s bwrtn/s 11:22:01 110.20 44.77 65.42 1981.64 26748.57 11:23:01 120.26 13.80 106.47 1117.55 32869.46 11:24:01 384.26 21.51 362.75 2446.72 84473.34 11:25:01 33.73 0.43 33.29 35.99 20094.32 11:26:01 46.13 1.38 44.74 110.65 22210.48 Average: 139.02 16.29 122.73 1135.79 37315.32 11:21:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:22:01 30147732 31712744 2791488 8.47 66960 1810132 1401400 4.12 865380 1645320 156540 11:23:01 29796176 31705608 3143044 9.54 84480 2120848 1409572 4.15 882456 1944364 137696 11:24:01 27775560 31453816 5163660 15.68 126768 3774072 3335816 9.81 1266544 3451644 1928 11:25:01 26953948 30634684 5985272 18.17 127320 3775848 4203428 12.37 2118264 3420436 164 11:26:01 27989408 31631204 4949812 15.03 129316 3744840 1455612 4.28 1151912 3376800 45224 Average: 28532565 31427611 4406655 13.38 106969 3045148 2361166 6.95 1256911 2767713 68310 11:21:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 lo 1.29 1.29 0.14 0.14 0.00 0.00 0.00 0.00 11:22:01 ens3 239.47 151.06 1315.76 46.71 0.00 0.00 0.00 0.00 11:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 11:23:01 ens3 53.72 36.39 892.35 7.17 0.00 0.00 0.00 0.00 11:24:01 veth523a7e6 32.44 26.62 3.85 2.39 0.00 0.00 0.00 0.00 11:24:01 vethac2c5c0 0.00 0.30 0.00 0.02 0.00 0.00 0.00 0.00 11:24:01 veth3eaf52d 0.47 0.58 0.03 0.04 0.00 0.00 0.00 0.00 11:24:01 veth55c934b 0.48 0.72 0.06 0.31 0.00 0.00 0.00 0.00 11:25:01 vethac2c5c0 0.22 0.23 0.02 0.77 0.00 0.00 0.00 0.00 11:25:01 veth3eaf52d 124.48 105.33 41.36 113.93 0.00 0.00 0.00 0.01 11:25:01 veth55c934b 0.13 0.18 0.01 0.01 0.00 0.00 0.00 0.00 11:25:01 br-57742a4e601e 3.65 4.15 6.17 2.53 0.00 0.00 0.00 0.00 11:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:26:01 lo 31.41 31.41 10.42 10.42 0.00 0.00 0.00 0.00 11:26:01 ens3 735.34 483.29 11890.36 103.43 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.53 5.53 2.02 2.02 0.00 0.00 0.00 0.00 Average: ens3 133.74 84.82 2328.02 18.37 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2453) 11/21/23 _x86_64_ (8 CPU) 11:20:32 LINUX RESTART (8 CPU) 11:21:02 CPU %user %nice %system %iowait %steal %idle 11:22:01 all 11.25 0.00 0.92 2.39 0.03 85.41 11:22:01 0 8.12 0.00 0.71 7.70 0.03 83.43 11:22:01 1 28.83 0.00 1.92 0.58 0.05 68.61 11:22:01 2 5.30 0.00 0.71 0.19 0.02 93.78 11:22:01 3 2.38 0.00 0.61 0.32 0.02 96.67 11:22:01 4 4.54 0.00 0.41 0.20 0.02 94.83 11:22:01 5 5.27 0.00 0.61 7.83 0.03 86.25 11:22:01 6 3.18 0.00 0.32 0.31 0.03 96.16 11:22:01 7 32.40 0.00 2.05 2.00 0.05 63.49 11:23:01 all 8.87 0.00 0.69 4.13 0.03 86.29 11:23:01 0 8.87 0.00 0.67 1.25 0.02 89.20 11:23:01 1 5.08 0.00 0.52 2.37 0.02 92.02 11:23:01 2 0.97 0.00 0.22 0.58 0.02 98.21 11:23:01 3 6.63 0.00 0.75 13.74 0.02 78.86 11:23:01 4 19.78 0.00 0.93 0.98 0.03 78.27 11:23:01 5 6.49 0.00 0.73 4.78 0.03 87.96 11:23:01 6 1.50 0.00 0.53 7.15 0.05 90.76 11:23:01 7 21.66 0.00 1.22 2.17 0.07 74.88 11:24:01 all 9.36 0.00 3.81 6.45 0.08 80.30 11:24:01 0 9.50 0.00 3.77 2.93 0.08 83.71 11:24:01 1 9.39 0.00 3.66 1.42 0.05 85.48 11:24:01 2 9.73 0.00 3.07 5.69 0.05 81.46 11:24:01 3 6.79 0.00 3.40 14.92 0.07 74.82 11:24:01 4 9.53 0.00 4.09 1.94 0.07 84.37 11:24:01 5 11.37 0.00 3.96 1.15 0.08 83.44 11:24:01 6 8.61 0.00 4.81 20.88 0.08 65.61 11:24:01 7 9.96 0.00 3.67 2.77 0.08 83.52 11:25:01 all 14.49 0.00 1.38 1.45 0.05 82.63 11:25:01 0 20.54 0.00 1.87 0.05 0.08 77.45 11:25:01 1 15.95 0.00 1.32 0.18 0.05 82.50 11:25:01 2 9.36 0.00 0.81 0.00 0.03 89.80 11:25:01 3 15.85 0.00 1.62 0.40 0.05 82.08 11:25:01 4 15.59 0.00 1.37 0.03 0.03 82.98 11:25:01 5 15.33 0.00 1.27 0.00 0.03 83.37 11:25:01 6 12.94 0.00 1.36 8.17 0.08 77.44 11:25:01 7 10.39 0.00 1.46 2.76 0.05 85.35 11:26:01 all 3.69 0.00 0.51 1.61 0.02 94.16 11:26:01 0 0.55 0.00 0.52 0.03 0.03 98.87 11:26:01 1 0.72 0.00 0.37 3.65 0.00 95.27 11:26:01 2 2.60 0.00 0.30 0.21 0.02 96.88 11:26:01 3 1.65 0.00 0.62 0.13 0.02 97.58 11:26:01 4 1.29 0.00 0.40 0.40 0.02 97.90 11:26:01 5 17.84 0.00 0.93 1.13 0.03 80.06 11:26:01 6 3.67 0.00 0.55 4.53 0.03 91.21 11:26:01 7 1.23 0.00 0.45 2.82 0.02 95.48 Average: all 9.52 0.00 1.46 3.20 0.04 85.77 Average: 0 9.52 0.00 1.51 2.37 0.05 86.55 Average: 1 11.93 0.00 1.55 1.64 0.03 84.84 Average: 2 5.58 0.00 1.02 1.32 0.03 92.06 Average: 3 6.67 0.00 1.40 5.90 0.03 85.99 Average: 4 10.17 0.00 1.44 0.71 0.03 87.65 Average: 5 11.28 0.00 1.50 2.97 0.04 84.21 Average: 6 5.97 0.00 1.51 8.20 0.06 84.26 Average: 7 15.08 0.00 1.76 2.51 0.05 80.59